@elementor/editor-editing-panel 4.1.0-832 → 4.1.0-834

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.d.mts CHANGED
@@ -1760,6 +1760,72 @@ declare const controlTypes: {
1760
1760
  key: "date-range";
1761
1761
  };
1762
1762
  };
1763
+ readonly 'time-range': {
1764
+ readonly component: ControlComponent<() => react.JSX.Element>;
1765
+ readonly layout: "custom";
1766
+ readonly propTypeUtil: {
1767
+ extract: (prop: unknown) => {
1768
+ min?: any;
1769
+ max?: any;
1770
+ } | null;
1771
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"time-range", {
1772
+ min?: any;
1773
+ max?: any;
1774
+ }>;
1775
+ create: {
1776
+ (value: {
1777
+ min?: any;
1778
+ max?: any;
1779
+ }): _elementor_editor_props.TransformablePropValue<"time-range", {
1780
+ min?: any;
1781
+ max?: any;
1782
+ }>;
1783
+ (value: {
1784
+ min?: any;
1785
+ max?: any;
1786
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"time-range", {
1787
+ min?: any;
1788
+ max?: any;
1789
+ }>;
1790
+ (value: (prev?: {
1791
+ min?: any;
1792
+ max?: any;
1793
+ } | undefined) => {
1794
+ min?: any;
1795
+ max?: any;
1796
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"time-range", {
1797
+ min?: any;
1798
+ max?: any;
1799
+ }>;
1800
+ };
1801
+ schema: zod.ZodObject<{
1802
+ $$type: zod.ZodLiteral<"time-range">;
1803
+ value: zod.ZodType<{
1804
+ min?: any;
1805
+ max?: any;
1806
+ }, zod.ZodTypeDef, {
1807
+ min?: any;
1808
+ max?: any;
1809
+ }>;
1810
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1811
+ }, "strict", zod.ZodTypeAny, {
1812
+ $$type: "time-range";
1813
+ value: {
1814
+ min?: any;
1815
+ max?: any;
1816
+ };
1817
+ disabled?: boolean | undefined;
1818
+ }, {
1819
+ $$type: "time-range";
1820
+ value: {
1821
+ min?: any;
1822
+ max?: any;
1823
+ };
1824
+ disabled?: boolean | undefined;
1825
+ }>;
1826
+ key: "time-range";
1827
+ };
1828
+ };
1763
1829
  readonly 'attachment-type': {
1764
1830
  readonly component: ControlComponent<({ label, options }: {
1765
1831
  label?: string;
package/dist/index.d.ts CHANGED
@@ -1760,6 +1760,72 @@ declare const controlTypes: {
1760
1760
  key: "date-range";
1761
1761
  };
1762
1762
  };
1763
+ readonly 'time-range': {
1764
+ readonly component: ControlComponent<() => react.JSX.Element>;
1765
+ readonly layout: "custom";
1766
+ readonly propTypeUtil: {
1767
+ extract: (prop: unknown) => {
1768
+ min?: any;
1769
+ max?: any;
1770
+ } | null;
1771
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"time-range", {
1772
+ min?: any;
1773
+ max?: any;
1774
+ }>;
1775
+ create: {
1776
+ (value: {
1777
+ min?: any;
1778
+ max?: any;
1779
+ }): _elementor_editor_props.TransformablePropValue<"time-range", {
1780
+ min?: any;
1781
+ max?: any;
1782
+ }>;
1783
+ (value: {
1784
+ min?: any;
1785
+ max?: any;
1786
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"time-range", {
1787
+ min?: any;
1788
+ max?: any;
1789
+ }>;
1790
+ (value: (prev?: {
1791
+ min?: any;
1792
+ max?: any;
1793
+ } | undefined) => {
1794
+ min?: any;
1795
+ max?: any;
1796
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"time-range", {
1797
+ min?: any;
1798
+ max?: any;
1799
+ }>;
1800
+ };
1801
+ schema: zod.ZodObject<{
1802
+ $$type: zod.ZodLiteral<"time-range">;
1803
+ value: zod.ZodType<{
1804
+ min?: any;
1805
+ max?: any;
1806
+ }, zod.ZodTypeDef, {
1807
+ min?: any;
1808
+ max?: any;
1809
+ }>;
1810
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1811
+ }, "strict", zod.ZodTypeAny, {
1812
+ $$type: "time-range";
1813
+ value: {
1814
+ min?: any;
1815
+ max?: any;
1816
+ };
1817
+ disabled?: boolean | undefined;
1818
+ }, {
1819
+ $$type: "time-range";
1820
+ value: {
1821
+ min?: any;
1822
+ max?: any;
1823
+ };
1824
+ disabled?: boolean | undefined;
1825
+ }>;
1826
+ key: "time-range";
1827
+ };
1828
+ };
1763
1829
  readonly 'attachment-type': {
1764
1830
  readonly component: ControlComponent<({ label, options }: {
1765
1831
  label?: string;
package/dist/index.js CHANGED
@@ -2055,6 +2055,11 @@ var controlTypes = {
2055
2055
  layout: "custom",
2056
2056
  propTypeUtil: import_editor_props4.dateRangePropTypeUtil
2057
2057
  },
2058
+ "time-range": {
2059
+ component: import_editor_controls.TimeRangeControl,
2060
+ layout: "custom",
2061
+ propTypeUtil: import_editor_props4.timeRangePropTypeUtil
2062
+ },
2058
2063
  "attachment-type": { component: import_editor_controls.AttachmentTypeControl, layout: "custom", propTypeUtil: import_editor_props4.stringPropTypeUtil }
2059
2064
  };
2060
2065
  var ControlsRegistry = class {