|
#define | DAISY_COLOR_PRIMARY "primary" |
|
#define | DAISY_COLOR_PRIMARY_CONTENT "primary-content" |
|
#define | DAISY_COLOR_SECONDARY "secondary" |
|
#define | DAISY_COLOR_SECONDARY_CONTENT "secondary-content" |
|
#define | DAISY_COLOR_ACCENT "accent" |
|
#define | DAISY_COLOR_ACCENT_CONTENT "accent-content" |
|
#define | DAISY_COLOR_NEUTRAL "neutral" |
|
#define | DAISY_COLOR_NEUTRAL_CONTENT "neutral-content" |
|
#define | DAISY_COLOR_BASE_100 "base-100" |
|
#define | DAISY_COLOR_BASE_200 "base-200" |
|
#define | DAISY_COLOR_BASE_300 "base-300" |
|
#define | DAISY_COLOR_INFO "info" |
|
#define | DAISY_COLOR_INFO_CONTENT "info-content" |
|
#define | DAISY_COLOR_SUCCESS "success" |
|
#define | DAISY_COLOR_SUCCESS_CONTENT "success-content" |
|
#define | DAISY_COLOR_WARNING "warning" |
|
#define | DAISY_COLOR_WARNING_CONTENT "warning-content" |
|
#define | DAISY_COLOR_ERROR "error" |
|
#define | DAISY_COLOR_ERROR_CONTENT "error-content" |
|
#define | DAISY_SIZE_XS "xs" |
|
#define | DAISY_SIZE_SM "sm" |
|
#define | DAISY_SIZE_MD "md" |
|
#define | DAISY_SIZE_LG "lg" |
|
#define | SECURE_STR(s) |
|
#define | DAISYUI_LINK |
|
#define | TAILWINDCSS_SCRIPT(buffer) |
|
|
enum | AvatarType {
AVATAR_DEFAULT
, AVATAR_CIRCLE
, AVATAR_RING
, AVATAR_PRESENCE_ONLINE
,
AVATAR_PRESENCE_OFFLINE
} |
|
enum | BadgeType { BADGE_DEFAULT
, BADGE_OUTLINE
} |
|
enum | CarouselType {
CAROUSEL_DEFAULT
, CAROUSEL_CENTER
, CAROUSEL_END
, CAROUSEL_FULL_WIDTH
,
CAROUSEL_HALF_WIDTH
, CAROUSEL_FULL_BLEED
, CAROUSEL_INDICATOR_BUTTONS
, CAROUSEL_NEXT_PREV
,
CAROUSEL_VERTICAL
} |
|
enum | ChatBubbleType { CHAT_BUBBLE_DEFAULT
, CHAT_BUBBLE_IMAGE
, CHAT_BUBBLE_FULL
, CHAT_BUBBLE_HEADER_FOOTER
} |
|
enum | AlertType {
ALERT_DEFAULT = 0
, ALERT_INFO = 1
, ALERT_SUCCESS = 2
, ALERT_WARNING = 3
,
ALERT_ERROR = 4
} |
|
enum | ButtonType {
BUTTON_DEFAULT
, BUTTON_OUTLINE
, BUTTON_RESPONSIVE
, BUTTON_WIDE
,
BUTTON_GLASS
, BUTTON_SQUARE
, BUTTON_CIRCLE
, BUTTON_ICON
,
BUTTON_LOADING
, BUTTON_LOADING_TEXT
} |
|
enum | LoadingType {
LOADING_SPINNER
, LOADING_DOTS
, LOADING_RING
, LOADING_BALL
,
LOADING_BAR
, LOADING_INFINITY
} |
|
|
int | is_valid_daisy_size (Cstr size) |
|
int | is_valid_daisy_color (Cstr color) |
|
void | append_class_attr (char **class, Cstr attr) |
|
WEBCAPI void | WEBC_DaisyAccordion (char **buffer, Accordion accordion, int open) |
|
WEBCAPI void | WEBC_DaisyAvatar (char **buffer, AvatarType type, Cstr img_src, Cstr placeholder, size_t width) |
|
WEBCAPI void | WEBC_DaisyBadge (char **buffer, BadgeType type, Cstr color, Cstr text) |
|
WEBCAPI void | WEBC_DaisyCarousel (char **buffer, CarouselType type, size_t width, CarouselItem items[], size_t item_count) |
|
WEBCAPI void | WEBC_DaisyChatBubble (char **buffer, ChatBubbleType type, ChatBubble bubble, int left) |
|
WEBCAPI void | WEBC_DaisyCollapse (char **buffer, Cstr title, Cstr contents) |
|
WEBCAPI void | WEBC_DaisyAlert (char **buffer, AlertType type, Cstr text) |
|
WEBCAPI void | WEBC_DaisyButton (char **buffer, ButtonType type, Button button) |
|
WEBCAPI void | WEBC_DaisyCheckbox (char **buffer, Cstr label, Cstr color) |
|
WEBCAPI void | WEBC_DaisyNavbarSidebar (char **buffer, Cstr title, NavLink navbar_items[], size_t navbar_items_count, NavLink sidebar_items[], size_t sidebar_items_count, BlockContents page_content) |
|
WEBCAPI void | WEBC_DaisyDropdown (char **buffer, Cstr title, NavLink items[], size_t count) |
|
WEBCAPI void | WEBC_DaisyLoading (char **buffer, LoadingType type, Cstr size) |
|
WEBCAPI void | WEBC_DaisyFileInput (char **buffer, Cstr color) |
|
WEBCAPI void | WEBC_DaisyIndicator (char **buffer, Cstr text, BlockContents toplaceon) |
|
WEBCAPI void | WEBC_DaisyTextInput (char **buffer, int password, Cstr placeholder, Cstr icon) |
|
WEBCAPI void | WEBC_DaisyCode (char **buffer, Cstr color, CodeLine code[], size_t count) |
|
WEBCAPI void | WEBC_DaisyModal (char **buffer, Cstr id, Cstr title, Cstr content) |
|
WEBCAPI void | WEBC_DaisyPagination (char **buffer, size_t from, size_t to, size_t checked) |
|
WEBCAPI void | WEBC_DaisyProgress (char **buffer, size_t width, Cstr color, size_t value, size_t max) |
|
WEBCAPI void | WEBC_DaisyRadio (char **buffer, Cstr group_name, Cstr color, int checked) |
|
WEBCAPI void | WEBC_DaisyRange (char **buffer, size_t min, size_t max, size_t value, size_t step, Cstr size, Cstr color) |
|
WEBCAPI void | WEBC_DaisySelect (char **buffer, Cstr title, char *options[], size_t count, Cstr color) |
|
WEBCAPI void | WEBC_DaisyTextarea (char **buffer, Cstr placeholder, Cstr color, Cstr size) |
|
WEBCAPI void | WEBC_DaisyThemeController (char **buffer) |
|
WEBCAPI void | WEBC_DaisyToast (char **buffer, Cstr text, Cstr color) |
|
WEBCAPI void | WEBC_DaisyToggle (char **buffer, int checked, Cstr color, Cstr size) |
|
WEBCAPI void | WEBC_DaisyTooltip (char **buffer, Cstr tooltip, Cstr location, int open, Cstr color, BlockContents toplaceon) |
|
WEBCAPI void | WEBC_DaisyFooter (char **buffer, Footer footer) |
|
MIT License
Copyright (c) 2024 Konstantinos Despoinidis (and other contributors)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Author
- KDesp73 (Konstantinos Despoinidis)
- Version
- 0.0.3