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
2022-07-04 19:59:42 +02:00
2023-03-02 11:05:44 +01:00
2023-07-04 22:32:14 +03:00
2023-06-27 18:17:48 +03:00
2023-07-24 18:36:10 +03:00
2023-07-28 23:37:33 +03:00
2023-08-01 20:21:34 +04:00
2023-07-20 03:08:14 +02:00

builder-screenshot

Webstudio is an Open Source Visual Development Platform for developers, designers, and cross-functional teams. You own the data, components, and infrastructure. You can use the hosted version or roll out your own.


Learning ressources

Social Media

Contributing

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%