4 مستودعات
Utilities for extracting keys from objects based on truthy values to determine active styles.
Distinct from Object Key Accessors: Distinct from object key accessors as it focuses on conditional selection for styling rather than generic retrieval.
Explore 4 awesome GitHub repositories matching web development · Conditional Class Mappings. Refine with filters or upvote what's useful.
classnames is a JavaScript utility for conditionally joining CSS class names into a single space-separated string. It functions as a class name manager that maps boolean flags and objects to specific styles for HTML attribute assignment. The tool resolves abstract class identifiers to computed values, facilitating integration with modular styling systems. It allows for the mapping of dynamic identifiers to scoped class names through a dedicated module resolver. The utility processes strings, arrays, and objects to handle dynamic class name management. It includes capabilities for recursive a
Conditionally joins strings, arrays, and objects into a single space-separated string for CSS classes.
clsx is a JavaScript utility for constructing space-separated CSS class strings. It functions as a logic-based string builder that merges strings and objects into a single string by evaluating the truthiness of provided values. The utility orchestrates the generation of HTML class attributes by filtering out null or undefined values. It enables conditional styling by combining static and dynamic classes, which allows for the management of UI styling based on state or interaction. The project handles a variety of input structures, including arrays and objects, to produce a unified list of act
Provides the logic to map object keys to CSS classes based on the truthiness of their values.
هذه مكتبة لمعماريات النماذج التوليدية المبنية باستخدام إطار عمل TensorFlow. توفر تطبيقات لإنتاج بيانات اصطناعية وصور واقعية، مع التركيز بشكل خاص على أجهزة التشفير التلقائي المتغيرة (Variational Autoencoders) ومتغيرات مختلفة من الشبكات التنافسية التوليدية (GANs). تتضمن المجموعة معماريات GAN محددة مثل WGAN-GP وLSGAN وInfoGAN وEBGAN. كما تتميز بأجهزة تشفير تلقائي متغيرة مصممة لتعلم التمثيلات الكامنة وتوليف عينات جديدة من التوزيعات المتعلمة. يغطي المشروع خطوط معالجة الصور لتطبيع وقص البيانات، بالإضافة إلى مجموعة أدوات من طبقات الشبكات العصبية بما في ذلك التلافيف ثنائية الأبعاد والتحويلات الخطية. يوفر قدرات لمعالجة الفضاء الكامن، وحقن ناقل التكييف، واستقرار النموذج من خلال دوال خسارة محددة.
Provides mechanisms to guide image generation by injecting conditioning vectors and labels into the model feature maps.
react-calendar is a customizable date grid and picker for React applications. It provides an interactive interface for selecting single or multiple dates and navigating between months and years. The component uses browser internationalization APIs to format months and days, enabling multilingual date formatting for different global regions. It allows for external customization through prop-driven render overrides to replace default date cell displays. The library handles the underlying date calculations and state-driven navigation required for scheduling interfaces and date-based grids.
Uses conditional logic to map CSS classes to dates based on their selection or disabled state.