langcode: en
status: true
dependencies:
  module:
    - link
    - options
  theme:
    - eureka
label: Button
id: sdc.eureka.button
source: sdc
source_local_id: 'eureka:button'
provider: eureka
active_version: a17cad55980f2a94
versioned_properties:
  active:
    settings:
      prop_field_definitions:
        button_content:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: 'Call to action'
          expression: ℹ︎string␟value
        button_type:
          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: primary
          expression: ℹ︎list_string␟value
        button_icon:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_icon_before:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_icon_name:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: chevron
          expression: ℹ︎string␟value
        button_span:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_url:
          required: false
          field_type: link
          field_storage_settings: {  }
          field_instance_settings:
            title: 0
            link_type: 16
          field_widget: link_default
          default_value: null
          expression: ℹ︎link␟url
        button_visually_hidden_text:
          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: {  }
  4f8c9cc87a4c03ea:
    settings:
      prop_field_definitions:
        button_content:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: 'Call to action'
          expression: ℹ︎string␟value
        button_icon:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_icon_before:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_icon_name:
          required: false
          field_type: string
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: string_textfield
          default_value:
            -
              value: chevron
          expression: ℹ︎string␟value
        button_span:
          required: false
          field_type: boolean
          field_storage_settings: {  }
          field_instance_settings: {  }
          field_widget: boolean_checkbox
          default_value:
            -
              value: false
          expression: ℹ︎boolean␟value
        button_type:
          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: primary
          expression: ℹ︎list_string␟value
        button_url:
          required: false
          field_type: link
          field_storage_settings: {  }
          field_instance_settings:
            title: 0
            link_type: 16
          field_widget: link_default
          default_value: null
          expression: ℹ︎link␟url
        button_visually_hidden_text:
          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: {  }
