;;; ox-html-uswds-components.el --- Transcription functions for all USWDS components, -*- lexical-binding: t; -*-
;; Copyright (C) 2021 Marius Peter
;; Author: Marius Peter (rot13 "?znevhf.crgre@ghgnabgn.pbz")
;; Created: March 2021
;; Package-Version: 0.1
;; Keywords: org export publish html
;; Homepage: http://www.smart-documents.org
;; This file is not part of GNU Emacs.
;;; License:
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this file. If not, see .
;;; Commentary:
;; These are all the components made available by the USDWS.
;;; Code:
(defun uswds-component-accordion (contents)
(format "" contents))
(defun uswds-component-alert-info (contents)
(format "
" contents))
(defun uswds-component-alert-warning (contents)
(format "" contents))
(defun uswds-component-alert-error (contents)
(format "" contents))
(defun uswds-component-alert-success (contents)
(format "" contents))
(defun uswds-component-alert-slim (contents)
(format "" contents))
(defun uswds-component-alert-no-icon (contents)
(format "" contents))
(defun uswds-component-banner (contents)
(format "" contents))
(defun uswds-component-breadcrumb (contents)
(format "" contents))
(defun uswds-component-button (contents)
;; %s
(format "%s" contents))
(defun uswds-component-button-group (contents)
(format "" contents))
(defun uswds-component-card (contents)
(format "" contents))
(defun uswds-component-collection (contents)
(format "" contents))
(defun uswds-component-footer (contents)
(format "" contents))
;; TODO form controls and templates
(defun uswds-component-grid (contents)
(format "" contents))
(defun uswds-component-header (contents)
(format "" contents))
;; TODO icons
(defun uswds-component-identifier (contents)
(format "" contents))
(defun uswds-component-process (contents)
(format "" contents))
(defun uswds-component-search (contents)
(format "" contents))
(defun uswds-component-side (contents)
(format "" contents))
(defun uswds-component-site (contents)
(format "" contents))
(defun uswds-component-step (contents)
(format "" contents))
(defun uswds-component-summary (contents)
(format "" contents))
;; TODO table?
(defun uswds-component-tag (contents)
(format "%s" contents))
(defun uswds-component-tooltip (contents)
(format "" contents))
(defun uswds-component-tooltip (contents)
(format "" contents))
(defun uswds-component-tooltip (contents)
(format "" contents))
(provide 'ox-html-uswds-components)
;;; ox-html-uswds-components.el ends here