@glasshome/widget-sdk 1.32.1 → 1.32.3
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/export-history.json +298 -0
- package/dist/framework/hooks/widget-registry.d.ts +1 -1
- package/dist/index.js +667 -678
- package/package.json +1 -1
package/dist/export-history.json
CHANGED
|
@@ -6741,5 +6741,303 @@
|
|
|
6741
6741
|
"useWidgetViewer",
|
|
6742
6742
|
"widgetFields",
|
|
6743
6743
|
"z"
|
|
6744
|
+
],
|
|
6745
|
+
"1.32.2": [
|
|
6746
|
+
"Badge",
|
|
6747
|
+
"Button",
|
|
6748
|
+
"ButtonGroup",
|
|
6749
|
+
"CameraSourceContext",
|
|
6750
|
+
"CameraStream",
|
|
6751
|
+
"Carousel",
|
|
6752
|
+
"CarouselContent",
|
|
6753
|
+
"CarouselDots",
|
|
6754
|
+
"CarouselItem",
|
|
6755
|
+
"CarouselNext",
|
|
6756
|
+
"CarouselPrevious",
|
|
6757
|
+
"ColorDisc",
|
|
6758
|
+
"ColorSlider",
|
|
6759
|
+
"ColorWheel",
|
|
6760
|
+
"CountPill",
|
|
6761
|
+
"Icon",
|
|
6762
|
+
"Input",
|
|
6763
|
+
"Label",
|
|
6764
|
+
"PanelEntityRow",
|
|
6765
|
+
"PanelFacts",
|
|
6766
|
+
"PanelRow",
|
|
6767
|
+
"PanelRows",
|
|
6768
|
+
"PanelSection",
|
|
6769
|
+
"Progress",
|
|
6770
|
+
"ResponsiveDialog",
|
|
6771
|
+
"ResponsiveDialogBody",
|
|
6772
|
+
"ResponsiveDialogClose",
|
|
6773
|
+
"ResponsiveDialogContent",
|
|
6774
|
+
"ResponsiveDialogDescription",
|
|
6775
|
+
"ResponsiveDialogFooter",
|
|
6776
|
+
"ResponsiveDialogHeader",
|
|
6777
|
+
"ResponsiveDialogTitle",
|
|
6778
|
+
"SDK_VERSION",
|
|
6779
|
+
"SchemaForm",
|
|
6780
|
+
"SectionIcon",
|
|
6781
|
+
"SectionTitle",
|
|
6782
|
+
"Select",
|
|
6783
|
+
"SelectContent",
|
|
6784
|
+
"SelectItem",
|
|
6785
|
+
"SelectTrigger",
|
|
6786
|
+
"SelectValue",
|
|
6787
|
+
"Slider",
|
|
6788
|
+
"SwatchPicker",
|
|
6789
|
+
"Switch",
|
|
6790
|
+
"Tabs",
|
|
6791
|
+
"TabsContent",
|
|
6792
|
+
"TabsList",
|
|
6793
|
+
"TabsTrigger",
|
|
6794
|
+
"TemperatureBar",
|
|
6795
|
+
"Toggle",
|
|
6796
|
+
"ToggleGroup",
|
|
6797
|
+
"ToggleGroupItem",
|
|
6798
|
+
"ToneSchema",
|
|
6799
|
+
"Widget",
|
|
6800
|
+
"WidgetAction",
|
|
6801
|
+
"WidgetBackdrop",
|
|
6802
|
+
"WidgetChip",
|
|
6803
|
+
"WidgetChoice",
|
|
6804
|
+
"WidgetContent",
|
|
6805
|
+
"WidgetControls",
|
|
6806
|
+
"WidgetCtx",
|
|
6807
|
+
"WidgetDebugTab",
|
|
6808
|
+
"WidgetDebugView",
|
|
6809
|
+
"WidgetDialog",
|
|
6810
|
+
"WidgetGlyph",
|
|
6811
|
+
"WidgetHead",
|
|
6812
|
+
"WidgetHero",
|
|
6813
|
+
"WidgetIcon",
|
|
6814
|
+
"WidgetLayer",
|
|
6815
|
+
"WidgetManifestSchema",
|
|
6816
|
+
"WidgetSizeCtx",
|
|
6817
|
+
"WidgetSliderFill",
|
|
6818
|
+
"WidgetStatus",
|
|
6819
|
+
"WidgetStepper",
|
|
6820
|
+
"WidgetTitle",
|
|
6821
|
+
"WidgetValue",
|
|
6822
|
+
"buildDebugData",
|
|
6823
|
+
"byDomain",
|
|
6824
|
+
"calculateLightGroup",
|
|
6825
|
+
"calculateSensorGroup",
|
|
6826
|
+
"copyText",
|
|
6827
|
+
"countActiveEntities",
|
|
6828
|
+
"defineConfig",
|
|
6829
|
+
"defineWidget",
|
|
6830
|
+
"deprecations",
|
|
6831
|
+
"field",
|
|
6832
|
+
"formatDeprecation",
|
|
6833
|
+
"formatSchemaError",
|
|
6834
|
+
"getEntityAttribute",
|
|
6835
|
+
"getForecasts",
|
|
6836
|
+
"getStream",
|
|
6837
|
+
"getWebRtcClientConfig",
|
|
6838
|
+
"hassMediaUrl",
|
|
6839
|
+
"imagePreset",
|
|
6840
|
+
"imageSrc",
|
|
6841
|
+
"imageUrl",
|
|
6842
|
+
"injectTokens",
|
|
6843
|
+
"isDark",
|
|
6844
|
+
"isEntityActive",
|
|
6845
|
+
"isPanelControllable",
|
|
6846
|
+
"mediaUrl",
|
|
6847
|
+
"monotoneCubicPath",
|
|
6848
|
+
"parseColor",
|
|
6849
|
+
"presetValue",
|
|
6850
|
+
"provideCameraSource",
|
|
6851
|
+
"sendWebRtcCandidate",
|
|
6852
|
+
"startWebRtcSession",
|
|
6853
|
+
"state",
|
|
6854
|
+
"svgColors",
|
|
6855
|
+
"trackEntityHistory",
|
|
6856
|
+
"untrackEntityHistory",
|
|
6857
|
+
"useArea",
|
|
6858
|
+
"useCalendarEvents",
|
|
6859
|
+
"useCamera",
|
|
6860
|
+
"useCameraSource",
|
|
6861
|
+
"useConfirm",
|
|
6862
|
+
"useConnection",
|
|
6863
|
+
"useCopyText",
|
|
6864
|
+
"useCurrency",
|
|
6865
|
+
"useDaylight",
|
|
6866
|
+
"useEntities",
|
|
6867
|
+
"useEntity",
|
|
6868
|
+
"useEntityHistory",
|
|
6869
|
+
"useEntityStatistics",
|
|
6870
|
+
"useForecast",
|
|
6871
|
+
"useHassConfig",
|
|
6872
|
+
"useIntersectionPause",
|
|
6873
|
+
"useLocale",
|
|
6874
|
+
"useMaterial",
|
|
6875
|
+
"useReducedMotion",
|
|
6876
|
+
"useService",
|
|
6877
|
+
"useStore",
|
|
6878
|
+
"useTemperatureUnit",
|
|
6879
|
+
"useToggle",
|
|
6880
|
+
"useTurnOff",
|
|
6881
|
+
"useTurnOn",
|
|
6882
|
+
"useUnitSystem",
|
|
6883
|
+
"useWidgetContext",
|
|
6884
|
+
"useWidgetDashboard",
|
|
6885
|
+
"useWidgetDialog",
|
|
6886
|
+
"useWidgetDimensions",
|
|
6887
|
+
"useWidgetEntityGroup",
|
|
6888
|
+
"useWidgetGestures",
|
|
6889
|
+
"useWidgetState",
|
|
6890
|
+
"useWidgetViewer",
|
|
6891
|
+
"widgetFields",
|
|
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"
|
|
6744
7042
|
]
|
|
6745
7043
|
}
|
|
@@ -12,7 +12,7 @@ export interface WidgetRegistry {
|
|
|
12
12
|
/** The head's icon. */
|
|
13
13
|
icon: Accessor<string | undefined>;
|
|
14
14
|
setIcon: Setter<string | undefined>;
|
|
15
|
-
/** A hold found no sheet: the shell
|
|
15
|
+
/** A hold found no sheet: the shell shakes once to say the widget has nothing more to show. */
|
|
16
16
|
nothingMore: Accessor<boolean>;
|
|
17
17
|
setNothingMore: Setter<boolean>;
|
|
18
18
|
}
|