funuicss 2.7.1 โ 2.7.3
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/css/fun.css +29 -1
- package/index.d.ts +2 -0
- package/index.js +5 -1
- package/index.tsx +2 -0
- package/package.json +2 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/card/Card.js +2 -2
- package/ui/card/Card.tsx +2 -1
- package/ui/carousel/Carousel.d.ts +9 -0
- package/ui/carousel/Carousel.js +78 -0
- package/ui/carousel/Carousel.tsx +73 -0
- package/ui/drop/Dropdown.d.ts +1 -0
- package/ui/drop/Dropdown.js +7 -5
- package/ui/drop/Dropdown.tsx +7 -1
- package/ui/richtext/RichText.d.ts +17 -0
- package/ui/richtext/RichText.js +112 -0
- package/ui/richtext/RichText.tsx +145 -0
- package/ui/specials/RowFlex.js +1 -1
- package/ui/specials/RowFlex.tsx +1 -1
- package/utils/Emojis.d.ts +14 -0
- package/utils/Emojis.js +59 -0
- package/utils/Emojis.tsx +59 -0
- package/utils/Functions.d.ts +1 -0
- package/utils/Functions.js +10 -0
- package/utils/Functions.tsx +9 -0
package/utils/Emojis.tsx
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export let EmojiSmiley = () => {
|
|
2
|
+
return [
|
|
3
|
+
'๐','๐','๐','๐','๐','๐
','๐คฃ','๐','๐','๐','๐','๐','๐','๐ฅฐ','๐','๐คฉ','๐','๐','โบ๏ธ','๐',
|
|
4
|
+
'๐','๐','๐','๐','๐คช','๐','๐ค','๐ค','๐คญ','๐คซ','๐ค','๐ค','๐ถ','๐','๐','๐','๐ฌ','๐คฅ','๐','๐',
|
|
5
|
+
'๐ช','๐คค','๐ด','๐ท','๐ค','๐ค','๐คข','๐คฎ','๐ฅต','๐ฅถ','๐ต','๐ฅด','๐','๐','๐','โน๏ธ','๐ฒ','๐ฏ','๐ณ',
|
|
6
|
+
'๐ฅบ','๐ฆ','๐ง','๐จ','๐ฐ','๐ฅ','๐ข','๐ญ','๐ฑ','๐','๐ฃ','๐','๐','๐ฉ','๐ซ','๐ฅฑ','๐ค','๐ก','๐ ',
|
|
7
|
+
'๐คฌ','๐','๐ฟ','๐','โ ๏ธ','๐คก','๐น','๐บ','๐ป','๐ฝ','๐พ','๐ค'
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
}
|
|
11
|
+
export let EmojiGesture = () => {
|
|
12
|
+
return [
|
|
13
|
+
'๐','๐ค','๐๏ธ','โ','๐','๐','๐ค','๐ค','โ๏ธ','๐ค','๐ซฐ','๐ซต','๐ซฑ','๐ซฒ','๐ค','๐ค','๐ค','๐','๐','๐',
|
|
14
|
+
'๐','๐','โ๏ธ','๐','๐','โ','๐','๐ค','๐ค','๐','๐','๐','๐คฒ','๐','๐ช','๐ฆพ','๐ฆฟ','๐ฆต','๐ฆถ'
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export let EmojiSymbol = () => {
|
|
19
|
+
return [
|
|
20
|
+
'โค๏ธ','๐งก','๐','๐','๐','๐','๐ค','๐ค','๐ค','๐','โฃ๏ธ','๐','๐','๐','๐','๐','๐','๐','๐',
|
|
21
|
+
'๐ฏ','๐ข','๐ฅ','๐ซ','๐ฆ','๐จ','๐ณ๏ธ','๐ฃ','๐ฌ','๐๏ธโ๐จ๏ธ','๐จ๏ธ','๐ฏ๏ธ','๐ญ','๐','๐','๐','๐ต','๐ถ',
|
|
22
|
+
'๐ผ','๐ฅ','โญ','๐','โจ','โก','๐ก','๐','๐','๐','๐','๐'
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
export let EmojiTravel = () => {
|
|
27
|
+
return [
|
|
28
|
+
'๐','๐','โ๏ธ','๐ฉ๏ธ','๐','๐','๐','๐','๐','๐๏ธ','๐','๐','๐','๐','๐','๐','๐ป','๐','๐ด','๐ฒ',
|
|
29
|
+
'๐ต','๐๏ธ','๐บ','๐จ','๐','๐','๐','๐','๐ก','๐','๐ ','๐','๐','๐','๐','๐','๐
','๐','๐','๐',
|
|
30
|
+
'๐ซ','๐ฌ','๐ฐ๏ธ','๐บ','๐ถ','โต','๐ค','๐ณ๏ธ','โด๏ธ','๐ข'
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
export let EmojiPeople = () => {
|
|
35
|
+
return [
|
|
36
|
+
'๐ถ','๐ง','๐ฆ','๐ง','๐ง','๐ฑ','๐จ','๐ฉ','๐ง','๐ด','๐ต','๐','๐','๐
','๐','๐','๐','๐ง','๐','๐คฆ',
|
|
37
|
+
'๐คท','๐งโโ๏ธ','๐จโโ๏ธ','๐ฉโโ๏ธ','๐งโ๐','๐จโ๐','๐ฉโ๐','๐งโ๐ซ','๐จโ๐ซ','๐ฉโ๐ซ','๐งโโ๏ธ','๐จโโ๏ธ','๐ฉโโ๏ธ','๐งโ๐พ',
|
|
38
|
+
'๐จโ๐พ','๐ฉโ๐พ','๐งโ๐ณ','๐จโ๐ณ','๐ฉโ๐ณ','๐งโ๐ง','๐จโ๐ง','๐ฉโ๐ง','๐งโ๐ญ','๐จโ๐ญ','๐ฉโ๐ญ'
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
export let EmojiAminal = () => {
|
|
43
|
+
return [
|
|
44
|
+
'๐ถ','๐ฑ','๐ญ','๐น','๐ฐ','๐ฆ','๐ป','๐ผ','๐จ','๐ฏ','๐ฆ','๐ฎ','๐ท','๐ธ','๐ต','๐','๐','๐','๐','๐',
|
|
45
|
+
'๐ง','๐ฆ','๐ค','๐ฃ','๐ฅ','๐ฆ','๐ฆ
','๐ฆ','๐ฆ','๐บ','๐','๐ด','๐ฆ','๐','๐','๐ฆ','๐','๐','๐','๐ชฒ'
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export let AllEmojis = {
|
|
53
|
+
'Animals':EmojiAminal(),
|
|
54
|
+
'People':EmojiPeople(),
|
|
55
|
+
'Travel':EmojiTravel(),
|
|
56
|
+
'Smiley':EmojiSmiley(),
|
|
57
|
+
'Gesture':EmojiGesture(),
|
|
58
|
+
'Symbols':EmojiSymbol(),
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isTouchDevice(): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isTouchDevice = isTouchDevice;
|
|
4
|
+
function isTouchDevice() {
|
|
5
|
+
// Check for touch events
|
|
6
|
+
var hasTouchSupport = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
|
|
7
|
+
// Check for typical mobile user agents
|
|
8
|
+
var isMobileAgent = /Mobi|Android|iPhone|iPad|iPod|Opera Mini|IEMobile/i.test(navigator.userAgent);
|
|
9
|
+
return hasTouchSupport && isMobileAgent;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function isTouchDevice(): boolean {
|
|
2
|
+
// Check for touch events
|
|
3
|
+
const hasTouchSupport = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
|
|
4
|
+
|
|
5
|
+
// Check for typical mobile user agents
|
|
6
|
+
const isMobileAgent = /Mobi|Android|iPhone|iPad|iPod|Opera Mini|IEMobile/i.test(navigator.userAgent);
|
|
7
|
+
|
|
8
|
+
return hasTouchSupport && isMobileAgent;
|
|
9
|
+
}
|