langcode: en
status: true
dependencies:
  module:
    - link
    - options
  theme:
    - haven_theme
label: Button
id: sdc.haven_theme.button
source: sdc
source_local_id: 'haven_theme:button'
provider: haven_theme
active_version: 0e9e84d691ccddc4
versioned_properties:
  active:
    settings:
      prop_field_definitions:
        variant:
          required: true
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: primary
          expression: ℹ︎list_string␟value
        outlined:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        label:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: 'Button label'
          expression: ℹ︎string␟value
        href:
          required: false
          field_type: link
          field_storage_settings: {  }
          field_instance_settings:
            title: 0
            link_type: 17
          field_widget: link_default
          default_value: null
          expression: ℹ︎link␟url
        size:
          required: true
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: medium
          expression: ℹ︎list_string␟value
        icon:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: arrow-right
          expression: ℹ︎list_string␟value
        icon_first:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        mobile_width:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value: null
          expression: ℹ︎boolean␟value
        disabled:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
    fallback_metadata:
      slot_definitions: {  }
  32e33be7067aa921:
    settings:
      prop_field_definitions:
        variant:
          required: true
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: primary
          expression: ℹ︎list_string␟value
        outlined:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        label:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: 'Button label'
          expression: ℹ︎string␟value
        href:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value: null
          expression: ℹ︎string␟value
        size:
          required: true
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: medium
          expression: ℹ︎list_string␟value
        icon:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: {  }
          field_widget: options_select
          default_value:
            -
              value: arrow-right
          expression: ℹ︎list_string␟value
        icon_first:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        mobile_width:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value: null
          expression: ℹ︎boolean␟value
        disabled:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
    fallback_metadata:
      slot_definitions: {  }
