@carefirst/library 4.1.2 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "minus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print", "search", "flame"];
1
+ export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "minus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print", "search", "flame", "bank-cards", "swipe-bank-card"];
2
2
  export type IconsT = (typeof iconsC)[number];
3
3
  export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
4
4
  export type IconColorT = (typeof iconColorC)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "4.1.2",
3
+ "version": "4.2.0",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -127,3 +127,19 @@ cf-badge:has(div.stretch) {
127
127
  width: 100%;
128
128
  display: block;
129
129
  }
130
+
131
+ /*===============================================
132
+ ============== Opacity Background ==============
133
+ ===============================================*/
134
+ @mixin opacity($percentage) {
135
+ background-color: color-mix(in srgb, var(--cf-app-color-accent) $percentage, var(--cf-app-background-light));
136
+ border: 1px solid var(--cf-app-color-accent);
137
+ }
138
+
139
+ .background-opacity-25 {
140
+ @include opacity(25%);
141
+ }
142
+
143
+ .background-opacity-50 {
144
+ @include opacity(50%);
145
+ }