@luscii-healthtech/web-ui 6.2.1 → 6.2.3

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.
@@ -5,5 +5,5 @@ interface FormImagePickerProps extends ImagePickerFieldConfiguration, FormFieldL
5
5
  control: Control;
6
6
  rules?: Exclude<RegisterOptions, "valueAsNumber" | "valueAsDate" | "setValueAs">;
7
7
  }
8
- export declare const FormImagePicker: React.ForwardRefExoticComponent<Omit<FormImagePickerProps, "ref"> & React.RefAttributes<any>>;
8
+ export declare const FormImagePicker: React.ForwardRefExoticComponent<FormImagePickerProps & React.RefAttributes<any>>;
9
9
  export {};
@@ -3,7 +3,7 @@ import React, { HTMLInputTypeAttribute } from "react";
3
3
  import { InputProps } from "../Input/Input";
4
4
  import { RadioGroupProps } from "../RadioGroup/RadioGroupV2";
5
5
  import { SelectProps } from "../Select/Select";
6
- import { ImagePickerProps } from "../ImagePicker/ImagePicker";
6
+ import { ImagePickerProps } from "../MediaPicker/MediaPicker";
7
7
  import { PartialProperties } from "../../types/general.types";
8
8
  import { CheckboxProps } from "../Checkbox/Checkbox";
9
9
  import { CheckboxListProps } from "../CheckboxList/CheckboxList.types";
@@ -700,6 +700,10 @@ video {
700
700
  margin-bottom: 0.25rem;
701
701
  }
702
702
 
703
+ .ui-mb-12 {
704
+ margin-bottom: 3rem;
705
+ }
706
+
703
707
  .ui-mb-2 {
704
708
  margin-bottom: 0.5rem;
705
709
  }
@@ -824,6 +828,10 @@ video {
824
828
  display: inline-flex;
825
829
  }
826
830
 
831
+ .ui-grid {
832
+ display: grid;
833
+ }
834
+
827
835
  .ui-hidden {
828
836
  display: none;
829
837
  }
@@ -1167,6 +1175,14 @@ video {
1167
1175
  appearance: none;
1168
1176
  }
1169
1177
 
1178
+ .ui-auto-rows-auto {
1179
+ grid-auto-rows: auto;
1180
+ }
1181
+
1182
+ .ui-grid-cols-2 {
1183
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1184
+ }
1185
+
1170
1186
  .ui-flex-row {
1171
1187
  flex-direction: row;
1172
1188
  }
@@ -1211,10 +1227,18 @@ video {
1211
1227
  justify-items: stretch;
1212
1228
  }
1213
1229
 
1230
+ .ui-gap-1 {
1231
+ gap: 0.25rem;
1232
+ }
1233
+
1214
1234
  .ui-gap-3 {
1215
1235
  gap: 0.75rem;
1216
1236
  }
1217
1237
 
1238
+ .ui-gap-6 {
1239
+ gap: 1.5rem;
1240
+ }
1241
+
1218
1242
  .ui-space-x-1 > :not([hidden]) ~ :not([hidden]) {
1219
1243
  --tw-space-x-reverse: 0;
1220
1244
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
@@ -1587,6 +1611,11 @@ video {
1587
1611
  background-color: rgb(231 245 236 / var(--tw-bg-opacity));
1588
1612
  }
1589
1613
 
1614
+ .ui-bg-green-700 {
1615
+ --tw-bg-opacity: 1;
1616
+ background-color: rgb(21 128 61 / var(--tw-bg-opacity));
1617
+ }
1618
+
1590
1619
  .ui-bg-main-background {
1591
1620
  --tw-bg-opacity: 1;
1592
1621
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
@@ -1743,6 +1772,10 @@ video {
1743
1772
  padding: 1.5rem;
1744
1773
  }
1745
1774
 
1775
+ .ui-p-8 {
1776
+ padding: 2rem;
1777
+ }
1778
+
1746
1779
  .ui-px-1 {
1747
1780
  padding-left: 0.25rem;
1748
1781
  padding-right: 0.25rem;
@@ -1931,10 +1964,18 @@ video {
1931
1964
  font-weight: 700;
1932
1965
  }
1933
1966
 
1967
+ .ui-font-extrabold {
1968
+ font-weight: 800;
1969
+ }
1970
+
1934
1971
  .ui-font-medium {
1935
1972
  font-weight: 500;
1936
1973
  }
1937
1974
 
1975
+ .ui-font-normal {
1976
+ font-weight: 400;
1977
+ }
1978
+
1938
1979
  .ui-font-semibold {
1939
1980
  font-weight: 600;
1940
1981
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luscii-healthtech/web-ui",
3
- "version": "6.2.1",
3
+ "version": "6.2.3",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Joris Janssen"
@@ -22,6 +22,7 @@
22
22
  "test": "echo \"This repo doesn't include any unit tests at this time.\"",
23
23
  "lint": "eslint src stories --ext .jsx --ext .js --ext .ts --ext .tsx --cache --cache-location './node_modules/@eslint/.eslintcache/'",
24
24
  "lint:fix": "eslint src stories --ext .jsx --ext .js --ext .ts --ext .tsx --fix",
25
+ "lint:types": "yarn tsc --noEmit",
25
26
  "storybook:lazy": "STORYBOOK_LAZY_COMPILATION=true yarn storybook",
26
27
  "storybook": "storybook dev -p 6006",
27
28
  "build-storybook": "yarn storybook:build-tailwind && storybook build",