honeycombatomiclib 0.0.47 → 0.0.48

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.
Files changed (56) hide show
  1. package/dist/components/atoms/buttons/BeeSelectButton.d.ts +2 -9
  2. package/dist/components/atoms/buttons/BeeSelectButton.d.ts.map +1 -1
  3. package/dist/components/atoms/misc/BeeImage.d.ts +2 -14
  4. package/dist/components/atoms/misc/BeeImage.d.ts.map +1 -1
  5. package/dist/components/atoms/select/BeeChipDropdown.d.ts +2 -9
  6. package/dist/components/atoms/select/BeeChipDropdown.d.ts.map +1 -1
  7. package/dist/components/atoms/select/BeeDropDown.d.ts +2 -9
  8. package/dist/components/atoms/select/BeeDropDown.d.ts.map +1 -1
  9. package/dist/components/molecules/misc/BeeChatMessage.d.ts +2 -46
  10. package/dist/components/molecules/misc/BeeChatMessage.d.ts.map +1 -1
  11. package/dist/components/molecules/misc/BeeFilterDropDown.d.ts +2 -9
  12. package/dist/components/molecules/misc/BeeFilterDropDown.d.ts.map +1 -1
  13. package/dist/components/organisms/forms/BeeAddressForm.d.ts +2 -9
  14. package/dist/components/organisms/forms/BeeAddressForm.d.ts.map +1 -1
  15. package/dist/components/organisms/misc/BeeImageCard.d.ts +2 -10
  16. package/dist/components/organisms/misc/BeeImageCard.d.ts.map +1 -1
  17. package/dist/index.css +21864 -2
  18. package/dist/index.css.map +1 -0
  19. package/dist/index.d.ts +48 -68
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/node_modules/react-id-generator/lib/index.d.ts +7 -0
  23. package/dist/node_modules/react-id-generator/lib/index.d.ts.map +1 -0
  24. package/dist/src/components/atoms/buttons/BeeButton.d.ts +24 -0
  25. package/dist/src/components/atoms/buttons/BeeButton.d.ts.map +1 -0
  26. package/dist/src/components/atoms/buttons/index.d.ts +2 -0
  27. package/dist/src/components/atoms/buttons/index.d.ts.map +1 -0
  28. package/dist/src/components/atoms/index.d.ts +2 -0
  29. package/dist/src/components/atoms/index.d.ts.map +1 -0
  30. package/dist/src/components/index.d.ts +2 -0
  31. package/dist/src/components/index.d.ts.map +1 -0
  32. package/dist/src/index.d.ts +3 -0
  33. package/dist/src/index.d.ts.map +1 -0
  34. package/dist/stories/Button.d.ts +16 -0
  35. package/dist/stories/Button.d.ts.map +1 -0
  36. package/dist/stories/Button.stories.d.ts +9 -0
  37. package/dist/stories/Button.stories.d.ts.map +1 -0
  38. package/dist/stories/Header.d.ts +13 -0
  39. package/dist/stories/Header.d.ts.map +1 -0
  40. package/dist/stories/Header.stories.d.ts +7 -0
  41. package/dist/stories/Header.stories.d.ts.map +1 -0
  42. package/dist/stories/Page.d.ts +4 -0
  43. package/dist/stories/Page.d.ts.map +1 -0
  44. package/dist/stories/Page.stories.d.ts +7 -0
  45. package/dist/stories/Page.stories.d.ts.map +1 -0
  46. package/dist/types/beeChatMessage.types.d.ts +51 -0
  47. package/dist/types/beeChatMessage.types.d.ts.map +1 -0
  48. package/package.json +1 -1
  49. package/dist/components/atoms/input/InputNumberSpinFocusOut.test.d.ts +0 -2
  50. package/dist/components/atoms/input/InputNumberSpinFocusOut.test.d.ts.map +0 -1
  51. package/dist/components/atoms/input/inputNumberSpinFocusOut.d.ts +0 -12
  52. package/dist/components/atoms/input/inputNumberSpinFocusOut.d.ts.map +0 -1
  53. package/dist/components/organisms/blocks/BeeContractPartnerCard.d.ts +0 -42
  54. package/dist/components/organisms/blocks/BeeContractPartnerCard.d.ts.map +0 -1
  55. package/dist/test/setupTests.d.ts +0 -2
  56. package/dist/test/setupTests.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["generaltheme.css","BeeButton.scss"],"names":[],"mappings":"AAEA,yBAAyB,CAEzB,wBAAwB,CACxB,6BAA6B,CAC7B,+CAA+C,CCH/C,gEACE,qCACF,CAIA,kEACE,uCACF,CAIA,gCAEE,iCAAkC,CADlC,0BAEF,CACA,8DAEE,uCAAwC,CADxC,0BAEF,CACA,+DAEE,kDAAmD,CADnD,0BAEF,CACA,8DACE,kCACF,CACA,6CACE,iCAAkC,CAClC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAIlB,OAAQ,CAHR,KAAM,CAEN,OAEF","file":"index.css","sourcesContent":["/* @import \"./alphacolors.css\"; */\r\n\r\n@import \"./beecolors.css\";\r\n\r\n@import \"./beetheme.css\";\r\n@import \"./beeprimereact.css\";\r\n@import \"/node_modules/primeflex/primeflex.css\";\r\n",".bee-btn {\n /* primary */\n}\n.bee-btn.bee-btn-primary.p-button:not(a):not(.p-disabled):hover {\n background: var(--primary-light-color);\n}\n.bee-btn {\n /* secondary */\n}\n.bee-btn.bee-btn-secondary.p-button:not(a):not(.p-disabled):hover {\n background: var(--secondary-light-color);\n}\n.bee-btn {\n /* light */\n}\n.bee-btn.bee-btn-light.p-button {\n color: var(--primary-color);\n background-color: var(--surface-a);\n}\n.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):hover {\n color: var(--primary-color);\n background-color: var(--primary-color-4);\n}\n.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):active {\n color: var(--primary-color);\n background-color: var(--primary-light-active-color);\n}\n.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):focus {\n background: var(--primary-color-12);\n}\n.bee-btn.bee-btn-light.p-button:hover::before {\n background-color: var(--surface-a);\n content: \"\";\n position: absolute;\n top: 0;\n height: 0;\n width: 0;\n right: 0;\n}"]}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
2
+ import React, { MouseEvent as MouseEvent$1 } from 'react';
3
3
  import { TooltipOptions } from 'primereact/tooltip/tooltipoptions';
4
4
  import { ButtonProps } from 'primereact/button';
5
5
  import { IconType } from 'primereact/utils';
@@ -138,18 +138,22 @@ type BeeOutlinedButtonProps = {
138
138
  };
139
139
  declare function BeeOutlinedButton({ id, className, label, disabled, type, tooltip, tooltipOptions, isLoading, size, onClick, }: BeeOutlinedButtonProps): react_jsx_runtime.JSX.Element;
140
140
 
141
- interface SelectItem$4 {
142
- label?: string;
143
- value?: any;
144
- className?: string;
145
- icon?: IconType<SelectItem$4>;
146
- title?: string;
147
- disabled?: boolean;
141
+ /**
142
+ * Option shape shared by BeeDropDown, BeeChipDropdown, BeeSelectButton, BeeFilterDropDown, BeeAddressForm.
143
+ */
144
+ interface SelectItem {
145
+ label?: string;
146
+ value?: any;
147
+ className?: string;
148
+ icon?: IconType<SelectItem>;
149
+ title?: string;
150
+ disabled?: boolean;
148
151
  }
152
+
149
153
  type BeeSelectButtonProps = {
150
154
  id?: string | undefined;
151
155
  className?: string | undefined;
152
- options?: SelectItem$4[] | any[] | undefined;
156
+ options?: SelectItem[] | any[] | undefined;
153
157
  selectedOption?: string | undefined;
154
158
  disabled?: boolean | undefined;
155
159
  type?: "primary" | "secondary" | undefined;
@@ -672,19 +676,32 @@ type BeeDividerProps = {
672
676
  };
673
677
  declare function BeeDivider({ id, className, label, iconClass, border, orientation, align, type, }: BeeDividerProps): react_jsx_runtime.JSX.Element;
674
678
 
675
- type BeeImageProps = {
676
- id?: string | undefined;
677
- className?: string | undefined;
678
- url: string;
679
- showPlaceholder?: boolean | undefined;
680
- secured?: boolean | undefined;
681
- secureKey?: string | undefined;
682
- alt?: string | undefined;
683
- title?: string | undefined;
684
- titlePosition?: "left" | "center" | "right" | undefined;
685
- copyright?: string | undefined;
686
- onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
679
+ type BeeImageProps = {
680
+ id?: string | undefined;
681
+ className?: string | undefined;
682
+ url: string;
683
+ showPlaceholder?: boolean | undefined;
684
+ secured?: boolean | undefined;
685
+ secureKey?: string | undefined;
686
+ alt?: string | undefined;
687
+ title?: string | undefined;
688
+ titlePosition?: "left" | "center" | "right" | undefined;
689
+ copyright?: string | undefined;
690
+ onClick?: (e: MouseEvent$1<HTMLDivElement>) => void;
691
+ };
692
+
693
+ /** Data shape for {@link BeeImageCard} image slot (distinct from the BeeImage atom props). */
694
+ type ImageType = {
695
+ id?: string;
696
+ url?: string;
697
+ key?: string;
698
+ title?: string;
699
+ alt?: string;
700
+ copyright?: string;
701
+ secured?: boolean;
702
+ showPlaceholder: boolean;
687
703
  };
704
+
688
705
  declare function BeeImage$1({ id, className, url, showPlaceholder, secured, secureKey, alt, title, titlePosition, copyright, onClick, }: BeeImageProps): react_jsx_runtime.JSX.Element;
689
706
 
690
707
  type BeeLoadingBarProps = {
@@ -883,14 +900,6 @@ type BeeCurrencySelectProps = {
883
900
  };
884
901
  declare function BeeCurrencySelect({ id, className, label, value, disabled, currency, locale, statusLabel, formstate, readOnly, required, placeholder, min, max, tooltip, tooltipOptions, onChange, }: BeeCurrencySelectProps): react_jsx_runtime.JSX.Element;
885
902
 
886
- interface SelectItem$3 {
887
- label?: string;
888
- value?: any;
889
- className?: string;
890
- icon?: IconType<SelectItem$3>;
891
- title?: string;
892
- disabled?: boolean;
893
- }
894
903
  type BeeDropDownProps = {
895
904
  id?: string | undefined;
896
905
  className?: string | undefined;
@@ -898,7 +907,7 @@ type BeeDropDownProps = {
898
907
  value?: any;
899
908
  valueTemplate?: React.ReactNode | ((option: any, props: DropdownProps) => React.ReactNode) | undefined;
900
909
  itemTemplate?: React.ReactNode | ((option: any) => React.ReactNode) | undefined;
901
- options?: SelectItem$3[] | any[] | undefined;
910
+ options?: SelectItem[] | any[] | undefined;
902
911
  optionLabel?: string | undefined;
903
912
  optionValue?: string | undefined;
904
913
  filter?: boolean;
@@ -917,7 +926,7 @@ type BeeDropDownProps = {
917
926
  emptyFilterMessage?: React.ReactNode | ((props: DropdownProps) => React.ReactNode);
918
927
  tooltip?: string | undefined;
919
928
  tooltipOptions?: TooltipOptions | undefined;
920
- onChange?: (e: SelectItem$3) => void;
929
+ onChange?: (e: SelectItem) => void;
921
930
  };
922
931
  declare function BeeDropDown({ id, className, label, value, valueTemplate, itemTemplate, options, optionLabel, optionValue, emptyPlaceholder, filter, filterBy, filterPlaceholder, disabled, statusLabel, formstate, readOnly, required, editable, showDelete, deleteIcon, emptyMessage, emptyFilterMessage, tooltip, tooltipOptions, onChange, }: BeeDropDownProps): react_jsx_runtime.JSX.Element;
923
932
 
@@ -992,20 +1001,12 @@ type BeeTreeSelectProps = {
992
1001
  };
993
1002
  declare function BeeTreeSelect({ id, className, label, value, showDelete, options, valueTemplate, display, selectionMode, placeholder, panelClassName, filter, filterTemplate, filterValue, filterBy, filterPlaceholder, disabled, readOnly, statusLabel, formstate, required, emptyMessage, onChange, onNodeSelect, onHide, }: BeeTreeSelectProps): react_jsx_runtime.JSX.Element;
994
1003
 
995
- interface SelectItem$2 {
996
- label?: string;
997
- value?: any;
998
- className?: string;
999
- icon?: IconType<SelectItem$2>;
1000
- title?: string;
1001
- disabled?: boolean;
1002
- }
1003
1004
  type BeeChipDropdownProps = {
1004
1005
  id?: string | undefined;
1005
1006
  className?: string | undefined;
1006
1007
  label?: string | undefined;
1007
1008
  value?: any[] | undefined;
1008
- options?: SelectItem$2[] | any[] | undefined;
1009
+ options?: SelectItem[] | any[] | undefined;
1009
1010
  optionLabel?: string | undefined;
1010
1011
  statusLabel?: string | undefined;
1011
1012
  formstate?: "valid" | "error" | "neutral" | "none" | undefined;
@@ -1034,6 +1035,10 @@ type BeeAddEntryCardProps = {
1034
1035
  };
1035
1036
  declare function BeeAddEntryCard({ id, className, disabled, footer, onClick }: BeeAddEntryCardProps): react_jsx_runtime.JSX.Element;
1036
1037
 
1038
+ /**
1039
+ * Chat message domain types for BeeChatMessage (excludes the component props type, which stays on the component).
1040
+ * Kept as .ts (not .d.ts) so enums emit runtime values.
1041
+ */
1037
1042
  declare enum ChatMessageSourceEnum {
1038
1043
  LC = "LC",
1039
1044
  AUDIT = "AUDIT"
@@ -1080,6 +1085,7 @@ type ChatParticipantDTO = {
1080
1085
  deletedBy?: string;
1081
1086
  chatRoomId?: string;
1082
1087
  };
1088
+
1083
1089
  type BeeChatMessageProps = {
1084
1090
  maxWindow?: boolean | undefined;
1085
1091
  msg?: ChatMessageDTO | undefined;
@@ -1129,20 +1135,12 @@ type BeeChangesChipProps = {
1129
1135
  };
1130
1136
  declare function BeeChangesChip({ className, values, type }: BeeChangesChipProps): react_jsx_runtime.JSX.Element | null;
1131
1137
 
1132
- interface SelectItem$1 {
1133
- label?: string;
1134
- value?: any;
1135
- className?: string;
1136
- icon?: IconType<SelectItem$1>;
1137
- title?: string;
1138
- disabled?: boolean;
1139
- }
1140
1138
  type BeeFilterDropDownProps = {
1141
1139
  id?: string | undefined;
1142
1140
  className?: string | undefined;
1143
1141
  label?: string | undefined;
1144
1142
  value?: any | undefined;
1145
- options?: SelectItem$1[] | any[] | undefined;
1143
+ options?: SelectItem[] | any[] | undefined;
1146
1144
  optionLabel?: string | undefined;
1147
1145
  optionValue?: string | undefined;
1148
1146
  statusLabel?: string | React.ReactNode | undefined;
@@ -1151,7 +1149,7 @@ type BeeFilterDropDownProps = {
1151
1149
  formstate?: "valid" | "error" | "neutral" | "none" | undefined;
1152
1150
  disabled?: boolean | undefined;
1153
1151
  readOnly?: boolean | undefined;
1154
- onChange?: (e: SelectItem$1) => void;
1152
+ onChange?: (e: SelectItem) => void;
1155
1153
  };
1156
1154
  declare function BeeFilterDropDown({ id, className, label, value, options, optionLabel, optionValue, disabled, dropdownIcon, deleteIcon, statusLabel, formstate, readOnly, onChange, }: BeeFilterDropDownProps): react_jsx_runtime.JSX.Element;
1157
1155
 
@@ -1765,14 +1763,6 @@ type BeeImageUploadDialogProps = {
1765
1763
  };
1766
1764
  declare function BeeImageUploadDialog({ id, className, type, visible, disabled, dropzoneTitle, dropzoneDescription, dropzoneAddLabel, dropzoneFormats, progressVisible, progressMessage, errorVisible, errorHeadline, errorDescription, cropShape, aspectWidth, aspectHeight, cropSize, maxOutputSize, showZoom, showRotation, controlsPosition, minZoom, maxZoom, zoomStep, zoomLabel, rotateLabel, onHide, onUpload, }: BeeImageUploadDialogProps): react_jsx_runtime.JSX.Element;
1767
1765
 
1768
- interface SelectItem {
1769
- label?: string;
1770
- value?: any;
1771
- className?: string;
1772
- icon?: IconType<SelectItem>;
1773
- title?: string;
1774
- disabled?: boolean;
1775
- }
1776
1766
  type BeeAddressFormProps = {
1777
1767
  className?: string | undefined;
1778
1768
  disabled?: boolean | undefined;
@@ -1854,16 +1844,6 @@ type BeeError404PageProps = {
1854
1844
  };
1855
1845
  declare function BeeError404Page({ className, headline, buttonLabel, buttonIconClass, animationData, onBack, }: BeeError404PageProps): React.JSX.Element;
1856
1846
 
1857
- type ImageType = {
1858
- id?: string;
1859
- url?: string;
1860
- key?: string;
1861
- title?: string;
1862
- alt?: string;
1863
- copyright?: string;
1864
- secured?: boolean;
1865
- showPlaceholder: boolean;
1866
- };
1867
1847
  type BeeImageCardProps = {
1868
1848
  id?: string | undefined;
1869
1849
  className?: string | undefined;