Skip to content

Instantly share code, notes, and snippets.

@javierllns
javierllns / ShadcnUltraSimplifiedCombobox.tsx
Last active June 18, 2024 20:34
A Ultra simplified combobox component based in my other gist called "ShadcnSimplifiedCombobox.tsx".
/*
Author: Javier Antonio Llanos Marriaga
Github: @javierllns
LinkedIn: https://www.linkedin.com/in/javierllns/
Portfolio: https://javierllns.github.io/
-
File name: UltraSimplifiedCombobox.tsx
Description: A Ultra simplified combobox component based in my other gist called "ShadcnSimplifiedCombobox.tsx".
License: MIT
-
@javierllns
javierllns / ShadcnSimplifiedCombobox.tsx
Last active June 18, 2024 20:33
A "simplified" "form-like-style" "stylable" version of Shadcn UI combobox examples.
/*
Author: Javier Antonio Llanos Marriaga
Github: @javierllns
LinkedIn: https://www.linkedin.com/in/javierllns/
Portfolio: https://javierllns.github.io/
-
File name: ShadcnSimplifiedCombobox.tsx
Description: A "simplified" "form-like-style" "stylable" version of Shadcn UI combobox examples.
License: MIT
-
____SHADCN_UI____
[1] MESSAGE: "TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))"
DESCRIPTION: "Combobox(Popover + Command) inside a Form don't work propertly (break the entire application)."
LINK: https://github.com/shadcn-ui/ui/issues/3976
@javierllns
javierllns / components.json
Created June 10, 2024 00:40
A ShadcnUI config example with Typescript's path aliases [ React + Typescript + Tailwind (Shadcn uses tailwind under the hood) ].
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "@view/App.css",
"baseColor": "slate",
"cssVariables": true,
@javierllns
javierllns / .prettierrc.json
Created June 10, 2024 00:35
My (ReactJSX + Tailwindcss + clsx) prettier config
{
"semi": false,
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none",
"arrowParens": "always",
"endOfLine": "auto",
//extensions.json
{
"recommendations": ["aperricone.harbour"]
}
----------------------------------------------------------->
//settings.json
@javierllns
javierllns / XailerMonokaiConfig.cfg
Last active May 24, 2024 15:16
Xailer IDE config [EDITOR SECTION ONLY] with comments (Xailer is aHarbour Language IDE for 32-bit MS Windows Application development).
#?NOTE1: NO ADD COMMENTS IN FRONT OF ANY VALUE (IT WILL BREAK ALL THE CONFIG)
#?NOTE2: WARNING!!! COLORS ARE EXPRESSED IN THE FORM BBGGRR NOT JUST NORMAL HEX.
[EDITOR]
AutoIndent=.T.
TabIndents=.T.
Indent=4
BackSpaceUnindents=.T.
UseTabs=.F.
TabWidth=4
//THIS CODE DEPENDS ON XAILER's HARBOUR IDE
/*
* Project: xailer-fetch-api
* File: Principal.prg
* Descripción: Xailer (Harbour (xBase) language IDE) sample to fetch URL APIS.
* Autor: javierllns
* Fecha: 17/04/2024
*/