Open itwillwork opened 1 month ago
Playwright Test Component is ready.
I suggest grouping single and range components in one page for each case. This will help reduce the number of menu items in the showcase section. I think it will be more convenient for watching.
I suggest grouping single and range components in one page for each case. This will help reduce the number of menu items in the showcase section. I think it will be more convenient for watching.
Agreed, can we write the stories so we have both single and range slider, but with shared controls.value
control will be the value for the single slider and rangeValue
control will be the value for the ranged slider?
I suggest grouping single and range components in one page for each case. This will help reduce the number of menu items in the showcase section. I think it will be more convenient for watching.
Agreed, can we write the stories so we have both single and range slider, but with shared controls.
value
control will be the value for the single slider andrangeValue
control will be the value for the ranged slider?
@amje, Maybe we could omit the value property altogether? I don't think it is really necessary for the showcases(excluding the default showcase).
UPD: So my point is to have: -single page for slider(with value prop) -single page for range slider(with value prop) -single and range components in one page for each other special case(without value prop)
I suggest grouping single and range components in one page for each case. This will help reduce the number of menu items in the showcase section. I think it will be more convenient for watching.
Agreed, can we write the stories so we have both single and range slider, but with shared controls.
value
control will be the value for the single slider andrangeValue
control will be the value for the ranged slider?@amje, Maybe we could omit the value property altogether? I don't think it is really necessary for the showcases(excluding the default showcase).
UPD: So my point is to have: -single page for slider(with value prop) -single page for range slider(with value prop) -single and range components in one page for each other special case(without value prop)
@Arucard89 Like this?
Default
(single default with value)
Range
(range default with value)
Size (both single and range without value)
Disabled (both single and range without value)
// etc
@Arucard89 Like this?
Default
(single default with value)Range
(range default with value)Size (both single and range without value)
Disabled (both single and range without value)
// etc
@amje, yes. I believe that it would be helpful for users to play around with the components using the default settings and explore the special, predefined cases.
Preview is ready.