Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(version): 4.0.0 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .ncurc.json

This file was deleted.

5 changes: 3 additions & 2 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
],
"rules": {
"@stylistic/selector-list-comma-newline-after": "always-multi-line",
"@stylistic/max-line-length": 160,
"@stylistic/max-line-length": 240,
"at-rule-no-unknown": [true, {"ignoreAtRules": ["layer", "tailwind"]}],
"length-zero-no-unit": [true, {"ignore": ["custom-properties"]}],
"property-no-vendor-prefix": [true, { "ignoreProperties": "appearance" }],
"number-max-precision": [4, { "ignoreProperties": "letter-spacing" }],
"selector-class-pattern": null,
"import-notation": "string",
"media-feature-range-notation": "prefix"
"media-feature-range-notation": "prefix",
"property-no-unknown": [true, { "ignoreProperties": ["/^mso-/"]} ]
},
"ignoreFiles": ["**/+.css"]
}
83 changes: 44 additions & 39 deletions CHANGELOG → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
v3.7.5
## v4.0.0
* feat(bc): added winduum-stimulus
* feat(bc): externalize stimulus controllers and modules
* feat(bc): new file structure
* feat(bc): updated to eslint v9, added neostandard

## v3.7.5
* feat: deps update
* fix: swup replace tag selector
* fix: readme logo

v3.7.4
## v3.7.4
* feat: updated to eslint v9 and neostandard
* feat: naja update
* feat: updated deps

v3.7.3
## v3.7.3
* feat: updated to naja 3.2
* feat: updated to swup 3.7

v3.7.2
## v3.7.2
* fix: ui-check validate method
* fix: lib-form example
* fix: ui-control, ui-check dynamic import
* feat: deps update

v3.7.1
## v3.7.1
* feat: updated to winduum 1.2.0
* feat(bc): removed tippy, added c-popover as alternative

v3.7.0
## v3.7.0
* feat(bc): added winduum c-drawer
* feat(bc): changed layout components from ids to classes
* feat(bc): removed l-default wrapper in Layout/Main.tpl
Expand Down Expand Up @@ -51,62 +57,62 @@ v3.7.0
* feat: new modern favicons
* feat: updated to vite v5.2

v3.6.5
## v3.6.5
* feat: cookie consent update
* feat: manual chunks

v3.6.4
## v3.6.4
* feat: update winduum v1.0.0
* fix: swup transition and containers

v3.6.3
## v3.6.3
* feat: update winduum v0.9.0
* fix: swup scroll

v3.6.2
## v3.6.2
* feat: update winduum v0.7.0

v3.6.1
## v3.6.1
* feat: update winduum v0.6.0

v3.6.0
## v3.6.0
* feat: updated deps - winduum v0.5.0, tailwindcss v3.4
* feat: updated stylelint, added @stylistic/stylelint
* feat: updated media vars in `main.json`

v3.5.8
## v3.5.8
* feat: icon.svg uses symbols
* feat: vite v5, vituum v1.1, newlogic-core v2.1

v3.5.7
## v3.5.7
* feat: remove service worker
* feat: simplified inputStep

v3.5.6
## v3.5.6
* feat: update winduum to 0.4.0

v3.5.5
## v3.5.5
* feat: added preload and modulepreload to main.json

v3.5.4
## v3.5.4
* feat: added swup and stimulus as top-level await

v3.5.3
## v3.5.3
* feat: tailwindcss emails
* feat: improved form submitter loading state
* feat: improved lib-naja makeRequest
* fix: cleanup deleted userfiles

v3.5.2
## v3.5.2
* feat: naja `get` stimulus method changed to `makeRequest`
* feat: dependencies update
* fix: datepicker attributes and change event

v3.5.1
## v3.5.1
* feat(bc): swup v4 update
* feat: dependencies update

v3.5.0
## v3.5.0
* feat(bc): added winduum 0.3.x and its components
* feat(bc): added new winduum color pallet with `color-mix`, colors now have also `-rgb` variants for better compatibility
* feat(bc): removed `Libraries/Anchor.js`
Expand All @@ -120,18 +126,17 @@ v3.5.0
* feat: `vanilla-datepicker` replaced with `air-datepicker`
* feat: added `replaceScript.js` function


v3.4.2
## v3.4.2
* feat: vituum v1 update
* feat: newlogic core v2 update
* feat: deps update

v3.4.1
## v3.4.1
* feat: minor changes from winduum
* feat: removed seamless polyfill
* feat: update stylelint v32 and added stylelint-stylistic plugin

v3.4.0
## v3.4.0
* feat: added winduum native dialog with better accessibility
* feat: added winduum tailwind plugin and new css breakpoints
* feat: changed emails root to src/views/email
Expand All @@ -142,15 +147,15 @@ v3.4.0
* feat(bc): lib-dialog fetch expects "content" in response, instead of "dialog"
* fix: dynamic imports with @vite-ignore

v3.3.1
## v3.3.1
* feat: swup v3 update
* feat: dependencies update
* feat: added loading before send to lib-form
* feat: added naja submit to lib-recaptcha
* feat: added sklik retargetingHit to swup
* feat: added najaLoad to loadStimulus function

v3.3.0
## v3.3.0
* feat: added email posthtml examples
* feat(bc): removed stimulus helpers - queryTarget, getValue etc.
* feat: improved form validation
Expand All @@ -166,14 +171,14 @@ v3.3.0
* feat: added :has postcss plugin
* fix: native slider counterMax

v3.2.0
## v3.2.0
* feat(bc): changed gulp to vituum
* feat: stimulus v3.1 update
* feat: cookieconsent improvements
* feat: changed c-form to lib-form
* feat: added lib-script controller

v3.1.0
## v3.1.0
* feat: tailwind v3 update
* feat: stimulus v3 update
* feat: iconfont replaced with svg icons
Expand All @@ -182,35 +187,35 @@ v3.1.0
* feat: most of callbacks replaced with promises
* feat: complete refactor of CSS and JS

v3.0.13
## v3.0.13
* feat: recaptcha enterprise

v3.0.12
## v3.0.12
* feat: eslint import extensions
* feat: newlogic core update, es-module-shims update
* fix: core->main js in twig

v3.0.11
## v3.0.11
* feat: stylint custom properties units
* feat: stimulus window instance

v3.0.10
## v3.0.10
* feat: stylelint and reformat to standard

v3.0.9
## v3.0.9
* remove: preload / bodyLoaded functionality

v3.0.8
## v3.0.8
* feat: eslint and reformat to standard

v3.0.7
## v3.0.7
* feat: tippy for interactive dropdowns

v3.0.6
## v3.0.6
* feat: improved form controls

v3.0.5
## v3.0.5
* improved: stimulus loaded as @stimulus/core

v3.0.0
## v3.0.0
* feat: initial release
38 changes: 17 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://ui.newlogic.cz/" target="_blank" rel="noopener noreferrer">
<img width="180" src="https://ui.newlogic.cz/favicons/favicon.svg" alt="Logo">
<img width="180" src="https://next.ui.newlogic.cz/favicon.svg" alt="Logo">
</a>
</p>
<p align="center">
Expand All @@ -10,49 +10,45 @@

# 🎨 Newlogic UI

Lightweight, modern and modular CSS framework with the best principles
Where Innovation Meets Simplicity.

- 💡 Modern
- 📦 Modular
- 📏 Responsive
- ✨️ Progressive
- ⚡️ Fast

Newlogic UI is component framework with easy syntax for backend integration. Modern approach of CSS properties, enriched with utility classes from TailwindCSS and powered by Winduum.

Javascript implementation is only **28 kB** and mainly intended for use on backend rendered websites and applications with PHP framework Nette
Component framework for modern backend driven web applications. Powered by Vite and Winduum.

## ⚙️ Under the hood
* **[Vituum](https://vituum.dev/)** - plugins for Vite, adds support for template engines and more.
* **[Newlogic Core](https://github.com/newlogic-digital/core)** - starter pack for creating modern web applications. Powered by Vite and Vituum.
* **[ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)** - completely written in modern JS syntax - esnext, ES modules, etc.
* **[PostCSS](https://postcss.org/)** - completely written in modern CSS syntax - nesting, variables, etc.
* **[Tailwind CSS](https://tailwindcss.com/)** - rich utility classes for everything
* **[Vituum](https://vituum.dev/)** - plugins for Vite, adds support for template engines, and more.
* **[Vite](https://vituum.dev/)** - next generation frontend tooling
* **[Winduum](https://winduum.dev/)** - a small modest CSS component framework for TailwindCSS
* **[Tailwind CSS](https://tailwindcss.com/)** - rapidly build modern websites without ever leaving your HTML
* **[Naja](https://naja.js.org/)** - a full-featured JS client-side AJAX library for Nette Framework
* **[Stimulus](https://stimulus.hotwire.dev/)** - a modest JavaScript framework for the HTML you already have
* **Dark mode** - creating dark mode was never easier
* **Easy syntax** - .ui-btn (ui elements), .c-component (components), .c-section (sections) etc.

* **[Swup](https://next.ui.newlogic.cz/docs/.html)** - versatile and extensible page transition library for server-rendered websites

Newlogic UI uses Newlogic Core, which compiles modern JS and CSS syntax via Vite and Vituum. Source code can be used with any other tools or even different environment than NodeJS, e.g. Deno and is written in W3C standards and should be runnable in current or future version of browsers.

## 🪄 Get started

Creating a new project (with Vituum and Newlogic Core)
Creating a new project
```sh
$ git clone --depth 1 https://github.com/newlogic-digital/ui.git newlogic-ui-project
$ cd newlogic-ui-project && npm i
git clone --depth 1 https://github.com/newlogic-digital/ui.git newlogic-ui-project
cd newlogic-ui-project && npm i
```
```sh
$ vite
npm run dev
```
or
```sh
$ vituum build
npm run build
```
___
Or in any other environment
```sh
$ npm i @newlogic-digital/ui
npm i @newlogic-digital/ui
```

```css
Expand All @@ -67,8 +63,8 @@ import "@newlogic-digital/ui/src/scripts/main.js"

### Requirements

- [Node.js LTS (16.x)](https://nodejs.org/en/download/)
- [NPM (9.x)](https://www.npmjs.com/package/npm) or any other package manager
- [Node.js LTS (22.x)](https://nodejs.org/en/download/)
- [NPM (10.x)](https://www.npmjs.com/package/npm) or any other package manager

## Licence
GNU GPLv3
Loading