Skip to content

Commit

Permalink
1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalou38 committed Nov 18, 2022
1 parent 9b4cf60 commit bf86984
Show file tree
Hide file tree
Showing 11 changed files with 148 additions and 149 deletions.
136 changes: 68 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
![Konsta UI](https://konstaui.com/images/share-banner.png)

# Konsta UI

Konsta UI - Pixel perfect mobile UI components built with Tailwind CSS with iOS and Material Design components for React, Vue & Svelte

## Sponsors

<!-- SPONSORS_TABLE_WRAP -->
<table>
<tr>
<td align="center" valign="middle">
<a href="https://www.noneedtostudy.com/take-my-online-class/" target="_blank">
<img src="https://konstaui.com/images/sponsors/noneedtostudy.png" alt="Pay someone to do online class? NoNeedToStudy.com" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://www.casinoutanlicens.io/" target="_blank">
<img src="https://konstaui.com/images/sponsors/casinoutanlicens.png" alt="Casino utan svensk licens" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://casinoscrypto.com" target="_blank">
<img src="https://konstaui.com/images/sponsors/casinoscrypto.png" alt="Best Crypto Casinos | Top Bitcoin Gambling Sites (2022)" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://cryptocurrencycodes.com" target="_blank">
<img src="https://konstaui.com/images/sponsors/cryptocurrencycodes.png" alt="Top FREE Crypto Sign Up Bonuses & Referral Codes" width="160">
</a>
</td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
</tr>
</table>
<!-- SPONSORS_TABLE_WRAP -->

## Documentation

Documentation available at https://konstaui.com

## Konsta UI Development

First, install all dependencies:

```
$ npm install
```

### Production Builds

To build production versions the following npm scripts are available:

- `build` - build production version

Compiled results will be available in `package/` folder.

## Kitchen Sink

To run Kitchen Sink with development environment (development version will be built first) use the following npm scripts:

- `react` - build development version of Konsta UI React package and run React Kitchen Sink

## Contributing

All changes should be committed to `src/` files only. Before you open an issue please review the [contributing guideline](https://github.com/konstaui/konsta/blob/master/CONTRIBUTING.md).
![Konsta UI](https://konstaui.com/images/share-banner.png)

# Konsta UI

Konsta UI - Pixel perfect mobile UI components built with Tailwind CSS with iOS and Material Design components for React, Vue & Svelte

## Sponsors

<!-- SPONSORS_TABLE_WRAP -->
<table>
<tr>
<td align="center" valign="middle">
<a href="https://www.noneedtostudy.com/take-my-online-class/" target="_blank">
<img src="https://konstaui.com/images/sponsors/noneedtostudy.png" alt="Pay someone to do online class? NoNeedToStudy.com" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://www.casinoutanlicens.io/" target="_blank">
<img src="https://konstaui.com/images/sponsors/casinoutanlicens.png" alt="Casino utan svensk licens" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://casinoscrypto.com" target="_blank">
<img src="https://konstaui.com/images/sponsors/casinoscrypto.png" alt="Best Crypto Casinos | Top Bitcoin Gambling Sites (2022)" width="160">
</a>
</td>
<td align="center" valign="middle">
<a href="https://cryptocurrencycodes.com" target="_blank">
<img src="https://konstaui.com/images/sponsors/cryptocurrencycodes.png" alt="Top FREE Crypto Sign Up Bonuses & Referral Codes" width="160">
</a>
</td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
<td align="center" valign="middle"></td>
</tr>
</table>
<!-- SPONSORS_TABLE_WRAP -->

## Documentation

Documentation available at https://konstaui.com

## Konsta UI Development

First, install all dependencies:

```
$ npm install
```

### Production Builds

To build production versions the following npm scripts are available:

- `build` - build production version

Compiled results will be available in `package/` folder.

## Kitchen Sink

To run Kitchen Sink with development environment (development version will be built first) use the following npm scripts:

- `react` - build development version of Konsta UI React package and run React Kitchen Sink

## Contributing

All changes should be committed to `src/` files only. Before you open an issue please review the [contributing guideline](https://github.com/konstaui/konsta/blob/master/CONTRIBUTING.md).
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "konsta",
"description": "Mobile UI components made with Tailwind CSS",
"version": "1.0.2",
"version": "1.1.0",
"private": true,
"license": "MIT",
"author": "Vladimir Kharlampidi",
Expand Down
18 changes: 9 additions & 9 deletions package/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
![Konsta UI](https://konstaui.com/images/share-banner.png)

# Konsta UI

Konsta UI - Pixel perfect mobile UI components built with Tailwind CSS with iOS and Material Design components for React, Vue & Svelte

## Documentation

Documentation available at https://konstaui.com
![Konsta UI](https://konstaui.com/images/share-banner.png)

# Konsta UI

Konsta UI - Pixel perfect mobile UI components built with Tailwind CSS with iOS and Material Design components for React, Vue & Svelte

## Documentation

Documentation available at https://konstaui.com
4 changes: 2 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "konsta",
"version": "1.0.2",
"version": "1.1.0",
"description": "Mobile UI components made with Tailwind CSS",
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"engines": {
"node": ">= 4.7.0"
},
"releaseDate": "September 16, 2022",
"releaseDate": "November 18, 2022",
"svelte": "./svelte/konsta-svelte.js",
"exports": {
"./package.json": "./package.json",
Expand Down
30 changes: 15 additions & 15 deletions package/react/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "konsta/react",
"private": true,
"main": "./cjs/konsta-react.js",
"jsnext:main": "./esm/konsta-react.js",
"module": "./esm/konsta-react.js",
"types": "./konsta-react.d.ts",
"type": "module",
"exports": {
".": {
"import": "./esm/konsta-react.js",
"require": "./cjs/konsta-react.js"
}
}
}
{
"name": "konsta/react",
"private": true,
"main": "./cjs/konsta-react.js",
"jsnext:main": "./esm/konsta-react.js",
"module": "./esm/konsta-react.js",
"types": "./konsta-react.d.ts",
"type": "module",
"exports": {
".": {
"import": "./esm/konsta-react.js",
"require": "./cjs/konsta-react.js"
}
}
}
22 changes: 11 additions & 11 deletions package/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "konsta/shared",
"private": true,
"type": "module",
"exports": {
"./esm/*": {
"import": "./esm/*",
"require": "./cjs/*"
}
}
}
{
"name": "konsta/shared",
"private": true,
"type": "module",
"exports": {
"./esm/*": {
"import": "./esm/*",
"require": "./cjs/*"
}
}
}
30 changes: 15 additions & 15 deletions package/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "konsta/svelte",
"private": true,
"main": "./konsta-svelte.js",
"jsnext:main": "./konsta-svelte.js",
"module": "./konsta-svelte.js",
"types": "./konsta-svelte.d.ts",
"svelte": "./konsta-svelte.js",
"type": "module",
"exports": {
".": {
"import": "./konsta-svelte.js"
}
}
}
{
"name": "konsta/svelte",
"private": true,
"main": "./konsta-svelte.js",
"jsnext:main": "./konsta-svelte.js",
"module": "./konsta-svelte.js",
"types": "./konsta-svelte.d.ts",
"svelte": "./konsta-svelte.js",
"type": "module",
"exports": {
".": {
"import": "./konsta-svelte.js"
}
}
}
34 changes: 17 additions & 17 deletions package/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "konsta/vue",
"private": true,
"main": "./konsta-vue.js",
"jsnext:main": "./konsta-vue.js",
"module": "./konsta-vue.js",
"vue": "./konsta-vue.js",
"types": "./konsta-vue.d.ts",
"type": "module",
"exports": {
".": {
"vue": "./konsta-vue.js",
"import": "./konsta-vue.js",
"require": "./konsta-vue.js"
}
}
}
{
"name": "konsta/vue",
"private": true,
"main": "./konsta-vue.js",
"jsnext:main": "./konsta-vue.js",
"module": "./konsta-vue.js",
"vue": "./konsta-vue.js",
"types": "./konsta-vue.d.ts",
"type": "module",
"exports": {
".": {
"vue": "./konsta-vue.js",
"import": "./konsta-vue.js",
"require": "./konsta-vue.js"
}
}
}
2 changes: 1 addition & 1 deletion src/svelte/konsta-svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import Toolbar from './components/Toolbar.svelte';
// eslint-disable-next-line
import KonstaProvider from './shared/KonstaProvider.svelte';
import { useTheme } from './shared/use-theme.js';
import { touchRipple } from './shared/touch-ripple-action';
import { touchRipple } from './shared/touch-ripple-action.js';

export {
// utils
Expand Down
14 changes: 7 additions & 7 deletions src/svelte/shared/touch-ripple-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { useTouchRipple } from './use-touch-ripple.js';
* @returns void
*/
export function touchRipple(node, styles = true) {
if (!node) return;
if (styles) {
node.style.position = 'relative';
node.style.overflow = 'hidden';
}
const el = { current: node };
if (!node) return;
if (styles) {
node.style.position = 'relative';
node.style.overflow = 'hidden';
}
const el = { current: node };

useTouchRipple(el, true);
useTouchRipple(el, true);
}

0 comments on commit bf86984

Please sign in to comment.