@fctc/sme-widget-ui 1.7.1 → 1.7.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.
package/dist/index.js CHANGED
@@ -33867,7 +33867,10 @@ var Many2ManyTagField = (props) => {
33867
33867
  dropdownIndicator: () => "!m-0 !p-0"
33868
33868
  },
33869
33869
  styles: {
33870
- control: () => ({}),
33870
+ control: () => ({
33871
+ maxWidth: "max-content",
33872
+ minWidth: "max-content"
33873
+ }),
33871
33874
  multiValue: (provided, state) => {
33872
33875
  const { color, id } = state?.data ?? {};
33873
33876
  const bgColor = color !== null ? COLORS[color]?.color : COLORS[id]?.color;
@@ -35110,7 +35113,10 @@ var Many2OneField = (props) => {
35110
35113
  menuPlacement: "auto",
35111
35114
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
35112
35115
  styles: {
35113
- control: () => ({}),
35116
+ control: () => ({
35117
+ maxWidth: "max-content",
35118
+ minWidth: "max-content"
35119
+ }),
35114
35120
  container: (base) => ({
35115
35121
  ...base,
35116
35122
  height: "100%"
@@ -35138,8 +35144,8 @@ var Many2OneField = (props) => {
35138
35144
  menu: (base) => ({
35139
35145
  ...base,
35140
35146
  zIndex: 999,
35141
- width: isEditTable ? "auto" : "100%",
35142
- minWidth: isEditTable ? "200px" : "100%",
35147
+ width: "100%",
35148
+ minWidth: "100%",
35143
35149
  borderRadius: "10px"
35144
35150
  }),
35145
35151
  menuList: (base) => ({
package/dist/index.mjs CHANGED
@@ -33746,7 +33746,10 @@ var Many2ManyTagField = (props) => {
33746
33746
  dropdownIndicator: () => "!m-0 !p-0"
33747
33747
  },
33748
33748
  styles: {
33749
- control: () => ({}),
33749
+ control: () => ({
33750
+ maxWidth: "max-content",
33751
+ minWidth: "max-content"
33752
+ }),
33750
33753
  multiValue: (provided, state) => {
33751
33754
  const { color, id } = state?.data ?? {};
33752
33755
  const bgColor = color !== null ? COLORS[color]?.color : COLORS[id]?.color;
@@ -34989,7 +34992,10 @@ var Many2OneField = (props) => {
34989
34992
  menuPlacement: "auto",
34990
34993
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34991
34994
  styles: {
34992
- control: () => ({}),
34995
+ control: () => ({
34996
+ maxWidth: "max-content",
34997
+ minWidth: "max-content"
34998
+ }),
34993
34999
  container: (base) => ({
34994
35000
  ...base,
34995
35001
  height: "100%"
@@ -35017,8 +35023,8 @@ var Many2OneField = (props) => {
35017
35023
  menu: (base) => ({
35018
35024
  ...base,
35019
35025
  zIndex: 999,
35020
- width: isEditTable ? "auto" : "100%",
35021
- minWidth: isEditTable ? "200px" : "100%",
35026
+ width: "100%",
35027
+ minWidth: "100%",
35022
35028
  borderRadius: "10px"
35023
35029
  }),
35024
35030
  menuList: (base) => ({
package/dist/widgets.js CHANGED
@@ -33491,7 +33491,10 @@ var Many2ManyTagField = (props) => {
33491
33491
  dropdownIndicator: () => "!m-0 !p-0"
33492
33492
  },
33493
33493
  styles: {
33494
- control: () => ({}),
33494
+ control: () => ({
33495
+ maxWidth: "max-content",
33496
+ minWidth: "max-content"
33497
+ }),
33495
33498
  multiValue: (provided, state) => {
33496
33499
  const { color, id } = state?.data ?? {};
33497
33500
  const bgColor = color !== null ? COLORS[color]?.color : COLORS[id]?.color;
@@ -34734,7 +34737,10 @@ var Many2OneField = (props) => {
34734
34737
  menuPlacement: "auto",
34735
34738
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34736
34739
  styles: {
34737
- control: () => ({}),
34740
+ control: () => ({
34741
+ maxWidth: "max-content",
34742
+ minWidth: "max-content"
34743
+ }),
34738
34744
  container: (base) => ({
34739
34745
  ...base,
34740
34746
  height: "100%"
@@ -34762,8 +34768,8 @@ var Many2OneField = (props) => {
34762
34768
  menu: (base) => ({
34763
34769
  ...base,
34764
34770
  zIndex: 999,
34765
- width: isEditTable ? "auto" : "100%",
34766
- minWidth: isEditTable ? "200px" : "100%",
34771
+ width: "100%",
34772
+ minWidth: "100%",
34767
34773
  borderRadius: "10px"
34768
34774
  }),
34769
34775
  menuList: (base) => ({
package/dist/widgets.mjs CHANGED
@@ -33428,7 +33428,10 @@ var Many2ManyTagField = (props) => {
33428
33428
  dropdownIndicator: () => "!m-0 !p-0"
33429
33429
  },
33430
33430
  styles: {
33431
- control: () => ({}),
33431
+ control: () => ({
33432
+ maxWidth: "max-content",
33433
+ minWidth: "max-content"
33434
+ }),
33432
33435
  multiValue: (provided, state) => {
33433
33436
  const { color, id } = state?.data ?? {};
33434
33437
  const bgColor = color !== null ? COLORS[color]?.color : COLORS[id]?.color;
@@ -34671,7 +34674,10 @@ var Many2OneField = (props) => {
34671
34674
  menuPlacement: "auto",
34672
34675
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34673
34676
  styles: {
34674
- control: () => ({}),
34677
+ control: () => ({
34678
+ maxWidth: "max-content",
34679
+ minWidth: "max-content"
34680
+ }),
34675
34681
  container: (base) => ({
34676
34682
  ...base,
34677
34683
  height: "100%"
@@ -34699,8 +34705,8 @@ var Many2OneField = (props) => {
34699
34705
  menu: (base) => ({
34700
34706
  ...base,
34701
34707
  zIndex: 999,
34702
- width: isEditTable ? "auto" : "100%",
34703
- minWidth: isEditTable ? "200px" : "100%",
34708
+ width: "100%",
34709
+ minWidth: "100%",
34704
34710
  borderRadius: "10px"
34705
34711
  }),
34706
34712
  menuList: (base) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",