@pie-lib/style-utils 0.8.0 → 0.9.0

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [0.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.8.0) (2025-07-31)
6
+ # [0.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.9.0) (2025-07-31)
7
7
 
8
8
  **Note:** Version bump only for package @pie-lib/style-utils
9
9
 
@@ -11,38 +11,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.7.0) (2025-07-31)
14
+ # [0.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.8.0) (2025-07-31)
15
15
 
16
16
  **Note:** Version bump only for package @pie-lib/style-utils
17
17
 
18
+ # [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.7.0) (2025-07-31)
18
19
 
19
-
20
-
20
+ **Note:** Version bump only for package @pie-lib/style-utils
21
21
 
22
22
  # [0.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.6.0) (2025-07-31)
23
23
 
24
24
  **Note:** Version bump only for package @pie-lib/style-utils
25
25
 
26
-
27
-
28
-
29
-
30
26
  # [0.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.5.0) (2025-07-31)
31
27
 
32
28
  **Note:** Version bump only for package @pie-lib/style-utils
33
29
 
34
-
35
-
36
-
37
-
38
30
  # [0.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.4.0) (2025-07-31)
39
31
 
40
32
  **Note:** Version bump only for package @pie-lib/style-utils
41
33
 
42
-
43
-
44
-
45
-
46
34
  # [0.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/style-utils@0.1.43...@pie-lib/style-utils@0.6.0) (2025-07-31)
47
35
 
48
36
  **Note:** Version bump only for package @pie-lib/style-utils
package/lib/index.js ADDED
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.noSelect = void 0;
7
+
8
+ /**
9
+ * disable text selection
10
+ */
11
+ var noSelect = function noSelect() {
12
+ return {
13
+ cursor: 'default',
14
+ '-webkit-user-select': 'none',
15
+ '-moz-user-select': 'none',
16
+ '-ms-user-select': 'none',
17
+ 'user-select': 'none'
18
+ };
19
+ };
20
+
21
+ exports.noSelect = noSelect;
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.js"],"names":["noSelect","cursor"],"mappings":";;;;;;;AAAA;AACA;AACA;AACO,IAAMA,QAAQ,GAAG,SAAXA,QAAW;AAAA,SAAO;AAC7BC,IAAAA,MAAM,EAAE,SADqB;AAE7B,2BAAuB,MAFM;AAG7B,wBAAoB,MAHS;AAI7B,uBAAmB,MAJU;AAK7B,mBAAe;AALc,GAAP;AAAA,CAAjB","sourcesContent":["/**\n * disable text selection\n */\nexport const noSelect = () => ({\n cursor: 'default',\n '-webkit-user-select': 'none',\n '-moz-user-select': 'none',\n '-ms-user-select': 'none',\n 'user-select': 'none',\n});\n"],"file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/style-utils",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "src/index.js",
@@ -10,5 +10,5 @@
10
10
  "scripts": {},
11
11
  "author": "",
12
12
  "license": "ISC",
13
- "gitHead": "b52ffaa60bc5a96e2ead9c2f6cfcd17e2db058f7"
13
+ "gitHead": "7ca3b0a214af57d742b4a9de6d8b424d31da1469"
14
14
  }