Files
webstudio/apps/builder
Bogdan Chadkin 40e71b6c5b Simplify indexes within ancestors (#2021)
Here added dedicated field to meta to simplify computing and using
indexes.

```
{
  type: 'container',
  label: 'Tab Trigger',
  // this one
  indexWithinAncestor: 'Tabs'
}
```

Since it's single value, we no longer need to provide ancestor name in
runtime and no longer have bug with namespaces. Index now provided with
props.

```
getIndexWithinAncestorFromComponentProps(props): string | undefined
```
2023-08-01 22:40:16 +04:00
..
2023-06-27 10:02:58 +03:00
2023-04-09 20:19:12 +02:00
2023-02-14 11:15:24 +01:00
2023-05-14 23:25:34 +07:00
2023-05-14 23:25:34 +07:00
2023-02-14 11:15:24 +01:00
2023-08-01 20:21:34 +04:00
2023-08-01 16:44:12 +04:00
2023-02-14 11:15:24 +01:00