🐛 fix: Fixed do_rectangle_layout on CTextInput: checking self.focus and dispatching the on_focus event
✨ feat: Now CTextInput can start with focus=True
✨ feat: Created new CFloatLayout component
✨ feat: Created new CBoxLayout component
✨ feat: Created 5 new CTextInput events:
- on_icon_left_color_active
- on_foreground_active_color
- on_foreground_color
- on_hint_text_color_active
- on_line_color_active
🐛 fix: Fixed line color update of CTextInput in fill mode
✨ feat: Added icon_left and fill mode to CTextInput
✨ feat: Added halign property to CTextInput
✨ feat: Updated insert_text from CTextInput: now the user has the option to handle the insert_text and not dispatch super.insert_text
✨ feat: Added focus property to CTextInput
✨ feat: Created two CTextInput custom handlers:
- insert_text_filter: an optional function that receives str and returns str
- keyboard_down: an optional function to do anything the user want to the input/text_field
✨ feat: Added input_type property to CTextInput
✨ feat: Created RoundedRectangleRippleBehavior component
✨ feat: Added target property to CTextInput
✨ feat: Created RetargetTextInput component
🐛 fix: Fixed create_initial_line and on_complete_restore from CTextInput
✨ feat: Created new CTextInput component
✨ feat: Created CircularRippleBehavior component
✨ feat: Loading icon unicodes on init
🐛 fix: Fixed CButton shorten function when the user gives some value to max_width
✨ feat: Added halign property to CButton
✨ feat: Importing buttons, dropdown and icons modules when using star (*) import
✨ feat: Binding CDropDown.build_canvas to changes on x property
✨ feat: Added markup property to CDropDown.
✨ feat: Added markup property to CButton.
✨ feat: Added shorten functionality to CDropDown:
- Now you can pass
shorten,shorten_fromandmax_widthto CDropDown, and it will apply these properties to the main CDropDown label
- 🐛 fix: Fixed CButton spacing when
current_modeis "both"
- ✨ feat: Added shorten/shorten_from to CButton
- ✨ feat: Added icon_position property to CButton
- ✨ feat: Added align_on_left property to CButton
- ✨ feat: Added left_padding property to CButton
- 🐛 fix:
CDropDown._update_dropdowndoes not passviewclassattributes directly on__init__, avoiding TypeError.
- ✨ feat: Added defaut
effect_clsto Container from CDropDown
- 🐛 fix: CDropDown updates container.scroll_y to 1 on animation progress
- ✨ feat: Updated
CDropdown:- Binding
build_canvastoyvalue - Fixed name collision with
dpfrom kivy.metrics
- Binding
- ✨ feat: Created two design modes for
CDropDown:- rectangle (default)
- line
- ✨ feat: Added
reset_textbehaviour toCDropDown
- ✨ feat: Added
border_colorandborder_widthtoContainer - ✨ feat: Added
transparentcolor to definitions
- ✨ feat: Updated CDropDown:
- "Bottom" alignment is the default one
- Now you can define the
container_width - Created two alignments for Container: "left-aligned", "right-aligned"
- ✨ feat: Added
container_bg_colorproperty to CDropDown
- 🐛 fix: Fixed bug in CDropDown: - Making
auto_width = Truewhen container_width is not provided
- ✨ feat: Created
CDropDownand related classes:- DropDownItem (a clickable Label)
- Container (a container for all items of the DropDown, with custom initial position)
- 🐛 fix: Removed padding and spacing from
CButton(replaced by dummy widgets).
- 🐛 fix: Created
CButton(Custom Button) widget.
- 🐛 fix: Fixed
font_namefromIconclass.
- #6: "✨ feat: Create Icon and IconViewer + icon_definitions"
- ✨ feat: Created Created icon_definitions.py
- ✨ feat: Created icons.py
IconViewer implements hover functionality (tooltip) over all icons. You can copy any icon name by clicking on its IconViewerItem
- #3: "⬆️ chore: Downgraded python version”
- #1: ”✨ feat: Created color definitions - Tailwind standard color palette”