Skip to main content

3 posts tagged with "Inputs 0.0.3"

Inputs 0.0.3. Use this tag to filter all changes about Inputs version 0.0.3.

View All Tags

๐Ÿ› ๏ธ Inputs refactor

ยท One min read
Redon Alla
.NET, React, Angular Developer

#80ff097 refactor(inputs): update theme handling and optimize component imports

This commit includes the following changes:

  • Theme context usage updated to simplify access to theming properties by removing .colors where applicable.
  • Reorganized and optimized import paths and component structures, including moving input-adornment.tsx logic to input-icon.tsx for better cohesion.
  • Introduction of new components such as InputIcon, HelperText, and ActionContainer to enhance code modularity and readability.
  • Improved styling logic through adjustments to constants and styles definitions, focusing on consistency across components.
  • Deletion of obsolete components that have been refactored elsewhere in the project. These updates aim to streamline the codebase, reduce redundancy, and improve the overall maintainability of the input components.

๐Ÿ› ๏ธ Inputs refactor

ยท One min read
Redon Alla
.NET, React, Angular Developer

#7834392 refactor(inputs): update default size and theme structure

Changed the default size from default to medium using nullish coalescing for improved clarity. Refactored the theme structure by removing redundant isDark context, now relying solely on colors. Import paths for BorderRadius, BorderWidth, and Sizes are updated to use @flexnative/theme-context for better modularity and alignment with the project architecture. These changes streamline the component's configuration and enhance maintainability.

๐Ÿ› ๏ธ Inputs refactor

ยท One min read
Redon Alla
.NET, React, Angular Developer

#8c52c02 refactor(inputs): update default size and theme structure

Aligned inputs with the latest updates in @flexnative/theme-context and @flexnative/icons. Replaced previous dependencies, utility methods, and constants with new ones from the updated libraries. Updated component styles and logic according to new props and theming guidelines, ensuring consistency across the input components. This includes changes to border radius definitions, color handling, and input styling. Transitioned peer dependencies to devDependencies where applicable, reflecting the updated package structure. The focus was to enhance maintainability and leverage improved theming capabilities from the upgraded dependencies.