@fctc/sme-widget-ui 1.1.9 → 1.2.0

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
@@ -34474,7 +34474,7 @@ var Many2OneField = (props) => {
34474
34474
  menuShouldScrollIntoView: false,
34475
34475
  options: options2,
34476
34476
  classNames: {
34477
- control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white !shadow-none !rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34477
+ control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34478
34478
  valueContainer: () => "!m-0 !p-0 ",
34479
34479
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34480
34480
  input: () => "!m-0 !p-0",
@@ -34508,6 +34508,11 @@ var Many2OneField = (props) => {
34508
34508
  ...base,
34509
34509
  padding: "0"
34510
34510
  }),
34511
+ valueContainer: (base) => ({
34512
+ ...base,
34513
+ padding: "0",
34514
+ margin: "0"
34515
+ }),
34511
34516
  menuPortal: (base) => ({
34512
34517
  ...base,
34513
34518
  zIndex: 9999
package/dist/index.mjs CHANGED
@@ -34355,7 +34355,7 @@ var Many2OneField = (props) => {
34355
34355
  menuShouldScrollIntoView: false,
34356
34356
  options: options2,
34357
34357
  classNames: {
34358
- control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white !shadow-none !rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34358
+ control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34359
34359
  valueContainer: () => "!m-0 !p-0 ",
34360
34360
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34361
34361
  input: () => "!m-0 !p-0",
@@ -34389,6 +34389,11 @@ var Many2OneField = (props) => {
34389
34389
  ...base,
34390
34390
  padding: "0"
34391
34391
  }),
34392
+ valueContainer: (base) => ({
34393
+ ...base,
34394
+ padding: "0",
34395
+ margin: "0"
34396
+ }),
34392
34397
  menuPortal: (base) => ({
34393
34398
  ...base,
34394
34399
  zIndex: 9999
package/dist/widgets.js CHANGED
@@ -34120,7 +34120,7 @@ var Many2OneField = (props) => {
34120
34120
  menuShouldScrollIntoView: false,
34121
34121
  options: options2,
34122
34122
  classNames: {
34123
- control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white !shadow-none !rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34123
+ control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34124
34124
  valueContainer: () => "!m-0 !p-0 ",
34125
34125
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34126
34126
  input: () => "!m-0 !p-0",
@@ -34154,6 +34154,11 @@ var Many2OneField = (props) => {
34154
34154
  ...base,
34155
34155
  padding: "0"
34156
34156
  }),
34157
+ valueContainer: (base) => ({
34158
+ ...base,
34159
+ padding: "0",
34160
+ margin: "0"
34161
+ }),
34157
34162
  menuPortal: (base) => ({
34158
34163
  ...base,
34159
34164
  zIndex: 9999
package/dist/widgets.mjs CHANGED
@@ -34057,7 +34057,7 @@ var Many2OneField = (props) => {
34057
34057
  menuShouldScrollIntoView: false,
34058
34058
  options: options2,
34059
34059
  classNames: {
34060
- control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white !shadow-none !rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34060
+ control: ({ isFocused }) => `w-full flex min-h-[44px] ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "!border-[1px] !border-primary !ring-0 outline-none" : "border !border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-[300px] max-w-[300px] !rounded-none !border !border-transparent !border-b !border-[#f7f7f7] hover:border-b-primary !bg-transparent min-h-auto"}`,
34061
34061
  valueContainer: () => "!m-0 !p-0 ",
34062
34062
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34063
34063
  input: () => "!m-0 !p-0",
@@ -34091,6 +34091,11 @@ var Many2OneField = (props) => {
34091
34091
  ...base,
34092
34092
  padding: "0"
34093
34093
  }),
34094
+ valueContainer: (base) => ({
34095
+ ...base,
34096
+ padding: "0",
34097
+ margin: "0"
34098
+ }),
34094
34099
  menuPortal: (base) => ({
34095
34100
  ...base,
34096
34101
  zIndex: 9999
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",