Skip to content

Commit

Permalink
feat: update ui docs, + files, version
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomirblazekcz committed Aug 31, 2022
1 parent 64b2bf5 commit 8bfce67
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@newlogic-digital/ui",
"version": "3.1.1",
"version": "3.2.0",
"type": "module",
"main": "vite.config.js",
"author": "New Logic Studio s.r.o.",
Expand Down
1 change: 0 additions & 1 deletion src/scripts/Components/+.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
import './CookieConsent.js'
import './Form.js'
3 changes: 2 additions & 1 deletion src/scripts/Libraries/+.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ export { default as Anchor } from './Anchor.js'
export { default as CookieConsent } from './CookieConsent.js'
export { default as Dialog } from './Dialog.js'
import './Drawer.js'
import './Fetch.js'
import './Form.js'
export { default as NativeSlider } from './NativeSlider.js'
import './ReCaptcha.js'
export { default as Ripple } from './Ripple.js'
import './Script.js'
import './Stimulus.js'
export { default as Swup } from './Swup.js'
export { default as Tabs } from './Tabs.js'
Expand Down
3 changes: 3 additions & 0 deletions src/scripts/Utils/+.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './Functions/+.js'
export { default as cdn } from './cdn.js'
import './global.js'
2 changes: 1 addition & 1 deletion src/scripts/Utils/Functions/+.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './dataValue.js'
export { default as fetchHandler } from './fetchHandler.js'
export { default as importScript } from './importScript.js'
export { default as importStyle } from './importStyle.js'
export { default as inView } from './inView.js'
export { default as loadStimulus } from './loadStimulus.js'
export { default as replaceTag } from './replaceTag.js'
9 changes: 9 additions & 0 deletions src/styles/Utils/+.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import "default.css";
@import "icons.css";
@import "keyframes.css";
@import "normalize.css";
@import "print.css";
@import "tailwind/+.css";
@import "theme/+.css";
@import "vars.css";
@import "vendor.css";
2 changes: 2 additions & 0 deletions src/styles/Utils/tailwind/+.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "base.css";
@import "gutters.css";
1 change: 1 addition & 0 deletions src/styles/Utils/theme/+.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "main.css";
15 changes: 1 addition & 14 deletions src/templates/Sections/Ui.twig
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,6 @@
<span>Drawer</span>
</a>
</li>
<li class="col col-12">
<a href="#fetch" class="ui-link" title="">
<span>Fetch</span>
</a>
</li>
<li class="col col-12">
<a href="#hint" class="ui-link" title="">
<span>Hint</span>
Expand Down Expand Up @@ -1677,14 +1672,6 @@
<p>The content is being prepared ...</p>
</div>
</div>
<div class="col-12" id="fetch">
<h1 class="ui-title uppercase text-primary mb-5">Fetch</h1>
<div class="ui-text">
<p>Located in <code>src/scripts/Libraries/Fetch.js</code></p>
<p></p>
<p>The content is being prepared ...</p>
</div>
</div>
<div class="col-12" id="hint">
<h1 class="ui-title uppercase text-primary mb-5">Hint</h1>
<div class="ui-text">
Expand Down Expand Up @@ -1807,7 +1794,7 @@
<p>It can be evaluated upon submitting the form, with attribute <code>data-action="submit->lib-recaptcha#submit"</code></p>
</div>
{% code "html" %}
<form data-controller="lib-recaptcha" data-lib-recaptcha-api="RECAPTCHA_KEY" data-lib-recaptcha-action="contact" data-action="submit->lib-fetch#form">
<form data-controller="lib-recaptcha" data-lib-recaptcha-api="RECAPTCHA_KEY" data-lib-recaptcha-action="contact" data-action="submit->lib-recaptcha#submit">
<input name="gtoken" type="hidden">
<button>Send</button>
</form>
Expand Down

0 comments on commit 8bfce67

Please sign in to comment.