- INPUT_BASE =
%w[
w-full rounded-md border px-3 py-2 text-sm text-gray-900
bg-white focus:outline-none focus:ring-2 focus:ring-offset-0
].freeze
- INPUT_ERROR =
%w[border-red-700 focus:ring-red-700].freeze
- INPUT_DEFAULT =
%w[border-gray-500 focus:ring-blue-700].freeze
- GROUP_BASE =
%w[flex gap-1 mb-3].freeze
- GROUP_INLINE =
%w[flex-row items-center].freeze
- LABEL =
%w[text-sm font-medium text-gray-900].freeze
- REQUIRED_MARK =
%w[text-red-700 ml-0.5].freeze
- DETAILS =
%w[text-xs text-gray-600].freeze
- ERROR_TEXT =
%w[text-xs text-red-700].freeze
- CHECKBOX =
%w[size-4 rounded border-gray-500 text-blue-700].freeze
- RADIO =
%w[size-4 border-gray-500 text-blue-700].freeze
- ACTOR_BASE =
%w[flex items-center overflow-hidden rounded-md border].freeze
- ACTOR_BORDER =
{ error: "border-red-700", default: "border-gray-500" }.freeze
- INPUT_REVEAL =
%w[
flex-1 border-0 bg-transparent px-3 py-2 text-sm text-gray-900 focus:outline-none
].freeze
- BUTTON_REVEAL =
%w[
self-stretch border-0 bg-transparent px-3 cursor-pointer text-gray-600 hover:text-gray-900 text-sm
].freeze
- SUBMIT_LINK =
%w[cursor-pointer text-sm font-medium text-gray-900 hover:underline].freeze