@tamer4lynx/tamer-icons 0.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 +44 -0
- package/android/build.gradle.kts +28 -0
- package/android/src/main/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/android/src/main/assets/fonts/MaterialSymbolsOutlined.ttf +0 -0
- package/android/src/main/assets/fonts/fa-solid-900.ttf +0 -0
- package/android/src/main/assets/fonts/material-codepoints.txt +4206 -0
- package/android/src/main/kotlin/com/nanofuxion/tamericons/IconCodepoints.kt +60 -0
- package/android/src/main/kotlin/com/nanofuxion/tamericons/IconDrawable.kt +92 -0
- package/android/src/main/kotlin/com/nanofuxion/tamericons/IconElement.kt +162 -0
- package/dist/fontawesome-codepoints.d.ts +2 -0
- package/dist/fontawesome-codepoints.d.ts.map +1 -0
- package/dist/fontawesome-codepoints.js +20 -0
- package/dist/fonts.css +13 -0
- package/dist/fonts.d.ts +7 -0
- package/dist/fonts.d.ts.map +1 -0
- package/dist/fonts.js +6 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/material-codepoints.d.ts +2 -0
- package/dist/material-codepoints.d.ts.map +1 -0
- package/dist/material-codepoints.js +56 -0
- package/dist/plugin.d.ts +3 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +43 -0
- package/dist/tamer.config.d.ts +5 -0
- package/dist/tamer.config.d.ts.map +1 -0
- package/dist/tamer.config.js +4 -0
- package/fonts/MaterialIcons-Regular.ttf +0 -0
- package/fonts/MaterialSymbolsOutlined.ttf +0 -0
- package/fonts/fa-solid-900.ttf +0 -0
- package/ios/tamericons/tamericons/Classes/TamerIconElement.h +10 -0
- package/ios/tamericons/tamericons/Classes/TamerIconElement.m +307 -0
- package/ios/tamericons/tamericons/Resources/MaterialSymbolsOutlined.ttf +0 -0
- package/ios/tamericons/tamericons/Resources/fa-solid-900.ttf +0 -0
- package/ios/tamericons/tamericons/Resources/material-codepoints.txt +4206 -0
- package/ios/tamericons/tamericons.podspec +26 -0
- package/lynx.ext.json +17 -0
- package/package.json +48 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
|
|
2
|
+
|
|
3
|
+
Pod::Spec.new do |s|
|
|
4
|
+
s.name = 'tamericons'
|
|
5
|
+
s.version = package["version"]
|
|
6
|
+
s.module_name = 'tamericons'
|
|
7
|
+
s.summary = 'Native icon font element for Lynx on iOS.'
|
|
8
|
+
s.description = 'Registers the icon custom element and bundles font resources for iOS.'
|
|
9
|
+
s.homepage = 'https://github.com/nanofuxion/tamer4lynx'
|
|
10
|
+
s.license = package["license"]
|
|
11
|
+
s.authors = package["author"]
|
|
12
|
+
s.source = { :path => '.' }
|
|
13
|
+
s.ios.deployment_target = '13.0'
|
|
14
|
+
s.source_files = 'tamericons/Classes/**/*.{h,m}'
|
|
15
|
+
s.public_header_files = 'tamericons/Classes/**/*.h'
|
|
16
|
+
s.resource_bundles = {
|
|
17
|
+
'tamericons' => [
|
|
18
|
+
'tamericons/Resources/MaterialSymbolsOutlined.ttf',
|
|
19
|
+
'tamericons/Resources/fa-solid-900.ttf',
|
|
20
|
+
'tamericons/Resources/material-codepoints.txt'
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
|
24
|
+
s.dependency 'Lynx'
|
|
25
|
+
s.requires_arc = true
|
|
26
|
+
end
|
package/lynx.ext.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"platforms": {
|
|
3
|
+
"android": {
|
|
4
|
+
"packageName": "com.nanofuxion.tamericons",
|
|
5
|
+
"sourceDir": "android",
|
|
6
|
+
"elements": {
|
|
7
|
+
"icon": "com.nanofuxion.tamericons.IconElement"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"ios": {
|
|
11
|
+
"podspecPath": "ios/tamericons",
|
|
12
|
+
"elements": {
|
|
13
|
+
"icon": "TamerIconElement"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tamer4lynx/tamer-icons",
|
|
3
|
+
"publishConfig": { "access": "public", "tag": "prerelease" },
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Icon fonts for Lynx: Material Icons, Font Awesome. Tfont, GoogleIcons, FontAwesome components.",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./tamer.config": {
|
|
16
|
+
"types": "./dist/tamer.config.d.ts",
|
|
17
|
+
"import": "./dist/tamer.config.js",
|
|
18
|
+
"default": "./dist/tamer.config.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": ["dist", "fonts", "android/src", "android/build.gradle.kts", "ios", "lynx.ext.json"],
|
|
22
|
+
"lynx": { "ext": "lynx.ext.json" },
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@lynx-js/react": ">=0.100.0",
|
|
25
|
+
"react": "^17.0.0"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"fetch-fonts": "node scripts/fetch-fonts.mjs",
|
|
29
|
+
"build": "npm run fetch-fonts && node scripts/generate-codepoints.mjs && npm run copy-android-fonts && tsc",
|
|
30
|
+
"copy-android-fonts": "mkdir -p android/src/main/assets/fonts && cp fonts/*.ttf android/src/main/assets/fonts/ 2>/dev/null || true",
|
|
31
|
+
"prepare": "npm run build"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@lynx-js/react": "^0.112.1",
|
|
35
|
+
"@lynx-js/types": "3.3.0",
|
|
36
|
+
"@types/react": "^17.0.0",
|
|
37
|
+
"react": "^17.0.2",
|
|
38
|
+
"typescript": "~5.8.0"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=18"
|
|
42
|
+
},
|
|
43
|
+
"repository": { "type": "git", "url": "https://github.com/tamer4lynx/tamer-icons.git" },
|
|
44
|
+
"homepage": "https://github.com/tamer4lynx/tamer-icons#readme",
|
|
45
|
+
"bugs": { "url": "https://github.com/tamer4lynx/tamer-icons/issues" },
|
|
46
|
+
"author": "Nanofuxion",
|
|
47
|
+
"license": "MIT"
|
|
48
|
+
}
|