@datarailsshared/datarailsshared 1.6.416 → 1.6.417

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.
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../dr-tooltip/dr-tooltip.directive";
3
+ export type TBadgeNewSize = 'medium' | 'small' | 'x-small';
4
+ export type TBadgeNewBgColor = 'light-purple' | 'water' | 'baby-blue' | 'baby-pink' | 'light-turquoise' | 'bright-green' | 'stone' | 'peach' | 'soft-coral' | 'pale-yellow' | 'pastel-olive' | 'powder-blue-grey' | 'muted-plum' | 'purple' | 'transparent' | 'status-info' | 'status-progress' | 'status-error' | 'status-warning' | 'status-success' | 'status-regular';
5
+ export type TBadgeNewTextColor = 'main' | 'secondary' | 'white' | 'status-info' | 'status-progress' | 'status-error' | 'status-warning' | 'status-success' | 'status-regular';
6
+ export type TBadgeNewTextStyle = 'caption-1' | 'caption-2' | 'caption-3';
7
+ export declare class DrBadgeNewComponent {
8
+ bgColor: TBadgeNewBgColor;
9
+ textColor: TBadgeNewTextColor;
10
+ textStyle: TBadgeNewTextStyle;
11
+ size: TBadgeNewSize;
12
+ showDot: boolean;
13
+ icon: string;
14
+ spinIcon: boolean;
15
+ suffixIcon: string;
16
+ tooltip: string;
17
+ tooltipClass: string;
18
+ get elementClasses(): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrBadgeNewComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrBadgeNewComponent, "dr-badge-new", never, { "bgColor": { "alias": "bgColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showDot": { "alias": "showDot"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "spinIcon": { "alias": "spinIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DrTooltipDirective; inputs: { "drTooltip": "tooltip"; "drTooltipClass": "tooltipClass"; }; outputs: {}; }]>;
21
+ }
package/local-api.d.ts CHANGED
@@ -135,6 +135,7 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
135
135
  export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
136
136
  export { DrProgressBarComponent, TProgressBarTheme } from './lib/dr-progress-bar/dr-progress-bar.component';
137
137
  export { DrBadgeComponent, TBadgeColor, TBadgeSize } from './lib/dr-badge/dr-badge.component';
138
+ export { DrBadgeNewComponent, TBadgeNewSize, TBadgeNewBgColor, TBadgeNewTextColor, TBadgeNewTextStyle, } from './lib/dr-badge-new/dr-badge-new.component';
138
139
  export { DrSystemMessageComponent, TSystemMessageTheme } from './lib/dr-system-message/dr-system-message.component';
139
140
  export * from './lib/dr-modal/public-api';
140
141
  export * from './lib/drawer/public-api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.416",
3
+ "version": "1.6.417",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
package/styles.scss CHANGED
@@ -567,6 +567,14 @@ $dr-chat-avatar-right-indent: 16px;
567
567
  $dr-chat-header-text-indent: 20px;
568
568
  $dr-chat-box-shadow: 0px 2px 36px 0px rgba(0, 0, 0, 0.15);
569
569
 
570
+ // DR border radius variables
571
+ $dr-border-radius-small: 4px;
572
+ $dr-border-radius-medium: 6px;
573
+ $dr-border-radius-regular: 8px;
574
+ $dr-border-radius-large: 12px;
575
+ $dr-border-radius-x-large: 16px;
576
+ $dr-border-radius-round: 32px;
577
+
570
578
  // DR spacing variables (margin, paddings, etc.)
571
579
  $dr-spacing-xxx-small: 2px;
572
580
  $dr-spacing-xx-small: 4px;
@@ -577,6 +585,7 @@ $dr-spacing-large: 32px;
577
585
  $dr-spacing-x-large: 40px;
578
586
  $dr-spacing-xx-large: 48px;
579
587
  $dr-spacing-xxx-large: 56px;
588
+ $dr-spacing-xxxx-large: 64px;
580
589
 
581
590
  // DR font variables (family, weight, size, line-height)
582
591
  $dr-primary-font-family: 'Poppins', sans-serif;
@@ -728,6 +737,14 @@ $dr-chat-avatar-right-indent: 16px;
728
737
  $dr-chat-header-text-indent: 20px;
729
738
  $dr-chat-box-shadow: 0px 2px 36px 0px rgba(0, 0, 0, 0.15);
730
739
 
740
+ // DR border radius variables
741
+ $dr-border-radius-small: 4px;
742
+ $dr-border-radius-medium: 6px;
743
+ $dr-border-radius-regular: 8px;
744
+ $dr-border-radius-large: 12px;
745
+ $dr-border-radius-x-large: 16px;
746
+ $dr-border-radius-round: 32px;
747
+
731
748
  // DR spacing variables (margin, paddings, etc.)
732
749
  $dr-spacing-xxx-small: 2px;
733
750
  $dr-spacing-xx-small: 4px;
@@ -738,6 +755,7 @@ $dr-spacing-large: 32px;
738
755
  $dr-spacing-x-large: 40px;
739
756
  $dr-spacing-xx-large: 48px;
740
757
  $dr-spacing-xxx-large: 56px;
758
+ $dr-spacing-xxxx-large: 64px;
741
759
 
742
760
  // DR font variables (family, weight, size, line-height)
743
761
  $dr-primary-font-family: 'Poppins', sans-serif;