@glasshome/widget-sdk 1.32.3 → 1.32.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.
@@ -7039,5 +7039,154 @@
7039
7039
  "useWidgetViewer",
7040
7040
  "widgetFields",
7041
7041
  "z"
7042
+ ],
7043
+ "1.32.4": [
7044
+ "Badge",
7045
+ "Button",
7046
+ "ButtonGroup",
7047
+ "CameraSourceContext",
7048
+ "CameraStream",
7049
+ "Carousel",
7050
+ "CarouselContent",
7051
+ "CarouselDots",
7052
+ "CarouselItem",
7053
+ "CarouselNext",
7054
+ "CarouselPrevious",
7055
+ "ColorDisc",
7056
+ "ColorSlider",
7057
+ "ColorWheel",
7058
+ "CountPill",
7059
+ "Icon",
7060
+ "Input",
7061
+ "Label",
7062
+ "PanelEntityRow",
7063
+ "PanelFacts",
7064
+ "PanelRow",
7065
+ "PanelRows",
7066
+ "PanelSection",
7067
+ "Progress",
7068
+ "ResponsiveDialog",
7069
+ "ResponsiveDialogBody",
7070
+ "ResponsiveDialogClose",
7071
+ "ResponsiveDialogContent",
7072
+ "ResponsiveDialogDescription",
7073
+ "ResponsiveDialogFooter",
7074
+ "ResponsiveDialogHeader",
7075
+ "ResponsiveDialogTitle",
7076
+ "SDK_VERSION",
7077
+ "SchemaForm",
7078
+ "SectionIcon",
7079
+ "SectionTitle",
7080
+ "Select",
7081
+ "SelectContent",
7082
+ "SelectItem",
7083
+ "SelectTrigger",
7084
+ "SelectValue",
7085
+ "Slider",
7086
+ "SwatchPicker",
7087
+ "Switch",
7088
+ "Tabs",
7089
+ "TabsContent",
7090
+ "TabsList",
7091
+ "TabsTrigger",
7092
+ "TemperatureBar",
7093
+ "Toggle",
7094
+ "ToggleGroup",
7095
+ "ToggleGroupItem",
7096
+ "ToneSchema",
7097
+ "Widget",
7098
+ "WidgetAction",
7099
+ "WidgetBackdrop",
7100
+ "WidgetChip",
7101
+ "WidgetChoice",
7102
+ "WidgetContent",
7103
+ "WidgetControls",
7104
+ "WidgetCtx",
7105
+ "WidgetDebugTab",
7106
+ "WidgetDebugView",
7107
+ "WidgetDialog",
7108
+ "WidgetGlyph",
7109
+ "WidgetHead",
7110
+ "WidgetHero",
7111
+ "WidgetIcon",
7112
+ "WidgetLayer",
7113
+ "WidgetManifestSchema",
7114
+ "WidgetSizeCtx",
7115
+ "WidgetSliderFill",
7116
+ "WidgetStatus",
7117
+ "WidgetStepper",
7118
+ "WidgetTitle",
7119
+ "WidgetValue",
7120
+ "buildDebugData",
7121
+ "byDomain",
7122
+ "calculateLightGroup",
7123
+ "calculateSensorGroup",
7124
+ "copyText",
7125
+ "countActiveEntities",
7126
+ "defineConfig",
7127
+ "defineWidget",
7128
+ "deprecations",
7129
+ "field",
7130
+ "formatDeprecation",
7131
+ "formatSchemaError",
7132
+ "getEntityAttribute",
7133
+ "getForecasts",
7134
+ "getStream",
7135
+ "getWebRtcClientConfig",
7136
+ "hassMediaUrl",
7137
+ "imagePreset",
7138
+ "imageSrc",
7139
+ "imageUrl",
7140
+ "injectTokens",
7141
+ "isDark",
7142
+ "isEntityActive",
7143
+ "isPanelControllable",
7144
+ "mediaUrl",
7145
+ "monotoneCubicPath",
7146
+ "parseColor",
7147
+ "presetValue",
7148
+ "provideCameraSource",
7149
+ "sendWebRtcCandidate",
7150
+ "startWebRtcSession",
7151
+ "state",
7152
+ "svgColors",
7153
+ "trackEntityHistory",
7154
+ "untrackEntityHistory",
7155
+ "useArea",
7156
+ "useCalendarEvents",
7157
+ "useCamera",
7158
+ "useCameraSource",
7159
+ "useConfirm",
7160
+ "useConnection",
7161
+ "useCopyText",
7162
+ "useCurrency",
7163
+ "useDaylight",
7164
+ "useEntities",
7165
+ "useEntity",
7166
+ "useEntityHistory",
7167
+ "useEntityStatistics",
7168
+ "useForecast",
7169
+ "useHassConfig",
7170
+ "useIntersectionPause",
7171
+ "useLocale",
7172
+ "useMaterial",
7173
+ "useReducedMotion",
7174
+ "useService",
7175
+ "useStore",
7176
+ "useTemperatureUnit",
7177
+ "useToggle",
7178
+ "useTurnOff",
7179
+ "useTurnOn",
7180
+ "useUnitSystem",
7181
+ "useWidgetContext",
7182
+ "useWidgetDashboard",
7183
+ "useWidgetDialog",
7184
+ "useWidgetDimensions",
7185
+ "useWidgetEntityGroup",
7186
+ "useWidgetGestures",
7187
+ "useWidgetState",
7188
+ "useWidgetViewer",
7189
+ "widgetFields",
7190
+ "z"
7042
7191
  ]
7043
7192
  }
@@ -6,6 +6,9 @@ import { type ZodType } from "zod";
6
6
  * `{ formType: "area-picker" }`). The `override` callback reads these from
7
7
  * `z.globalRegistry` and merges them into the JSON Schema output so the
8
8
  * form renderer can detect custom field types.
9
+ *
10
+ * The conversion runs once per schema object; every caller of the same schema
11
+ * receives the same result, so read it and never change it.
9
12
  */
10
13
  export declare function toFormSchema(schema: ZodType): object;
11
14
  /**