diff --git a/docs/src/_data/site.js b/docs/src/_data/site.js index ee150c2..f0a5b9f 100644 --- a/docs/src/_data/site.js +++ b/docs/src/_data/site.js @@ -6,5 +6,6 @@ export default { name: "Ronan Berder", x: "@hunvreus" }, - url: process.env.ELEVENTY_ENV === 'development' ? "http://localhost:8080" : "https://basecoatui.com" + url: process.env.ELEVENTY_ENV === 'development' ? "http://localhost:8080" : "https://basecoatui.com", + version: "beta" }; \ No newline at end of file diff --git a/docs/src/_includes/partials/sidebar.njk b/docs/src/_includes/partials/sidebar.njk index eab7cdb..cba5ecb 100644 --- a/docs/src/_includes/partials/sidebar.njk +++ b/docs/src/_includes/partials/sidebar.njk @@ -52,6 +52,7 @@ v{{ pkg.version }} + {#
diff --git a/docs/src/components/combobox.njk b/docs/src/components/combobox.njk index 712472a..571ada3 100644 --- a/docs/src/components/combobox.njk +++ b/docs/src/components/combobox.njk @@ -57,10 +57,10 @@ toc:

Include the select.js file. It is recommended to also include the CSS anchor positioning polyfill to support older browsers. Add this to the <head> of your page:

-{% set code_script %} +{% set code_script %} {% endset %} {{ code_block(code_script | prettyHtml, "html") }} diff --git a/docs/src/components/dropdown-menu.njk b/docs/src/components/dropdown-menu.njk index cadd437..f0646f7 100644 --- a/docs/src/components/dropdown-menu.njk +++ b/docs/src/components/dropdown-menu.njk @@ -86,10 +86,10 @@ toc:

Include the dropdown-menu.js file. It is recommended to also include the CSS anchor positioning polyfill to support older browsers. Add this to the <head> of your page:

-{% set code_script %} +{% set code_script %} {% endset %} {{ code_block(code_script | prettyHtml, "html") }} diff --git a/docs/src/components/popover.njk b/docs/src/components/popover.njk index e081cec..e5f16af 100644 --- a/docs/src/components/popover.njk +++ b/docs/src/components/popover.njk @@ -71,7 +71,7 @@ toc: {% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }} diff --git a/docs/src/components/select.njk b/docs/src/components/select.njk index 41b4296..25eecd8 100644 --- a/docs/src/components/select.njk +++ b/docs/src/components/select.njk @@ -88,10 +88,10 @@ toc:

Include the select.js file. It is recommended to also include the CSS anchor positioning polyfill to support older browsers. Add this to the <head> of your page:

-{% set code_script %} +{% set code_script %} {% endset %} {{ code_block(code_script | prettyHtml, "html") }} diff --git a/docs/src/components/sidebar.njk b/docs/src/components/sidebar.njk index 817b4ed..09ae050 100644 --- a/docs/src/components/sidebar.njk +++ b/docs/src/components/sidebar.njk @@ -32,7 +32,7 @@ toc:

Include the sidebar.js file. Add this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/tabs.njk b/docs/src/components/tabs.njk index 450fabd..c9ce77d 100644 --- a/docs/src/components/tabs.njk +++ b/docs/src/components/tabs.njk @@ -86,7 +86,7 @@ toc:

Include the tabs.js file. Add this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/toast.njk b/docs/src/components/toast.njk index 062aae1..20b2125 100644 --- a/docs/src/components/toast.njk +++ b/docs/src/components/toast.njk @@ -67,7 +67,7 @@ toc:

Include the toast.js file. Add this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/installation.njk b/docs/src/installation.njk index eb39d4f..c9a7d32 100644 --- a/docs/src/installation.njk +++ b/docs/src/installation.njk @@ -39,11 +39,11 @@ toc:

The fastest way to get up and running is to load the CSS and all of the components' JavaScript using the CDN. Add the following to the <head> of your HTML file:

-{% set code %} - +{% set code %} + {% endset %} {{ code_block(code, "html") }} @@ -58,14 +58,14 @@ toc:

The easiest way to use Basecoat is use the CDN. First, add the CSS to the <head> of your HTML file:

-{% set code %}{% endset %} +{% set code %}{% endset %} {{ code_block(code, "html") }}

Depending on the components you want to use, you may also need to add JavaScript files as instructed on the component's page. For example, for the Tabs component, you would add the following:

-{% set code %}{% endset %} +{% set code %}{% endset %} {{ code_block(code, "html") }}

Install using NPM

diff --git a/packages/cli/package.json b/packages/cli/package.json index 35f2d3c..04c118b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "basecoat-cli", - "version": "0.1.1", + "version": "0.2.0-beta.1", "description": "Add Basecoat components to your project", "author": "hunvreus", "license": "MIT", diff --git a/packages/css/package.json b/packages/css/package.json index 95ae017..7bdfafa 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "basecoat-css", - "version": "0.1.2", + "version": "0.2.0-beta.1", "description": "Tailwind CSS for Basecoat components", "author": { "name": "hunvreus",