@sesamy/sesamy-components 2.13.1 → 2.14.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 +22 -0
- package/dist/lib/sesamy-components.es.js +1093 -1099
- package/dist/lib/sesamy-components.umd.js +13 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,28 @@ A web component that provides authentication functionality, displaying a login b
|
|
|
41
41
|
<sesamy-login button-text="Sign In Now"></sesamy-login>
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
**Design tokens:**
|
|
45
|
+
```html
|
|
46
|
+
<sesamy-login
|
|
47
|
+
style="
|
|
48
|
+
--sesamy-font-family: Georgia; /* Sets font family, default Helvetica */
|
|
49
|
+
--sesamy-login-button-background-color: blue; /* Sets background color of the login button, default transparent */
|
|
50
|
+
--sesamy-login-button-text-color: green; /* Sets text color of the login button, default black */
|
|
51
|
+
--sesamy-login-button-border-color: pink; /* Sets border color of the login button, default black */
|
|
52
|
+
--sesamy-login-button-border-width: 5px; /* Sets border width of the login button, default 1px */
|
|
53
|
+
--sesamy-login-button-border-radius: 20px; /* Sets border radius of the login button, default */
|
|
54
|
+
--sesamy-login-button-font-weight: 100; /* Sets font weight of the login button, default 700 */
|
|
55
|
+
--sesamy-login-popup-width: 400px; /* Sets width of the login popup, default 18rem */
|
|
56
|
+
--sesamy-login-popup-bgcolor: green; /* Sets background color of the login popup, default white */
|
|
57
|
+
--sesamy-login-popup-textcolor: pink; /* Sets text color of the login popup, default black */
|
|
58
|
+
--sesamy-login-popup-border-color: red; /* Sets border color of the login popup, default #e5e7eb */
|
|
59
|
+
--sesamy-login-popup-border-width: 5px; /* Sets border width of the login popup, default 1px */
|
|
60
|
+
--sesamy-login-popup-border-radius: 20px; /* Sets border radius of the login popup, default 0.125rem */
|
|
61
|
+
--sesamy-login-popup-zindex: 100; /* Sets z-index of the login popup, default 10 */
|
|
62
|
+
"
|
|
63
|
+
></sesamy-login>
|
|
64
|
+
```
|
|
65
|
+
|
|
44
66
|
### sesamy-content-container
|
|
45
67
|
|
|
46
68
|
A web component that controls access to content based on user authentication and entitlements, with support for different content locking mechanisms.
|