@karmo-co/drift-kit-public 0.0.0-stage → 23.18.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/LICENSE +9 -0
- package/README.md +19 -2
- package/components.js +11128 -0
- package/drift-data-countries.js +285 -0
- package/drift-icons-card.js +69 -0
- package/drift-icons-coolicon.js +480 -0
- package/drift-icons-feather.js +307 -0
- package/drift-icons-flag-circle.js +279 -0
- package/drift-icons-flag.js +257 -0
- package/drift-icons-lucide.js +2252 -0
- package/drift-icons-social.js +50 -0
- package/drift-kit.min.css +2 -0
- package/fonts/Inter-OFL.txt +92 -0
- package/fonts/Syne-OFL.txt +93 -0
- package/fonts/inter-italic-latin-ext.woff2 +0 -0
- package/fonts/inter-italic-latin.woff2 +0 -0
- package/fonts/inter-latin-ext.woff2 +0 -0
- package/fonts/inter-latin.woff2 +0 -0
- package/fonts/syne-latin-ext.woff2 +0 -0
- package/fonts/syne-latin.woff2 +0 -0
- package/package.json +15 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Copyright (c) Karmo. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This package contains built files of Karmo's Drift design system: a stylesheet, a behaviour script and icon scripts. It is published so that pages built for Karmo, including by Karmo's tools, can load them from a public address.
|
|
4
|
+
|
|
5
|
+
You may load these files in software built for Karmo. Any other use, including copying, modifying, redistributing or using them to build a design system, is not permitted without Karmo's written permission.
|
|
6
|
+
|
|
7
|
+
The fonts in fonts/ are not covered by this licence. Inter and Syne are each licensed under the SIL Open Font License, Version 1.1; their licences are in fonts/Inter-OFL.txt and fonts/Syne-OFL.txt.
|
|
8
|
+
|
|
9
|
+
The files are provided as is, without warranty of any kind.
|
package/README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @karmo-co/drift-kit-public
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The stylesheet, behaviour script, icons and fonts of Drift, Karmo's design system, at one kit version, so a plain HTML page can link them from a public address. The same files are served from Karmo's public kit bucket; this package puts them where Claude chat and Cowork previews can load them, through jsdelivr.
|
|
4
|
+
|
|
5
|
+
It holds built files only: no source, no React components, nothing that runs on install.
|
|
6
|
+
|
|
7
|
+
## Use
|
|
8
|
+
|
|
9
|
+
Link the version your page is built for, with each file's integrity from the kit's setup reference (`drift-kit-ref setup`):
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@<version>/drift-kit.min.css" integrity="<its integrity>" crossorigin="anonymous" />
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@<version>/components.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Then put `data-brand` and `data-theme` on `<body>`.
|
|
17
|
+
|
|
18
|
+
## Licence
|
|
19
|
+
|
|
20
|
+
© Karmo. All rights reserved, except the fonts. See LICENSE. Inter and Syne are under the SIL Open Font License 1.1, in `fonts/`.
|