langcode: en
status: true
dependencies:
  config:
    - field.field.media.image.field_media_image
    - field.field.media.svg_image.field_media_svg_image
    - image.style.canvas_parametrized_width
    - media.type.image
    - media.type.svg_image
  module:
    - file
    - link
    - media
    - media_library
    - options
  theme:
    - vartheme_bs5
label: Card
id: sdc.vartheme_bs5.card
source: sdc
source_local_id: 'vartheme_bs5:card'
provider: vartheme_bs5
active_version: d3e9ee899335b427
versioned_properties:
  active:
    settings:
      prop_field_definitions:
        orientation:
          required: true
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: image-top
          expression: ℹ︎list_string␟value
        content_vertical:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: justify-content-center
          expression: ℹ︎list_string␟value
        heading_text:
          required: true
          field_type: string
          field_storage_settings: null
          field_instance_settings: null
          field_widget: string_textfield
          default_value:
            -
              value: 'This is your card title'
          expression: ℹ︎string␟value
        text:
          required: false
          field_type: string_long
          field_storage_settings: null
          field_instance_settings: null
          field_widget: string_textarea
          default_value:
            -
              value: 'A short description goes here.'
          expression: ℹ︎string_long␟value
        media:
          required: false
          field_type: entity_reference
          field_storage_settings:
            target_type: media
          field_instance_settings:
            handler: 'default:media'
            handler_settings:
              target_bundles:
                image: image
                svg_image: svg_image
          field_widget: media_library_widget
          default_value: {  }
          expression: 'ℹ︎entity_reference␟entity␜[␜entity:media:image␝field_media_image␞␟{src↠src_with_alternate_widths,alt↠alt,width↠width,height↠height}][␜entity:media:svg_image␝field_media_svg_image␞␟{src↠src_with_alternate_widths,alt↠alt,width↠width,height↠height}]'
        media_ratio:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: ratio-16x9
          expression: ℹ︎list_string␟value
        background:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: bg-body
          expression: ℹ︎list_string␟value
        shadow:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: shadow
          expression: ℹ︎list_string␟value
        has_padding:
          required: false
          field_type: boolean
          field_storage_settings: null
          field_instance_settings: null
          field_widget: boolean_checkbox
          default_value:
            -
              value: true
          expression: ℹ︎boolean␟value
        url:
          required: false
          field_type: link
          field_storage_settings: null
          field_instance_settings:
            title: 0
            link_type: 17
          field_widget: link_default
          default_value: null
          expression: ℹ︎link␟url
        button_label:
          required: false
          field_type: string
          field_storage_settings: null
          field_instance_settings: null
          field_widget: string_textfield
          default_value:
            -
              value: 'Learn more'
          expression: ℹ︎string␟value
        button_variant:
          required: false
          field_type: list_string
          field_storage_settings:
            allowed_values_function: canvas_load_allowed_values_for_component_prop
          field_instance_settings: null
          field_widget: options_select
          default_value:
            -
              value: btn-primary
          expression: ℹ︎list_string␟value
    fallback_metadata:
      slot_definitions: {  }
