@glasshome/widget-sdk 1.32.2 → 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.
@@ -6890,5 +6890,303 @@
6890
6890
  "useWidgetViewer",
6891
6891
  "widgetFields",
6892
6892
  "z"
6893
+ ],
6894
+ "1.32.3": [
6895
+ "Badge",
6896
+ "Button",
6897
+ "ButtonGroup",
6898
+ "CameraSourceContext",
6899
+ "CameraStream",
6900
+ "Carousel",
6901
+ "CarouselContent",
6902
+ "CarouselDots",
6903
+ "CarouselItem",
6904
+ "CarouselNext",
6905
+ "CarouselPrevious",
6906
+ "ColorDisc",
6907
+ "ColorSlider",
6908
+ "ColorWheel",
6909
+ "CountPill",
6910
+ "Icon",
6911
+ "Input",
6912
+ "Label",
6913
+ "PanelEntityRow",
6914
+ "PanelFacts",
6915
+ "PanelRow",
6916
+ "PanelRows",
6917
+ "PanelSection",
6918
+ "Progress",
6919
+ "ResponsiveDialog",
6920
+ "ResponsiveDialogBody",
6921
+ "ResponsiveDialogClose",
6922
+ "ResponsiveDialogContent",
6923
+ "ResponsiveDialogDescription",
6924
+ "ResponsiveDialogFooter",
6925
+ "ResponsiveDialogHeader",
6926
+ "ResponsiveDialogTitle",
6927
+ "SDK_VERSION",
6928
+ "SchemaForm",
6929
+ "SectionIcon",
6930
+ "SectionTitle",
6931
+ "Select",
6932
+ "SelectContent",
6933
+ "SelectItem",
6934
+ "SelectTrigger",
6935
+ "SelectValue",
6936
+ "Slider",
6937
+ "SwatchPicker",
6938
+ "Switch",
6939
+ "Tabs",
6940
+ "TabsContent",
6941
+ "TabsList",
6942
+ "TabsTrigger",
6943
+ "TemperatureBar",
6944
+ "Toggle",
6945
+ "ToggleGroup",
6946
+ "ToggleGroupItem",
6947
+ "ToneSchema",
6948
+ "Widget",
6949
+ "WidgetAction",
6950
+ "WidgetBackdrop",
6951
+ "WidgetChip",
6952
+ "WidgetChoice",
6953
+ "WidgetContent",
6954
+ "WidgetControls",
6955
+ "WidgetCtx",
6956
+ "WidgetDebugTab",
6957
+ "WidgetDebugView",
6958
+ "WidgetDialog",
6959
+ "WidgetGlyph",
6960
+ "WidgetHead",
6961
+ "WidgetHero",
6962
+ "WidgetIcon",
6963
+ "WidgetLayer",
6964
+ "WidgetManifestSchema",
6965
+ "WidgetSizeCtx",
6966
+ "WidgetSliderFill",
6967
+ "WidgetStatus",
6968
+ "WidgetStepper",
6969
+ "WidgetTitle",
6970
+ "WidgetValue",
6971
+ "buildDebugData",
6972
+ "byDomain",
6973
+ "calculateLightGroup",
6974
+ "calculateSensorGroup",
6975
+ "copyText",
6976
+ "countActiveEntities",
6977
+ "defineConfig",
6978
+ "defineWidget",
6979
+ "deprecations",
6980
+ "field",
6981
+ "formatDeprecation",
6982
+ "formatSchemaError",
6983
+ "getEntityAttribute",
6984
+ "getForecasts",
6985
+ "getStream",
6986
+ "getWebRtcClientConfig",
6987
+ "hassMediaUrl",
6988
+ "imagePreset",
6989
+ "imageSrc",
6990
+ "imageUrl",
6991
+ "injectTokens",
6992
+ "isDark",
6993
+ "isEntityActive",
6994
+ "isPanelControllable",
6995
+ "mediaUrl",
6996
+ "monotoneCubicPath",
6997
+ "parseColor",
6998
+ "presetValue",
6999
+ "provideCameraSource",
7000
+ "sendWebRtcCandidate",
7001
+ "startWebRtcSession",
7002
+ "state",
7003
+ "svgColors",
7004
+ "trackEntityHistory",
7005
+ "untrackEntityHistory",
7006
+ "useArea",
7007
+ "useCalendarEvents",
7008
+ "useCamera",
7009
+ "useCameraSource",
7010
+ "useConfirm",
7011
+ "useConnection",
7012
+ "useCopyText",
7013
+ "useCurrency",
7014
+ "useDaylight",
7015
+ "useEntities",
7016
+ "useEntity",
7017
+ "useEntityHistory",
7018
+ "useEntityStatistics",
7019
+ "useForecast",
7020
+ "useHassConfig",
7021
+ "useIntersectionPause",
7022
+ "useLocale",
7023
+ "useMaterial",
7024
+ "useReducedMotion",
7025
+ "useService",
7026
+ "useStore",
7027
+ "useTemperatureUnit",
7028
+ "useToggle",
7029
+ "useTurnOff",
7030
+ "useTurnOn",
7031
+ "useUnitSystem",
7032
+ "useWidgetContext",
7033
+ "useWidgetDashboard",
7034
+ "useWidgetDialog",
7035
+ "useWidgetDimensions",
7036
+ "useWidgetEntityGroup",
7037
+ "useWidgetGestures",
7038
+ "useWidgetState",
7039
+ "useWidgetViewer",
7040
+ "widgetFields",
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"
6893
7191
  ]
6894
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
  /**