@fctc/sme-widget-ui 1.7.3 → 1.7.4

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
@@ -33868,8 +33868,8 @@ var Many2ManyTagField = (props) => {
33868
33868
  },
33869
33869
  styles: {
33870
33870
  control: () => ({
33871
- maxWidth: "max-content",
33872
- minWidth: "max-content"
33871
+ maxWidth: isEditTable ? "max-content" : "100%",
33872
+ minWidth: isEditTable ? "max-content" : "100%"
33873
33873
  }),
33874
33874
  multiValue: (provided, state) => {
33875
33875
  const { color, id } = state?.data ?? {};
@@ -35114,8 +35114,8 @@ var Many2OneField = (props) => {
35114
35114
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
35115
35115
  styles: {
35116
35116
  control: () => ({
35117
- maxWidth: "max-content",
35118
- minWidth: "max-content"
35117
+ maxWidth: isEditTable ? "max-content" : "100%",
35118
+ minWidth: isEditTable ? "max-content" : "100%"
35119
35119
  }),
35120
35120
  container: (base) => ({
35121
35121
  ...base,
package/dist/index.mjs CHANGED
@@ -33747,8 +33747,8 @@ var Many2ManyTagField = (props) => {
33747
33747
  },
33748
33748
  styles: {
33749
33749
  control: () => ({
33750
- maxWidth: "max-content",
33751
- minWidth: "max-content"
33750
+ maxWidth: isEditTable ? "max-content" : "100%",
33751
+ minWidth: isEditTable ? "max-content" : "100%"
33752
33752
  }),
33753
33753
  multiValue: (provided, state) => {
33754
33754
  const { color, id } = state?.data ?? {};
@@ -34993,8 +34993,8 @@ var Many2OneField = (props) => {
34993
34993
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34994
34994
  styles: {
34995
34995
  control: () => ({
34996
- maxWidth: "max-content",
34997
- minWidth: "max-content"
34996
+ maxWidth: isEditTable ? "max-content" : "100%",
34997
+ minWidth: isEditTable ? "max-content" : "100%"
34998
34998
  }),
34999
34999
  container: (base) => ({
35000
35000
  ...base,
package/dist/widgets.js CHANGED
@@ -33492,8 +33492,8 @@ var Many2ManyTagField = (props) => {
33492
33492
  },
33493
33493
  styles: {
33494
33494
  control: () => ({
33495
- maxWidth: "max-content",
33496
- minWidth: "max-content"
33495
+ maxWidth: isEditTable ? "max-content" : "100%",
33496
+ minWidth: isEditTable ? "max-content" : "100%"
33497
33497
  }),
33498
33498
  multiValue: (provided, state) => {
33499
33499
  const { color, id } = state?.data ?? {};
@@ -34738,8 +34738,8 @@ var Many2OneField = (props) => {
34738
34738
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34739
34739
  styles: {
34740
34740
  control: () => ({
34741
- maxWidth: "max-content",
34742
- minWidth: "max-content"
34741
+ maxWidth: isEditTable ? "max-content" : "100%",
34742
+ minWidth: isEditTable ? "max-content" : "100%"
34743
34743
  }),
34744
34744
  container: (base) => ({
34745
34745
  ...base,
package/dist/widgets.mjs CHANGED
@@ -33429,8 +33429,8 @@ var Many2ManyTagField = (props) => {
33429
33429
  },
33430
33430
  styles: {
33431
33431
  control: () => ({
33432
- maxWidth: "max-content",
33433
- minWidth: "max-content"
33432
+ maxWidth: isEditTable ? "max-content" : "100%",
33433
+ minWidth: isEditTable ? "max-content" : "100%"
33434
33434
  }),
33435
33435
  multiValue: (provided, state) => {
33436
33436
  const { color, id } = state?.data ?? {};
@@ -34675,8 +34675,8 @@ var Many2OneField = (props) => {
34675
34675
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34676
34676
  styles: {
34677
34677
  control: () => ({
34678
- maxWidth: "max-content",
34679
- minWidth: "max-content"
34678
+ maxWidth: isEditTable ? "max-content" : "100%",
34679
+ minWidth: isEditTable ? "max-content" : "100%"
34680
34680
  }),
34681
34681
  container: (base) => ({
34682
34682
  ...base,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",