Digital ACT-191 ONEAPP-7013 story: minor changes, added carousel to menu
This commit is contained in:
parent
4fe4fa0eef
commit
8de1ac8d99
@ -18,7 +18,7 @@ class CarouselViewController: BaseViewController<Carousel> {
|
||||
lazy var scalingTypePickerSelectorView = {
|
||||
PickerSelectorView(title: "",
|
||||
picker: self.picker,
|
||||
items: Carousel.AspectRatio.allCases)
|
||||
items: Tilelet.AspectRatio.allCases)
|
||||
}()
|
||||
|
||||
lazy var paginationDisplayPickerSelectorView = {
|
||||
@ -42,7 +42,7 @@ class CarouselViewController: BaseViewController<Carousel> {
|
||||
lazy var layoutPickerSelectorView = {
|
||||
PickerSelectorView(title: "1UP",
|
||||
picker: self.picker,
|
||||
items: UIDevice.isIPad ? Carousel.Layout.allCases : [Carousel.Layout.oneUP, Carousel.Layout.twoUP, Carousel.Layout.threeUP])
|
||||
items: UIDevice.isIPad ? CarouselScrollbar.Layout.allCases : [CarouselScrollbar.Layout.oneUP, CarouselScrollbar.Layout.twoUP, CarouselScrollbar.Layout.threeUP])
|
||||
}()
|
||||
|
||||
lazy var paginationKindPickerSelectorView = {
|
||||
@ -88,7 +88,7 @@ class CarouselViewController: BaseViewController<Carousel> {
|
||||
addFormRow(label: "Pagination Kind", view: paginationKindPickerSelectorView)
|
||||
addFormRow(label: "Pagination Float", view: paginationFloatingSwitch)
|
||||
addFormRow(label: "Pagination Inset", view: paginationInsetField)
|
||||
addFormRow(label: "Slot Width", view: widthTextField)
|
||||
addFormRow(label: "Width", view: widthTextField)
|
||||
addFormRow(label: "Percentage (1-100)", view: percentageTextField)
|
||||
addFormRow(label: "Slot Horizontal Alignment", view: horizAlignmtPickerSelectorView)
|
||||
addFormRow(label: "Slot Vertical Alignment", view: vertAlignmtPickerSelectorView)
|
||||
@ -143,7 +143,7 @@ class CarouselViewController: BaseViewController<Carousel> {
|
||||
paginationFloatingSwitch.isOn = true
|
||||
paginationInsetField.text = UIDevice.isIPad ? "12px" : "8px"
|
||||
paginationInsetField.isUserInteractionEnabled = false
|
||||
component.data = [{},{},{},{},{},{},{},{},{},{},{},{}]
|
||||
component.data = [{},{},{},{},{},{},{},{}]
|
||||
}
|
||||
|
||||
func setupPicker() {
|
||||
|
||||
@ -75,6 +75,7 @@ class MenuViewController: UITableViewController, TooltipLaunchable {
|
||||
MenuComponent(title: "ButtonGroup", completed: true, viewController: ButtonGroupViewController.self),
|
||||
MenuComponent(title: "ButtonIcon", completed: true, viewController: ButtonIconViewController.self),
|
||||
MenuComponent(title: "Calendar", completed: true, viewController: CalendarViewController.self),
|
||||
MenuComponent(title: "Carousel", completed: false, viewController: CarouselViewController.self),
|
||||
MenuComponent(title: "Carousel Scrollbar", completed: true, viewController: CarouselScrollbarViewConttroller.self),
|
||||
MenuComponent(title: "Checkbox", completed: true, viewController: CheckboxViewController.self),
|
||||
MenuComponent(title: "CheckboxItem", completed: true, viewController: CheckboxItemViewController.self),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user