{
  "kind": "ComponentSpec",
  "metadata": {
    "id": "segmented-control-item",
    "name": "Segmented Control Item"
  },
  "data": {
    "id": "segmented-control-item",
    "name": "Segmented Control Item",
    "schema": {
      "slots": {
        "root": {
          "properties": {
            "minWidth": {
              "type": "dimension"
            },
            "minHeight": {
              "type": "dimension"
            },
            "cornerRadius": {
              "type": "dimension"
            },
            "paddingX": {
              "type": "dimension"
            },
            "paddingY": {
              "type": "dimension"
            },
            "gap": {
              "type": "dimension"
            },
            "color": {
              "type": "color"
            },
            "colorDuration": {
              "type": "duration"
            },
            "colorTimingFunction": {
              "type": "cubicBezier"
            },
            "strokeWidth": {
              "type": "dimension"
            },
            "strokeColor": {
              "type": "color"
            },
            "scaleScope": {
              "type": "enum",
              "values": [
                "self",
                "content"
              ]
            }
          }
        },
        "label": {
          "properties": {
            "fontSize": {
              "type": "dimension"
            },
            "lineHeight": {
              "type": "dimension"
            },
            "fontWeight": {
              "type": "number"
            },
            "color": {
              "type": "color"
            },
            "colorDuration": {
              "type": "duration"
            },
            "colorTimingFunction": {
              "type": "cubicBezier"
            }
          }
        }
      },
      "variants": {}
    },
    "definitions": [
      {
        "variants": {},
        "definitions": [
          {
            "states": [
              "enabled"
            ],
            "slots": {
              "root": {
                "minWidth": {
                  "type": "dimension",
                  "value": {
                    "value": 86,
                    "unit": "px"
                  }
                },
                "minHeight": {
                  "type": "dimension",
                  "value": {
                    "value": 34,
                    "unit": "px"
                  }
                },
                "paddingX": {
                  "type": "dimension",
                  "value": "$dimension.x6"
                },
                "paddingY": {
                  "type": "dimension",
                  "value": "$dimension.x1_5"
                },
                "cornerRadius": {
                  "type": "dimension",
                  "value": "$radius.full"
                },
                "gap": {
                  "type": "dimension",
                  "value": "$dimension.x1_5"
                },
                "colorDuration": {
                  "type": "duration",
                  "value": "$duration.color-transition"
                },
                "colorTimingFunction": {
                  "type": "cubicBezier",
                  "value": "$timing-function.easing"
                }
              },
              "label": {
                "fontSize": {
                  "type": "dimension",
                  "value": "$font-size.t5"
                },
                "lineHeight": {
                  "type": "dimension",
                  "value": "$line-height.t5"
                },
                "fontWeight": {
                  "type": "number",
                  "value": "$font-weight.bold"
                },
                "color": {
                  "type": "color",
                  "value": "$color.fg.neutral-subtle"
                },
                "colorDuration": {
                  "type": "duration",
                  "value": "$duration.color-transition"
                },
                "colorTimingFunction": {
                  "type": "cubicBezier",
                  "value": "$timing-function.easing"
                }
              }
            }
          },
          {
            "states": [
              "pressed"
            ],
            "slots": {
              "root": {
                "color": {
                  "type": "color",
                  "value": "$color.bg.neutral-weak-pressed"
                },
                "strokeWidth": {
                  "type": "dimension",
                  "value": {
                    "value": 1,
                    "unit": "px"
                  }
                },
                "strokeColor": {
                  "type": "color",
                  "value": "$color.stroke.neutral-muted"
                },
                "scaleScope": {
                  "type": "enum",
                  "value": "content"
                }
              }
            }
          },
          {
            "states": [
              "selected"
            ],
            "slots": {
              "label": {
                "color": {
                  "type": "color",
                  "value": "$color.fg.neutral"
                }
              }
            }
          },
          {
            "states": [
              "disabled"
            ],
            "slots": {
              "label": {
                "color": {
                  "type": "color",
                  "value": "$color.fg.disabled"
                }
              }
            }
          }
        ]
      }
    ]
  }
}