@luscii-healthtech/web-ui 42.13.0 → 42.13.2
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/dist/index.development.js +64 -15
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/RangeCoverage/RangeCoverage.d.ts +13 -5
- package/dist/stories/PrimitiveColors/PrimitiveColors.d.ts +1 -0
- package/dist/stories/RangeCoverage.stories.d.ts +1 -0
- package/dist/stories/SemanticColors/SemanticColors.d.ts +11 -0
- package/dist/web-ui-tailwind.css +56 -21
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +7 -6
|
@@ -33,12 +33,20 @@ export interface Props {
|
|
|
33
33
|
*/
|
|
34
34
|
color: Color;
|
|
35
35
|
}>;
|
|
36
|
+
translations: {
|
|
37
|
+
/**
|
|
38
|
+
* This component doesn't support overlapping sections. If you cannot guarantee that
|
|
39
|
+
* sections won't overlap, you can show this message to the user when the component
|
|
40
|
+
* detects overlapping sections.
|
|
41
|
+
*/
|
|
42
|
+
sectionOverlapsMessage: string;
|
|
43
|
+
};
|
|
36
44
|
}
|
|
37
|
-
export declare const
|
|
38
|
-
export declare const
|
|
39
|
-
export declare const
|
|
40
|
-
export declare const
|
|
41
|
-
export declare const COLOR_BLUE = "var(--ui-color-
|
|
45
|
+
export declare const COLOR_GREY_LIGHT = "var(--ui-color-background-info-secondary-hovered)";
|
|
46
|
+
export declare const COLOR_GREY_DARK = "var(--ui-color-border-info-secondary-hovered)";
|
|
47
|
+
export declare const COLOR_RED = "var(--ui-color-border-error-primary-default)";
|
|
48
|
+
export declare const COLOR_AMBER = "var(--ui-color-icon-warning-secondary-default)";
|
|
49
|
+
export declare const COLOR_BLUE = "var(--ui-color-background-info-secondary-hovered)";
|
|
42
50
|
export declare const RangeCoverage: FC<Props> & {
|
|
43
51
|
Colors: {
|
|
44
52
|
RED: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PrimitiveColors(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface SemanticColorGroupProps {
|
|
2
|
+
category: "background" | "border" | "text" | "icon";
|
|
3
|
+
group: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function SemanticColorGroup({ category, group, }: SemanticColorGroupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
interface CategorySectionProps {
|
|
7
|
+
category: "background" | "border" | "text" | "icon";
|
|
8
|
+
title: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function CategorySection({ category, title }: CategorySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
--ui-color-orange-400: #fb923c;
|
|
14
14
|
--ui-color-amber-50: #fef8e3;
|
|
15
15
|
--ui-color-amber-100: #fef3c7;
|
|
16
|
-
--ui-color-amber-400: #fbbf24;
|
|
17
16
|
--ui-color-amber-500: #f59e0b;
|
|
18
17
|
--ui-color-amber-700: #b45309;
|
|
19
18
|
--ui-color-amber-800: #92400e;
|
|
@@ -110,9 +109,40 @@
|
|
|
110
109
|
--ui-spacing-l: 24px;
|
|
111
110
|
--ui-spacing-xl: 32px;
|
|
112
111
|
--ui-spacing-xxl: 32px;
|
|
113
|
-
--ui-color-
|
|
112
|
+
--ui-primitive-color-grey-100: #ffffff;
|
|
113
|
+
--ui-primitive-color-grey-300: #f5f7fa;
|
|
114
|
+
--ui-primitive-color-grey-500: #cbd5e1;
|
|
115
|
+
--ui-primitive-color-grey-700: #7387a4;
|
|
116
|
+
--ui-primitive-color-grey-800: #3a4657;
|
|
117
|
+
--ui-primitive-color-grey-900: #162130;
|
|
118
|
+
--ui-primitive-color-brand-500: #1d4ed8;
|
|
119
|
+
--ui-primitive-color-brand-700: #1e40af;
|
|
120
|
+
--ui-primitive-color-brand-900: #112d9c;
|
|
121
|
+
--ui-primitive-color-pink-700: #c30074;
|
|
122
|
+
--ui-primitive-color-green-300: #4ade80;
|
|
123
|
+
--ui-primitive-color-green-500: #388e3c;
|
|
124
|
+
--ui-primitive-color-green-700: #1b5e20;
|
|
125
|
+
--ui-primitive-color-blue-100: #f1f5fc;
|
|
126
|
+
--ui-primitive-color-blue-300: #d7e3fb;
|
|
127
|
+
--ui-primitive-color-blue-500: #b3cafc;
|
|
128
|
+
--ui-primitive-color-blue-700: #7c9eea;
|
|
129
|
+
--ui-primitive-color-orange-500: #ffb300;
|
|
130
|
+
--ui-primitive-color-orange-700: #f0761e;
|
|
131
|
+
--ui-primitive-color-orange-900: #8a3d00;
|
|
132
|
+
--ui-primitive-color-red-100: #fee2e2;
|
|
133
|
+
--ui-primitive-color-red-300: #ffa5a7;
|
|
134
|
+
--ui-primitive-color-red-500: #ff6266;
|
|
135
|
+
--ui-primitive-color-red-700: #b91c1c;
|
|
136
|
+
--ui-primitive-color-red-900: #8d1515;
|
|
114
137
|
--ui-color-on-surface-variant: var(--ui-color-slate-500);
|
|
115
138
|
--ui-color-background: var(--ui-color-slate-50);
|
|
139
|
+
--ui-color-background-info-secondary-default: var(--ui-primitive-color-blue-100);
|
|
140
|
+
--ui-color-background-info-secondary-hovered: var(--ui-primitive-color-blue-300);
|
|
141
|
+
--ui-color-border-neutral-secondary-default: var(--ui-primitive-color-grey-500);
|
|
142
|
+
--ui-color-border-info-secondary-hovered: var(--ui-primitive-color-blue-700);
|
|
143
|
+
--ui-color-border-error-primary-default: var(--ui-primitive-color-red-700);
|
|
144
|
+
--ui-color-text-neutral-secondary-default: var(--ui-primitive-color-grey-800);
|
|
145
|
+
--ui-color-icon-warning-secondary-default: var(--ui-primitive-color-orange-500);
|
|
116
146
|
--ui-flyout-menu-content-max-height: 600px;
|
|
117
147
|
}
|
|
118
148
|
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
@@ -530,9 +560,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
530
560
|
.ui\:my-4 {
|
|
531
561
|
margin-block: calc(var(--ui-spacing) * 4);
|
|
532
562
|
}
|
|
533
|
-
.ui\:my-6 {
|
|
534
|
-
margin-block: calc(var(--ui-spacing) * 6);
|
|
535
|
-
}
|
|
536
563
|
.ui\:my-8 {
|
|
537
564
|
margin-block: calc(var(--ui-spacing) * 8);
|
|
538
565
|
}
|
|
@@ -1139,9 +1166,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1139
1166
|
.ui\:w-36 {
|
|
1140
1167
|
width: 9rem;
|
|
1141
1168
|
}
|
|
1142
|
-
.ui\:w-40 {
|
|
1143
|
-
width: 10rem;
|
|
1144
|
-
}
|
|
1145
1169
|
.ui\:w-46 {
|
|
1146
1170
|
width: 11.5rem;
|
|
1147
1171
|
}
|
|
@@ -2007,6 +2031,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2007
2031
|
.ui\:border-black {
|
|
2008
2032
|
border-color: var(--ui-color-black);
|
|
2009
2033
|
}
|
|
2034
|
+
.ui\:border-border-success-primary-default {
|
|
2035
|
+
border-color: var(--ui-primitive-color-green-700);
|
|
2036
|
+
}
|
|
2010
2037
|
.ui\:border-color-border {
|
|
2011
2038
|
border-color: #ccc;
|
|
2012
2039
|
}
|
|
@@ -2103,15 +2130,23 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2103
2130
|
.ui\:bg-amber-50 {
|
|
2104
2131
|
background-color: var(--ui-color-amber-50);
|
|
2105
2132
|
}
|
|
2106
|
-
.ui\:bg-amber-400 {
|
|
2107
|
-
background-color: var(--ui-color-amber-400);
|
|
2108
|
-
}
|
|
2109
2133
|
.ui\:bg-amber-500 {
|
|
2110
2134
|
background-color: var(--ui-color-amber-500);
|
|
2111
2135
|
}
|
|
2112
2136
|
.ui\:bg-background {
|
|
2113
2137
|
background-color: var(--ui-color-slate-50);
|
|
2114
2138
|
}
|
|
2139
|
+
.ui\:bg-background-brand-primary-default {
|
|
2140
|
+
background-color: var(--ui-primitive-color-brand-700);
|
|
2141
|
+
}
|
|
2142
|
+
.ui\:bg-background-brand-primary-hovered {
|
|
2143
|
+
background-color: var(--ui-primitive-color-brand-500);
|
|
2144
|
+
}
|
|
2145
|
+
.ui\:bg-background-success-secondary-default {
|
|
2146
|
+
background-color: var(
|
|
2147
|
+
--ui-primitive-color-green-300
|
|
2148
|
+
);
|
|
2149
|
+
}
|
|
2115
2150
|
.ui\:bg-black {
|
|
2116
2151
|
background-color: var(--ui-color-black);
|
|
2117
2152
|
}
|
|
@@ -2124,9 +2159,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2124
2159
|
.ui\:bg-blue-400 {
|
|
2125
2160
|
background-color: var(--ui-color-blue-400);
|
|
2126
2161
|
}
|
|
2127
|
-
.ui\:bg-blue-800 {
|
|
2128
|
-
background-color: var(--ui-color-blue-800);
|
|
2129
|
-
}
|
|
2130
2162
|
.ui\:bg-color-divider {
|
|
2131
2163
|
background-color: #eeeeee;
|
|
2132
2164
|
}
|
|
@@ -2199,9 +2231,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2199
2231
|
.ui\:bg-red-500 {
|
|
2200
2232
|
background-color: var(--ui-color-red-500);
|
|
2201
2233
|
}
|
|
2202
|
-
.ui\:bg-red-700 {
|
|
2203
|
-
background-color: var(--ui-color-red-700);
|
|
2204
|
-
}
|
|
2205
2234
|
.ui\:bg-secondary {
|
|
2206
2235
|
background-color: #F3F4F6;
|
|
2207
2236
|
}
|
|
@@ -2226,9 +2255,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2226
2255
|
.ui\:bg-slate-400 {
|
|
2227
2256
|
background-color: var(--ui-color-slate-400);
|
|
2228
2257
|
}
|
|
2229
|
-
.ui\:bg-slate-500 {
|
|
2230
|
-
background-color: var(--ui-color-slate-500);
|
|
2231
|
-
}
|
|
2232
2258
|
.ui\:bg-slate-800 {
|
|
2233
2259
|
background-color: var(--ui-color-slate-800);
|
|
2234
2260
|
}
|
|
@@ -2877,7 +2903,16 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2877
2903
|
color: var(--ui-color-slate-800);
|
|
2878
2904
|
}
|
|
2879
2905
|
.ui\:text-text-body-active {
|
|
2880
|
-
color: var(--ui-color-
|
|
2906
|
+
color: var(--ui-primitive-color-pink-700);
|
|
2907
|
+
}
|
|
2908
|
+
.ui\:text-text-brand-primary-default {
|
|
2909
|
+
color: var(--ui-primitive-color-brand-700);
|
|
2910
|
+
}
|
|
2911
|
+
.ui\:text-text-brand-secondary-default {
|
|
2912
|
+
color: var(--ui-primitive-color-brand-500);
|
|
2913
|
+
}
|
|
2914
|
+
.ui\:text-text-error-primary-default {
|
|
2915
|
+
color: var(--ui-primitive-color-red-900);
|
|
2881
2916
|
}
|
|
2882
2917
|
.ui\:text-transparent {
|
|
2883
2918
|
color: transparent;
|