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