@fctc/sme-widget-ui 1.2.5 → 1.2.6

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
@@ -34544,7 +34544,7 @@ var Many2OneField = (props) => {
34544
34544
  menuShouldScrollIntoView: false,
34545
34545
  options: options2,
34546
34546
  classNames: {
34547
- control: ({ isFocused }) => `w-full flex h-full 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"}`,
34547
+ control: ({ isFocused }) => `w-full flex h-full 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"}`,
34548
34548
  valueContainer: () => "!m-0 !p-0 ",
34549
34549
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34550
34550
  input: () => "!m-0 !p-0",
@@ -34573,12 +34573,7 @@ var Many2OneField = (props) => {
34573
34573
  menuPlacement: "bottom",
34574
34574
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34575
34575
  styles: {
34576
- control: (base) => ({
34577
- ...base,
34578
- "&:focus": {
34579
- borderColor: "var(--color-primary)"
34580
- }
34581
- }),
34576
+ control: () => ({}),
34582
34577
  container: (base) => ({
34583
34578
  ...base,
34584
34579
  height: "100%"
package/dist/index.mjs CHANGED
@@ -34425,7 +34425,7 @@ var Many2OneField = (props) => {
34425
34425
  menuShouldScrollIntoView: false,
34426
34426
  options: options2,
34427
34427
  classNames: {
34428
- control: ({ isFocused }) => `w-full flex h-full 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"}`,
34428
+ control: ({ isFocused }) => `w-full flex h-full 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"}`,
34429
34429
  valueContainer: () => "!m-0 !p-0 ",
34430
34430
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34431
34431
  input: () => "!m-0 !p-0",
@@ -34454,12 +34454,7 @@ var Many2OneField = (props) => {
34454
34454
  menuPlacement: "bottom",
34455
34455
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34456
34456
  styles: {
34457
- control: (base) => ({
34458
- ...base,
34459
- "&:focus": {
34460
- borderColor: "var(--color-primary)"
34461
- }
34462
- }),
34457
+ control: () => ({}),
34463
34458
  container: (base) => ({
34464
34459
  ...base,
34465
34460
  height: "100%"
package/dist/widgets.js CHANGED
@@ -34190,7 +34190,7 @@ var Many2OneField = (props) => {
34190
34190
  menuShouldScrollIntoView: false,
34191
34191
  options: options2,
34192
34192
  classNames: {
34193
- control: ({ isFocused }) => `w-full flex h-full 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"}`,
34193
+ control: ({ isFocused }) => `w-full flex h-full 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"}`,
34194
34194
  valueContainer: () => "!m-0 !p-0 ",
34195
34195
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34196
34196
  input: () => "!m-0 !p-0",
@@ -34219,12 +34219,7 @@ var Many2OneField = (props) => {
34219
34219
  menuPlacement: "bottom",
34220
34220
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34221
34221
  styles: {
34222
- control: (base) => ({
34223
- ...base,
34224
- "&:focus": {
34225
- borderColor: "var(--color-primary)"
34226
- }
34227
- }),
34222
+ control: () => ({}),
34228
34223
  container: (base) => ({
34229
34224
  ...base,
34230
34225
  height: "100%"
package/dist/widgets.mjs CHANGED
@@ -34127,7 +34127,7 @@ var Many2OneField = (props) => {
34127
34127
  menuShouldScrollIntoView: false,
34128
34128
  options: options2,
34129
34129
  classNames: {
34130
- control: ({ isFocused }) => `w-full flex h-full 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"}`,
34130
+ control: ({ isFocused }) => `w-full flex h-full 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"}`,
34131
34131
  valueContainer: () => "!m-0 !p-0 ",
34132
34132
  singleValue: () => `!m-0 ${readonly ? "!text-[#5c5a5a]" : ""}`,
34133
34133
  input: () => "!m-0 !p-0",
@@ -34156,12 +34156,7 @@ var Many2OneField = (props) => {
34156
34156
  menuPlacement: "bottom",
34157
34157
  menuPortalTarget: typeof window !== "undefined" ? document.body : null,
34158
34158
  styles: {
34159
- control: (base) => ({
34160
- ...base,
34161
- "&:focus": {
34162
- borderColor: "var(--color-primary)"
34163
- }
34164
- }),
34159
+ control: () => ({}),
34165
34160
  container: (base) => ({
34166
34161
  ...base,
34167
34162
  height: "100%"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",