@urnetwork/elements 0.0.0-beta.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 +30 -0
- package/dist/assets/styles.css +1 -0
- package/dist/components/back-button/back-button.d.ts +14 -0
- package/dist/components/back-button/back-button.styles.d.ts +1 -0
- package/dist/components/back-button/index.d.ts +1 -0
- package/dist/components/button/button.d.ts +23 -0
- package/dist/components/button/button.styles.d.ts +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/icons/icon-back.d.ts +11 -0
- package/dist/components/icons/icon-back.styles.d.ts +1 -0
- package/dist/components/icons/icon-base.styles.d.ts +1 -0
- package/dist/components/icons/icon-connect-globe.d.ts +11 -0
- package/dist/components/icons/icon-connect-globe.styles.d.ts +1 -0
- package/dist/components/icons/icon-hamburger.d.ts +11 -0
- package/dist/components/icons/icon-hamburger.styles.d.ts +1 -0
- package/dist/components/icons/icon-network-instability.d.ts +12 -0
- package/dist/components/icons/icon-network-instability.styles.d.ts +1 -0
- package/dist/components/icons/icon-privacy.d.ts +12 -0
- package/dist/components/icons/icon-privacy.styles.d.ts +1 -0
- package/dist/components/icons/icon-spinner.d.ts +12 -0
- package/dist/components/icons/icon-spinner.styles.d.ts +1 -0
- package/dist/components/icons/icon-warning.d.ts +11 -0
- package/dist/components/icons/icon-warning.styles.d.ts +1 -0
- package/dist/components/icons/index.d.ts +6 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.d.ts +29 -0
- package/dist/components/input/input.styles.d.ts +1 -0
- package/dist/components/location-list-item/index.d.ts +1 -0
- package/dist/components/location-list-item/location-list-item.d.ts +18 -0
- package/dist/components/location-list-item/location-list-item.styles.d.ts +1 -0
- package/dist/components/menu/index.d.ts +3 -0
- package/dist/components/menu/menu-button.d.ts +11 -0
- package/dist/components/menu/menu-button.styles.d.ts +1 -0
- package/dist/components/menu/menu-item.d.ts +13 -0
- package/dist/components/menu/menu-item.styles.d.ts +1 -0
- package/dist/components/menu/menu.d.ts +21 -0
- package/dist/components/menu/menu.styles.d.ts +1 -0
- package/dist/components/selected-location/index.d.ts +1 -0
- package/dist/components/selected-location/selected-location.d.ts +18 -0
- package/dist/components/selected-location/selected-location.styles.d.ts +1 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/spinner.d.ts +14 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/text.d.ts +19 -0
- package/dist/components/text/text.styles.d.ts +1 -0
- package/dist/components.js +23 -0
- package/dist/my-element.d.ts +26 -0
- package/dist/react/back-button/back-button.d.ts +15 -0
- package/dist/react/back-button/index.d.ts +2 -0
- package/dist/react/button/button.d.ts +19 -0
- package/dist/react/button/index.d.ts +2 -0
- package/dist/react/icons/icon-hamburger/icon-hamburger.d.ts +10 -0
- package/dist/react/icons/icon-hamburger/index.d.ts +2 -0
- package/dist/react/icons/icon-spinner/icon-spinner.d.ts +11 -0
- package/dist/react/icons/icon-spinner/index.d.ts +2 -0
- package/dist/react/icons/index.d.ts +4 -0
- package/dist/react/index.d.ts +18 -0
- package/dist/react/input/index.d.ts +2 -0
- package/dist/react/input/input.d.ts +31 -0
- package/dist/react/location-list-item/index.d.ts +2 -0
- package/dist/react/location-list-item/location-list-item.d.ts +18 -0
- package/dist/react/menu/index.d.ts +6 -0
- package/dist/react/menu/menu-button.d.ts +11 -0
- package/dist/react/menu/menu-item.d.ts +15 -0
- package/dist/react/menu/menu.d.ts +15 -0
- package/dist/react/selected-location/index.d.ts +2 -0
- package/dist/react/selected-location/selected-location.d.ts +18 -0
- package/dist/react/text/index.d.ts +2 -0
- package/dist/react/text/text.d.ts +16 -0
- package/dist/react.js +152 -0
- package/dist/selected-location-CzeT_ZqM.js +2489 -0
- package/dist/styles.d.ts +1 -0
- package/dist/styles.js +1 -0
- package/dist/utils/color-utils.d.ts +7 -0
- package/dist/vite.svg +1 -0
- package/package.json +59 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# URnetwork Web Elements
|
|
2
|
+
|
|
3
|
+
This repository contains UI web components for the URnetwork project, built using Lit and React.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
`components/` - Contains reusable web components built with Lit.
|
|
8
|
+
`react/` - Contains React wrappers for the web components.
|
|
9
|
+
|
|
10
|
+
## Development
|
|
11
|
+
|
|
12
|
+
Create a new component in the `components/` directory.
|
|
13
|
+
To see it, place the new component in the `index.html` file.
|
|
14
|
+
Run `npm run dev` to start the development server.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
These elements use paid fonts, in order to use this package in your project, please ensure you have the appropriate font licenses.
|
|
19
|
+
|
|
20
|
+
https://abcdinamo.com/typefaces/gravity
|
|
21
|
+
https://pangrampangram.com/products/bitmap-neuebit
|
|
22
|
+
https://pangrampangram.com/products/neue-montreal
|
|
23
|
+
|
|
24
|
+
## Deployment
|
|
25
|
+
|
|
26
|
+
- Make sure everything is committed and pushed to the main branch.
|
|
27
|
+
- If you're not already, login to npm with `npm login`.
|
|
28
|
+
- Run `npm pack --dry-run` to see what will be included in the package.
|
|
29
|
+
- If everything looks good, run `npm run release:patch` to publish the package. There are also `release:minor` and `release:major` scripts available for versioning.
|
|
30
|
+
- Tag it on Github after publishing like `git tag vx.y.z` and `git push --tags`.
|