uiik 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- ![npm](https://img.shields.io/npm/v/uii?style=plastic)
2
- ![NPM](https://img.shields.io/npm/l/uii)
1
+ ![npm](https://img.shields.io/npm/v/uiik?style=plastic)
2
+ ![NPM](https://img.shields.io/npm/l/uiik)
3
3
 
4
- # Uii
4
+ # Uiik
5
5
  A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.
6
6
  > English | [中文](./README_ZH.md)
7
7
 
8
- - [📑 Documentation](https://holyhigh2.github.io/uii/)
9
- - [⚡ Play on StackBlitz](https://stackblitz.com/edit/func-js?file=index.ts)
8
+ - [📑 Documentation](https://holyhigh2.github.io/uiik/)
9
+ - [⚡ Play on StackBlitz](https://stackblitz.com/edit/uiik)
10
10
 
11
11
  ## Features
12
12
  - Draggable/Droppable/Splittable/rotatable/selectable/Resizable
@@ -16,20 +16,20 @@ A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.
16
16
  ## Quick start
17
17
  1. install
18
18
  ```sh
19
- npm i uii
19
+ npm i uiik
20
20
  ```
21
21
  2. import
22
22
  ```ts
23
- import uii from 'uii'
23
+ import uiik from 'uiik'
24
24
  //or
25
- import {newSplittable} from 'uii'
25
+ import {newSplittable} from 'uiik'
26
26
  //or
27
- import {Splittable} from 'uii'
27
+ import {Splittable} from 'uiik'
28
28
  //or
29
- import uii from 'https://cdn.skypack.dev/uii'
29
+ import uiik from 'https://cdn.skypack.dev/uiik'
30
30
  ```
31
31
 
32
32
  ## Development
33
33
  1. use `test` to do jest
34
- 2. use `build` to rollup uii
34
+ 2. use `build` to rollup uiik
35
35
  3. use `doc` to gen tsdoc
package/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * uiik v1.0.0
2
+ * uiik v1.0.1
3
3
  * A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.
4
- * https://github.com/holyhigh2/uii
4
+ * https://github.com/holyhigh2/uiik
5
5
  * c) 2021-2023 @holyhigh2 may be freely distributed under the MIT license
6
6
  */
7
7
  import { isArrayLike, isString, map, isElement, toArray, each, assign, reject, includes, isArray, isEmpty, call, isNumber, isFunction, isDefined, isUndefined, closest, some, compact, split, test, flatMap } from '@holyhigh/func.js';
@@ -1928,10 +1928,10 @@ function newSelectable(container, opts) {
1928
1928
  return new Selectable(container, opts);
1929
1929
  }
1930
1930
 
1931
- var version = "1.0.0";
1931
+ var version = "1.0.1";
1932
1932
  var repository = {
1933
1933
  type: "git",
1934
- url: "https://github.com/holyhigh2/uii"
1934
+ url: "https://github.com/holyhigh2/uiik"
1935
1935
  };
1936
1936
 
1937
1937
  // welcome info
@@ -1949,7 +1949,7 @@ if (!welcome) {
1949
1949
  ssAry[i] = 'color:#fff;' + cu;
1950
1950
  }
1951
1951
  });
1952
- console.info(`%c %c %c Uii - UI Interactions | v${version} %c %c `, ...ssAry, `💎 ${repository.url}`);
1952
+ console.info(`%c %c %c Uiik - UI Interactions Kit | v${version} %c %c `, ...ssAry, `💎 ${repository.url}`);
1953
1953
  if (globalThis.top) {
1954
1954
  globalThis.top.welcome = true;
1955
1955
  }
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * uiik v1.0.0
2
+ * uiik v1.0.1
3
3
  * A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.
4
- * https://github.com/holyhigh2/uii
4
+ * https://github.com/holyhigh2/uiik
5
5
  * c) 2021-2023 @holyhigh2 may be freely distributed under the MIT license
6
6
  */
7
7
  (function (global, factory) {
@@ -1932,10 +1932,10 @@
1932
1932
  return new Selectable(container, opts);
1933
1933
  }
1934
1934
 
1935
- var version = "1.0.0";
1935
+ var version = "1.0.1";
1936
1936
  var repository = {
1937
1937
  type: "git",
1938
- url: "https://github.com/holyhigh2/uii"
1938
+ url: "https://github.com/holyhigh2/uiik"
1939
1939
  };
1940
1940
 
1941
1941
  // welcome info
@@ -1953,7 +1953,7 @@
1953
1953
  ssAry[i] = 'color:#fff;' + cu;
1954
1954
  }
1955
1955
  });
1956
- console.info(`%c %c %c Uii - UI Interactions | v${version} %c %c `, ...ssAry, `💎 ${repository.url}`);
1956
+ console.info(`%c %c %c Uiik - UI Interactions Kit | v${version} %c %c `, ...ssAry, `💎 ${repository.url}`);
1957
1957
  if (globalThis.top) {
1958
1958
  globalThis.top.welcome = true;
1959
1959
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uiik",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.",
5
5
  "main": "index.js",
6
6
  "module": "index.esm.js",
@@ -9,9 +9,9 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/holyhigh2/uii"
12
+ "url": "https://github.com/holyhigh2/uiik"
13
13
  },
14
- "bugs": "https://github.com/holyhigh2/uii/issues/new",
14
+ "bugs": "https://github.com/holyhigh2/uiik/issues/new",
15
15
  "keywords": [
16
16
  "js",
17
17
  "dom",