Preheat oven to 350 degrees Fahrenheit. Line an 8-inch square pan with parchment paper. You can toast the coconut now in your oven as it preheats, or wait until step 4 for instructions on toasting the coconut later.
Mix together all shortbread ingredients in a bowl, then use your hands to crumble it into the pan, pressing out to form a thin, even layer. Be sure to get it all the way to the corners of the pan.
Bake for 15 minutes, until just barely golden around the edges. Remove from oven and let cool completely while you work on the caramel layer. You can speed this up by placing the pan on a shelf in your freezer for 15 minutes or so to chill, if you have the space.
While the shortbread layer bakes, toast the coconut. Spread in a thin layer on a sheet pan, and bake for 8-12 minutes, or until deeply golden. Watch this closely as coconut can go from golden to burnt in just a minute or two.
Place maple syrup and coconut cream in a small pot over high heat. Bring to a boil, then reduce to low and let simmer for 20 minutes. After 20 minutes, turn off the heat and add in the salt and vanilla.
Once your shortbread layer is cooled, add the toasted coconut to the pot with the finished caramel (it won't make a difference if the caramel is still warm, or has already reached room temperture at this point) and stir to combine. Pour over the shortbread layer, and spread out to form an even layer.
Place the chocolate and 2 Tablespoons coconut cream in a small microwave-safe bowl and heat in 20 second increments, until melted. Alternately, you can do this on the stove in a small pot on the lowest possible heat setting, stirring constantly, until just melted.
Pour melted chocolate over the caramel layer, using a spoon to spread it into an even layer. Sprinkle on a few pinches of flaky sea salt, if using, then place in the fridge to let set for 10 minutes, until chocolate is firm.
Use the parchment paper to lift the entire slab of shortbread cookie bars out of the pan, then use a sharp knife to cut into 16 squares. Serve immediately, or transfer to an airtight container. For a softer texture, keep at room temperature for up to 5 days. For a more firm texture, keep in the fridge for up to 1 week.