fansunited-management-components 1.53.5 → 1.53.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-management-components",
3
- "version": "1.53.5",
3
+ "version": "1.53.6",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.es.d.ts",
@@ -10,9 +10,9 @@ type BooleanSwitchProps = {
10
10
  descriptionColor: ColorPaletteProp;
11
11
  disabled: boolean;
12
12
  sx?: {
13
- switch: SxProps;
14
- container: SxProps;
15
- label: SxProps;
13
+ switch?: SxProps;
14
+ container?: SxProps;
15
+ label?: SxProps;
16
16
  };
17
17
  onChange: (checked: boolean) => void;
18
18
  };
@@ -23,9 +23,9 @@ type BooleanSwitchProps = {
23
23
  * @property {'start'|'end'} [labelPosition='start'] - Where to place the switch relative to the label.
24
24
  * @property {boolean} defaultValue - Initial checked state.
25
25
  * @property {string} description - Optional helper text shown under the label.
26
- * @property {import('@mui/joy').ColorPaletteProp} descriptionColor - Color of the helper text.
26
+ * @property {ColorPaletteProp} descriptionColor - Color of the helper text.
27
27
  * @property {boolean} disabled - Disables interaction.
28
- * @property {{ switch?: import('@mui/material').SxProps; container?: import('@mui/material').SxProps }} [sx] - Style overrides.
28
+ * @property {{ switch?: SxProps; container?: SxProps; label?: SxProps }} [sx] - Style overrides.
29
29
  * @property {(checked: boolean) => void} onChange - Called when the switch is toggled.
30
30
  */
31
31
  declare const BooleanSwitch: React.FC<BooleanSwitchProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/BooleanSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,gBAAgB,EAAqC,MAAM,UAAU,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AA+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AC;AAEF;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2C/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -91,9 +91,9 @@ export declare const components: {
91
91
  descriptionColor: import('@mui/joy').ColorPaletteProp;
92
92
  disabled: boolean;
93
93
  sx?: {
94
- switch: import('@mui/material').SxProps;
95
- container: import('@mui/material').SxProps;
96
- label: import('@mui/material').SxProps;
94
+ switch?: import('@mui/material').SxProps;
95
+ container?: import('@mui/material').SxProps;
96
+ label?: import('@mui/material').SxProps;
97
97
  };
98
98
  onChange: (checked: boolean) => void;
99
99
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAkDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;OAEG;;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAE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;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;IAEH;;OAEG;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;;;;OAKG;;;oCA9O8B,CAAC;;;;;;;;;;;;;;;;;;CAgPzB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
@@ -70,9 +70,9 @@ declare const ComponentContext: React.Context<{
70
70
  descriptionColor: import('@mui/joy').ColorPaletteProp;
71
71
  disabled: boolean;
72
72
  sx?: {
73
- switch: import('@mui/material').SxProps;
74
- container: import('@mui/material').SxProps;
75
- label: import('@mui/material').SxProps;
73
+ switch?: import('@mui/material').SxProps;
74
+ container?: import('@mui/material').SxProps;
75
+ label?: import('@mui/material').SxProps;
76
76
  };
77
77
  onChange: (checked: boolean) => void;
78
78
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3E,KAAK,sBAAsB,GAAG;IAC7B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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