{
  "timestamp": "2026-11-19T09:33:56",
  "compiler": {
    "name": "@stencil/core",
    "version": "4.45.4",
    "typescriptVersion": "5.8.3"
  },
  "storybook": "https://magma-design-system.github.io/magma/storybook/",
  "studio": "https://magma-design-system.github.io/magma/studio/",
  "components": [
    {
      "filePath": "src/components/mds-book/mds-book.tsx",
      "encapsulation": "shadow",
      "tag": "mds-book",
      "docs": "",
      "docsTags": [
        {
          "name": "part",
          "text": "cover - The native `<img>` that shows the front cover"
        },
        {
          "name": "category",
          "text": "content"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-book>` web component shows a book as a physical object, from the image of its front cover alone: front cover, spine and page block drawn in CSS 3D, turned a little so the spine shows. It is the catalogue and product-page counterpart of `<mds-img>`, for publications rather than pictures.\n\n#### Semantic Behavior\n\n- **One image of the book**: The host is a single `role=\"img\"` named by `alt`, or by `name` and `author` (\"Title by Author\", localised in el/en/es/it), or by a generic \"Book\" when there is neither. An empty `alt` marks the book as decorative (`role=\"presentation\"`). The text printed on the spine and on a drawn cover is hidden from assistive technologies, since it repeats that name.\n- **The sides come from the cover**: The spine continues the left edge of the cover image and the board edges its top and right edges, as a wraparound cover prints its design on, so no spine or back cover image is needed. Without an image they take the colour of the drawn cover.\n- **A drawn cover instead of a broken image**: Without `src`, or when the image fails to load, the front shows the author, the title and the publisher, or its mark, on `--mds-book-color`, which paints the drawn cover only. A new `src` tries again.\n- **Printed on paper**: A book with `src` is bound in the colour of paper, the same in light and dark mode, as the image is: a blank book until its image arrives, then the paper wherever the image does not reach (its transparent parts, the spine and the edges until they paint it). So neither a lazy catalogue nor a cover that has just arrived flashes in the colour of drawn covers, and one library can mix books with and without a cover image with no setting.\n- **Light and shadow**: The book is seen a little from above. Each face takes the light by how it turns toward it, in a light touch that shows the volume without drawing the eye. Its shadow falls on the surface it rests on, under its tail when it stands and under its back cover when it lies, darkest where it touches and soon gone; around its outline only a halo faint enough to part a light cover from a light page.\n- **Movement**: The book rests in its `pose`. On hover it rises off the surface, its shadow fading there, and leans a little toward the pointer, with a faint sheen on the cover. A drag (mouse, pen or finger) turns it further, within limits, to show the spine or the pages, never the back, or spins a lying book on its surface; it settles back when released, or when the pointer leaves the window or the frame of the page, where its release could not reach the book. A vertical swipe still scrolls the page.\n- **Not a control**: The book has no action of its own. To make it a link, wrap it: the click that ends a drag does not follow the link, a plain click does.\n- **Reduced motion**: With the animation preference set to reduce (or the system asking for it, when there is no controller), the book keeps its resting pose: no lean, no lift, no drag.\n- **Consumption**: The consumption preference sets how much the book costs to draw. At `high` (the default, and on a page without the controller) it does everything; at `medium` it moves without the sheen and without the halo, a filter computed again on every frame; at `low` it is drawn once, in its pose, and never animated. While it moves, only opacities and transforms change, which the compositor applies without painting the faces again.\n\n#### Properties & Visual Configurations\n\n- **`pose`**: how the book is shown, after the usual shots of product photography. A drag turns it from there, and it goes back to it when released.\n  - `'spine'`: standing, turned to show its spine; the default, and the one for a catalogue.\n  - `'fore-edge'`: standing, turned the other way to show its pages.\n  - `'front'`: facing the reader, flat, the cover as it is; the light still shows the binding when it moves.\n  - `'lying'`: lying on its back, seen from above, its tail toward the reader: a book on a desk.\n  - `'lying-turned'`: lying, spun on the surface to show its spine and its tail.\n\n- **`format`**: the proportions of the book, in one field that also carries the orientation.\n  - `'auto'`: the proportions of the image, read once it has loaded (a square cover gives a square book); before that, and without an image, 17x24. Pick it when the image already has the true proportions.\n  - `'a4'`, `'a5'`, `'b5'`: the ISO formats, portrait. Any other format is `WxH` in centimetres, the order of the two numbers being the orientation: `'17x24'` portrait, `'24x17'` landscape, `'21x21'` square. A fixed format keeps its shape before the image loads and crops small differences of the image.\n- **`pages`**: the number of pages, from the catalogue record, which sets how deep the book is against the width of its format (17 cm for `'auto'`). A short book is printed on bulky paper and a long volume on thin paper, so a page goes from 0.1 mm at 1 page to 0.05 mm at 1000 pages and beyond, in proportion: 64 pages make 6 mm, 300 pages 2.5 cm, 1000 pages 5 cm, and an A4 of the same pages looks thinner than a 17x24. A spine under 5 mm carries no text.\n- **`binding`**: how the book is built, which shows on its head, its fore edge and its spine.\n  - `'paperback'`: cut flush, the cover a hairline on the same edge as the pages, a flat spine.\n  - `'hardcover'`: rigid boards about 2.5 mm thick, overhanging a page block set in from them by about 3 mm, the endpapers showing in the gap, a headband, a rounded spine and a hinge groove on the front.\n  - `'none'`: not bound, a stack of loose sheets cut flush, as a document is. The cover, image or drawn (author, title, publisher and its colour), is only the sheet on top, with no fold and no gloss; the pages show on all four sides, the side of the spine too, which carries no text.\n- **`name`**, **`author`**, **`publisher`**: the same names as on `<mds-bibliography>`, so one catalogue record feeds both.\n- **The spine**: the title, then the author, at the head, and the publisher at the foot. Where the spine has room for two lines, at least 13.5% as deep as the book is wide (about 23 mm on a 17x24, some 270 pages in paperback), the author goes under the title, smaller, as on a thick volume.\n- **`publisher-logo`**: the mark of the publisher, printed instead of its name at the foot of the spine and of a drawn cover (a cover image carries its own). Only its shape is printed, as a mask, in `--mds-book-publisher-color`, which is the colour of the text unless set, so a mark of any colour prints in the ink of the book. Give an svg, or a png on a transparent ground; an image from another origin needs CORS headers, as any mask does. The place stays empty while the mark loads, and the name of the publisher is printed if it fails.\n- **Size**: the book is sized as an image is, in the proportions of its format: give it a width, and its height follows; give it a height, and its width follows. With neither, it fills the width of its container, as a block does; where nothing gives it a width (a row of a flex layout) it is 200 px wide. Its box is the front cover at rest: the turned book reaches a little beyond it, by a few percent of its width on each side standing, by up to a third lying spun round, so leave it some room inside a container that clips.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-book>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### A Book from Its Cover\n\nThe canonical form: the cover image and the catalogue data. The title and the author name the book for assistive technologies and are printed on the spine.\n\n```html\n<mds-book\n  src=\"/covers/operazioni-straordinarie.webp\"\n  name=\"Operazioni straordinarie\"\n  author=\"Antonio D'Amico e Sara Orlando\"\n  publisher=\"Maggioli Editore\"\n></mds-book>\n```\n\n#### Pages and Binding from the Catalogue Record\n\nPass the page count and the binding of the record as they are: the book takes its true depth, so a booklet and a large manual do not look alike.\n\n```html\n<mds-book src=\"/covers/guida-rapida.webp\" name=\"Guida rapida al GDPR\" pages=\"64\"></mds-book>\n\n<mds-book\n  src=\"/covers/codice-appalti.webp\"\n  name=\"Codice dei contratti pubblici\"\n  pages=\"1000\"\n  binding=\"hardcover\"\n></mds-book>\n```\n\n#### A Catalogue Grid\n\nThe book takes the width of its cell. Give the grid some gap: the turned books reach a little beyond their boxes.\n\n```html\n<div class=\"grid grid-cols-4 gap-1200\">\n  <mds-book src=\"/covers/1.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n  <mds-book src=\"/covers/2.webp\" name=\"Chief AI Officer\" pages=\"480\"></mds-book>\n  <mds-book src=\"/covers/3.webp\" name=\"Aste immobiliari e vendita forzata\"></mds-book>\n  <mds-book src=\"/covers/4.webp\" name=\"Agenda dei servizi demografici 2027\"></mds-book>\n</div>\n```\n\n#### A Pose for the Layout\n\nPick the pose that suits where the book sits: `spine` in a catalogue, `front` beside a description, `lying` or `lying-turned` for a book on a desk in a hero or a banner.\n\n```html\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" pose=\"front\"></mds-book>\n\n<mds-book\n  src=\"/covers/codice-appalti.webp\"\n  name=\"Codice dei contratti pubblici\"\n  binding=\"hardcover\"\n  pages=\"640\"\n  pose=\"lying-turned\"\n></mds-book>\n```\n\n#### A Fixed Format\n\nWith `format=\"auto\"` (the default) the book takes the proportions of its image once it loads. Set the format when the catalogue knows it, so the book has its shape before the image arrives; write any format as `WxH` in centimetres, the width first.\n\n```html\n<mds-book src=\"/covers/modulistica.webp\" name=\"Modulistica\" format=\"a4\"></mds-book>\n\n<mds-book src=\"/covers/atlante.webp\" name=\"Atlante dei comuni\" format=\"29.7x21\"></mds-book>\n```\n\n#### A Book Without a Cover Image\n\nWithout `src`, the component draws a cover with the title, the author and the publisher. Give it the colour of the series: `--mds-book-color` paints only the drawn cover, also when an image fails, so it can be set on every book of a library, the books with an image keep the colours of their cover.\n\n```html\n<mds-book\n  name=\"Agenda dei servizi demografici 2027\"\n  publisher=\"Maggioli Editore\"\n  style=\"--mds-book-color: #f2a93b; --mds-book-text-color: #ffffff\"\n></mds-book>\n```\n\n#### A Document\n\nA document is not bound: give it `binding=\"none\"` and it is a stack of sheets, its pages showing on every side, its cover (the image, or the one the component draws) the sheet on top. A library of books and documents keeps one record shape: only the binding changes.\n\n```html\n<mds-book\n  binding=\"none\"\n  name=\"Circolare n. 122\"\n  author=\"Direzione centrale entrate\"\n  publisher=\"INPS\"\n  pages=\"24\"\n></mds-book>\n```\n\n#### The Mark of the Publisher\n\nGive the mark of the publisher instead of printing its name: it goes at the foot of the spine, and of the cover when the component draws it. Its shape is printed in the colour of the text, or in `--mds-book-publisher-color`; keep `publisher`, printed if the mark does not load.\n\n```html\n<mds-book\n  name=\"Agenda dei servizi demografici 2027\"\n  author=\"Redazione Maggioli\"\n  publisher=\"Maggioli Editore\"\n  publisher-logo=\"/logos/maggioli-editore.svg\"\n  style=\"--mds-book-color: #f2a93b; --mds-book-text-color: #ffffff\"\n></mds-book>\n```\n\n#### A Solid Spine\n\nWhen the left edge of the cover does not continue well onto the spine (a photo, a thin white border), give the spine and the board edges a colour of their own.\n\n```html\n<mds-book\n  src=\"/covers/manuale.webp\"\n  name=\"Manuale\"\n  style=\"--mds-book-spine-color: #123a6b\"\n></mds-book>\n```\n\n#### A Book That Opens Its Product Page\n\nThe book is an image, not a control: wrap it in a link, with the link named by the book. Turning the book with a drag does not open the link; a click does.\n\n```html\n<a href=\"/catalogo/creare-la-holding\">\n  <mds-book src=\"/covers/creare-la-holding.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n</a>\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-book>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Use the `title` Attribute for the Title\n\n`title` is the native tooltip of every element: it shows a tooltip and prints nothing on the book. The title of the book is `name`.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" title=\"Manuale\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n```\n\n#### Do Not Draw the 3D With `<mds-img>` and CSS Transforms\n\nA transformed `<mds-img>` is a tilted flat picture: no spine, no pages, no drawn cover when the image fails, no reduced-motion handling.\n\n```html\n<!-- INCORRECT -->\n<mds-img src=\"/covers/manuale.webp\" alt=\"Manuale\" style=\"transform: perspective(600px) rotateY(25deg)\"></mds-img>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n```\n\n#### Do Not Turn the Book With a Transform\n\nA transform on the host turns the flat box the book is drawn in: the light on the faces, the shadow and the drag still work from the pose, which no longer matches. Pick a `pose`.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"transform: rotateX(60deg)\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" pose=\"lying\"></mds-book>\n```\n\n#### Do Not Set Both a Width and a Height\n\nThe book keeps the proportions of its format, as an image does: one dimension sets the other. Two that disagree leave the book as wide as its box and the box with a gap or an overflow.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"width: 220px; height: 220px\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"height: 320px\"></mds-book>\n```\n\n#### Do Not Write a Landscape Format as a Separate Orientation\n\nThere is no orientation prop: the order of the two numbers of `format` is the orientation.\n\n```html\n<!-- INCORRECT -->\n<mds-book name=\"Atlante\" format=\"a4\" orientation=\"landscape\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book name=\"Atlante\" format=\"29.7x21\"></mds-book>\n```\n\n#### Do Not Repeat the Name Next to the Book for Assistive Technologies\n\nThe book is already named after `name` and `author`. A visible caption that repeats them makes screen readers read the title twice: mark the book decorative with `alt=\"\"` when a caption names it.\n\n```html\n<!-- INCORRECT -->\n<figure>\n  <mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n  <figcaption>Manuale</figcaption>\n</figure>\n\n<!-- CORRECT -->\n<figure>\n  <mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" alt=\"\"></mds-book>\n  <figcaption>Manuale</figcaption>\n</figure>\n```\n"
      },
      "props": [
        {
          "name": "alt",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "alt",
          "reflectToAttr": false,
          "docs": "The accessible name of the book. Without it the name is built from `name` and `author`;\nan empty `alt` marks the book as decorative, left out by assistive technologies",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "author",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "author",
          "reflectToAttr": false,
          "docs": "The author, printed on the cover drawn when there is no image, above the title, and on the\nspine after the title, or under it where the spine has room for two lines",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "binding",
          "type": "\"hardcover\" | \"none\" | \"paperback\"",
          "complexType": {
            "original": "BookBindingType",
            "resolved": "\"hardcover\" | \"none\" | \"paperback\"",
            "references": {
              "BookBindingType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-book/meta/types.ts::BookBindingType",
                "referenceLocation": "BookBindingType"
              }
            }
          },
          "mutable": false,
          "attr": "binding",
          "reflectToAttr": true,
          "docs": "How the book is bound: a thin flexible cover flush with the pages, rigid boards a little\nlarger than the page block, with a rounded spine, or not at all (`none`), a stack of loose\nsheets, a document: its cover is only the sheet on top, and the pages show on every side,\nthe side of the spine too, where nothing is printed",
          "docsTags": [
            {
              "name": "default",
              "text": "'paperback'"
            }
          ],
          "default": "'paperback'",
          "values": [
            {
              "value": "hardcover",
              "type": "string"
            },
            {
              "value": "none",
              "type": "string"
            },
            {
              "value": "paperback",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "format",
          "type": "\"a4\" | \"a5\" | \"auto\" | \"b5\" | `${number}x${number}`",
          "complexType": {
            "original": "BookFormatType",
            "resolved": "\"a4\" | \"a5\" | \"auto\" | \"b5\" | `${number}x${number}`",
            "references": {
              "BookFormatType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-book/meta/types.ts::BookFormatType",
                "referenceLocation": "BookFormatType"
              }
            }
          },
          "mutable": false,
          "attr": "format",
          "reflectToAttr": true,
          "docs": "The proportions of the book. `auto` takes them from the image; a named format (`a4`, `a5`,\n`b5`) is portrait; any other one is `WxH` in centimetres, the order of the two numbers being\nthe orientation (`17x24` portrait, `24x17` landscape, `21x21` square)",
          "docsTags": [
            {
              "name": "example",
              "text": "'17x24'"
            },
            {
              "name": "default",
              "text": "'auto'"
            }
          ],
          "default": "'auto'",
          "values": [
            {
              "value": "a4",
              "type": "string"
            },
            {
              "value": "a5",
              "type": "string"
            },
            {
              "value": "auto",
              "type": "string"
            },
            {
              "value": "b5",
              "type": "string"
            },
            {
              "type": "`${number}x${number}`"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "loading",
          "type": "\"eager\" | \"lazy\" | undefined",
          "complexType": {
            "original": "LoadingType",
            "resolved": "\"eager\" | \"lazy\" | undefined",
            "references": {
              "LoadingType": {
                "location": "import",
                "path": "@type/loading",
                "id": "src/type/loading.ts::LoadingType",
                "referenceLocation": "LoadingType"
              }
            }
          },
          "mutable": false,
          "attr": "loading",
          "reflectToAttr": false,
          "docs": "Specifies whether a browser should load the cover immediately or defer it until it is near\nthe viewport",
          "docsTags": [
            {
              "name": "default",
              "text": "'lazy'"
            }
          ],
          "default": "'lazy'",
          "values": [
            {
              "value": "eager",
              "type": "string"
            },
            {
              "value": "lazy",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "name",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "name",
          "reflectToAttr": false,
          "docs": "The title of the book, printed on the spine and on the cover drawn when there is no image",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "pages",
          "type": "number",
          "complexType": {
            "original": "number",
            "resolved": "number",
            "references": {}
          },
          "mutable": false,
          "attr": "pages",
          "reflectToAttr": false,
          "docs": "The number of pages, which sets how deep the book is, against the width of its format (17 cm\nfor `auto`). A page is as thick as `--mds-book-page-weight-min` at 1 page, going to\n`--mds-book-page-weight-max` at 1000 pages and more, in proportion: by default from 0.1 mm,\nthe bulky paper of a short book, to 0.05 mm, the thin paper of a volume, so 64 pages make\n6 mm, 300 pages 2.5 cm and 1000 pages 5 cm. A spine under 5 mm deep carries no text",
          "docsTags": [
            {
              "name": "default",
              "text": "300"
            }
          ],
          "default": "300",
          "values": [
            {
              "type": "number"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "pose",
          "type": "\"fore-edge\" | \"front\" | \"lying\" | \"lying-turned\" | \"spine\"",
          "complexType": {
            "original": "BookPoseType",
            "resolved": "\"fore-edge\" | \"front\" | \"lying\" | \"lying-turned\" | \"spine\"",
            "references": {
              "BookPoseType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-book/meta/types.ts::BookPoseType",
                "referenceLocation": "BookPoseType"
              }
            }
          },
          "mutable": false,
          "attr": "pose",
          "reflectToAttr": true,
          "docs": "How the book is shown: standing, turned to show its spine (`spine`) or its pages\n(`fore-edge`), or facing the reader (`front`); lying on its back, seen from above, its tail\ntoward the reader (`lying`) or spun on the surface (`lying-turned`). A drag turns it from\nthere, and it goes back when released",
          "docsTags": [
            {
              "name": "default",
              "text": "'spine'"
            }
          ],
          "default": "'spine'",
          "values": [
            {
              "value": "fore-edge",
              "type": "string"
            },
            {
              "value": "front",
              "type": "string"
            },
            {
              "value": "lying",
              "type": "string"
            },
            {
              "value": "lying-turned",
              "type": "string"
            },
            {
              "value": "spine",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "publisher",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "publisher",
          "reflectToAttr": false,
          "docs": "The publisher, printed at the foot of the spine and of the cover drawn when there is no\nimage, unless its `publisher-logo` is printed there instead",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "publisherLogo",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "publisher-logo",
          "reflectToAttr": false,
          "docs": "The mark of the publisher, printed instead of its name at the foot of the spine and of the\ncover drawn when there is no image: the path to an svg, or a png on a transparent ground.\nIts shape is printed, not its colours, in `--mds-book-publisher-color`. An image from\nanother origin needs CORS headers, as any mask does; one that does not load leaves the name",
          "docsTags": [
            {
              "name": "example",
              "text": "'/logos/maggioli-editore.svg'"
            }
          ],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "src",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "src",
          "reflectToAttr": false,
          "docs": "Specifies the path to the image of the front cover",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [
        {
          "event": "pointerenter",
          "capture": false,
          "passive": true
        },
        {
          "event": "pointermove",
          "capture": false,
          "passive": true
        },
        {
          "event": "pointerdown",
          "capture": false,
          "passive": true
        },
        {
          "event": "pointerup",
          "capture": false,
          "passive": true
        },
        {
          "event": "pointercancel",
          "capture": false,
          "passive": true
        },
        {
          "event": "lostpointercapture",
          "capture": false,
          "passive": false
        },
        {
          "event": "pointerleave",
          "capture": false,
          "passive": true
        },
        {
          "event": "click",
          "capture": true,
          "passive": false
        }
      ],
      "styles": [
        {
          "name": "--mds-book-color",
          "annotation": "prop",
          "docs": "The colour of the cover drawn when there is no image (no src, or one that fails), with its spine and board edges. A book with an image does not take it: it is printed on paper.",
          "visibility": "public",
          "static": true
        },
        {
          "name": "--mds-book-page-weight-max",
          "annotation": "prop",
          "docs": "The thickness of a page, in millimetres (a number), on a book of 1000 pages and more: the thin paper of a volume.",
          "visibility": "internal"
        },
        {
          "name": "--mds-book-page-weight-min",
          "annotation": "prop",
          "docs": "The thickness of a page, in millimetres (a number), on a book of 1 page; between 1 and 1000 pages it goes to --mds-book-page-weight-max in proportion.",
          "visibility": "internal"
        },
        {
          "name": "--mds-book-paper-color",
          "annotation": "prop",
          "docs": "The colour of paper: the page block, and the binding of a book with an image, under it.",
          "visibility": "internal"
        },
        {
          "name": "--mds-book-publisher-color",
          "annotation": "prop",
          "docs": "The colour of the publisher at the foot of the spine and of the cover drawn when there is no image, its mark or its name. Unset, the colour of the text.",
          "visibility": "public",
          "static": true
        },
        {
          "name": "--mds-book-spine-color",
          "annotation": "prop",
          "docs": "A solid colour for the spine and the board edges. Unset, they continue the edges of the cover image.",
          "visibility": "public",
          "static": true
        },
        {
          "name": "--mds-book-text-color",
          "annotation": "prop",
          "docs": "The colour of the text on the spine and on the cover drawn when there is no image.",
          "visibility": "public",
          "static": true
        }
      ],
      "slots": [],
      "parts": [
        {
          "name": "cover",
          "docs": "The native `<img>` that shows the front cover"
        }
      ],
      "states": [],
      "dependents": [],
      "dependencies": [],
      "dependencyGraph": {},
      "storybook": "ui-book--docs"
    }
  ]
}
