@glasshome/widget-sdk 1.32.0 → 1.32.2
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/dist/media/camera-stream.js +3 -3
- package/package.json +1 -1
package/dist/export-history.json
CHANGED
|
@@ -6592,5 +6592,303 @@
|
|
|
6592
6592
|
"useWidgetViewer",
|
|
6593
6593
|
"widgetFields",
|
|
6594
6594
|
"z"
|
|
6595
|
+
],
|
|
6596
|
+
"1.32.1": [
|
|
6597
|
+
"Badge",
|
|
6598
|
+
"Button",
|
|
6599
|
+
"ButtonGroup",
|
|
6600
|
+
"CameraSourceContext",
|
|
6601
|
+
"CameraStream",
|
|
6602
|
+
"Carousel",
|
|
6603
|
+
"CarouselContent",
|
|
6604
|
+
"CarouselDots",
|
|
6605
|
+
"CarouselItem",
|
|
6606
|
+
"CarouselNext",
|
|
6607
|
+
"CarouselPrevious",
|
|
6608
|
+
"ColorDisc",
|
|
6609
|
+
"ColorSlider",
|
|
6610
|
+
"ColorWheel",
|
|
6611
|
+
"CountPill",
|
|
6612
|
+
"Icon",
|
|
6613
|
+
"Input",
|
|
6614
|
+
"Label",
|
|
6615
|
+
"PanelEntityRow",
|
|
6616
|
+
"PanelFacts",
|
|
6617
|
+
"PanelRow",
|
|
6618
|
+
"PanelRows",
|
|
6619
|
+
"PanelSection",
|
|
6620
|
+
"Progress",
|
|
6621
|
+
"ResponsiveDialog",
|
|
6622
|
+
"ResponsiveDialogBody",
|
|
6623
|
+
"ResponsiveDialogClose",
|
|
6624
|
+
"ResponsiveDialogContent",
|
|
6625
|
+
"ResponsiveDialogDescription",
|
|
6626
|
+
"ResponsiveDialogFooter",
|
|
6627
|
+
"ResponsiveDialogHeader",
|
|
6628
|
+
"ResponsiveDialogTitle",
|
|
6629
|
+
"SDK_VERSION",
|
|
6630
|
+
"SchemaForm",
|
|
6631
|
+
"SectionIcon",
|
|
6632
|
+
"SectionTitle",
|
|
6633
|
+
"Select",
|
|
6634
|
+
"SelectContent",
|
|
6635
|
+
"SelectItem",
|
|
6636
|
+
"SelectTrigger",
|
|
6637
|
+
"SelectValue",
|
|
6638
|
+
"Slider",
|
|
6639
|
+
"SwatchPicker",
|
|
6640
|
+
"Switch",
|
|
6641
|
+
"Tabs",
|
|
6642
|
+
"TabsContent",
|
|
6643
|
+
"TabsList",
|
|
6644
|
+
"TabsTrigger",
|
|
6645
|
+
"TemperatureBar",
|
|
6646
|
+
"Toggle",
|
|
6647
|
+
"ToggleGroup",
|
|
6648
|
+
"ToggleGroupItem",
|
|
6649
|
+
"ToneSchema",
|
|
6650
|
+
"Widget",
|
|
6651
|
+
"WidgetAction",
|
|
6652
|
+
"WidgetBackdrop",
|
|
6653
|
+
"WidgetChip",
|
|
6654
|
+
"WidgetChoice",
|
|
6655
|
+
"WidgetContent",
|
|
6656
|
+
"WidgetControls",
|
|
6657
|
+
"WidgetCtx",
|
|
6658
|
+
"WidgetDebugTab",
|
|
6659
|
+
"WidgetDebugView",
|
|
6660
|
+
"WidgetDialog",
|
|
6661
|
+
"WidgetGlyph",
|
|
6662
|
+
"WidgetHead",
|
|
6663
|
+
"WidgetHero",
|
|
6664
|
+
"WidgetIcon",
|
|
6665
|
+
"WidgetLayer",
|
|
6666
|
+
"WidgetManifestSchema",
|
|
6667
|
+
"WidgetSizeCtx",
|
|
6668
|
+
"WidgetSliderFill",
|
|
6669
|
+
"WidgetStatus",
|
|
6670
|
+
"WidgetStepper",
|
|
6671
|
+
"WidgetTitle",
|
|
6672
|
+
"WidgetValue",
|
|
6673
|
+
"buildDebugData",
|
|
6674
|
+
"byDomain",
|
|
6675
|
+
"calculateLightGroup",
|
|
6676
|
+
"calculateSensorGroup",
|
|
6677
|
+
"copyText",
|
|
6678
|
+
"countActiveEntities",
|
|
6679
|
+
"defineConfig",
|
|
6680
|
+
"defineWidget",
|
|
6681
|
+
"deprecations",
|
|
6682
|
+
"field",
|
|
6683
|
+
"formatDeprecation",
|
|
6684
|
+
"formatSchemaError",
|
|
6685
|
+
"getEntityAttribute",
|
|
6686
|
+
"getForecasts",
|
|
6687
|
+
"getStream",
|
|
6688
|
+
"getWebRtcClientConfig",
|
|
6689
|
+
"hassMediaUrl",
|
|
6690
|
+
"imagePreset",
|
|
6691
|
+
"imageSrc",
|
|
6692
|
+
"imageUrl",
|
|
6693
|
+
"injectTokens",
|
|
6694
|
+
"isDark",
|
|
6695
|
+
"isEntityActive",
|
|
6696
|
+
"isPanelControllable",
|
|
6697
|
+
"mediaUrl",
|
|
6698
|
+
"monotoneCubicPath",
|
|
6699
|
+
"parseColor",
|
|
6700
|
+
"presetValue",
|
|
6701
|
+
"provideCameraSource",
|
|
6702
|
+
"sendWebRtcCandidate",
|
|
6703
|
+
"startWebRtcSession",
|
|
6704
|
+
"state",
|
|
6705
|
+
"svgColors",
|
|
6706
|
+
"trackEntityHistory",
|
|
6707
|
+
"untrackEntityHistory",
|
|
6708
|
+
"useArea",
|
|
6709
|
+
"useCalendarEvents",
|
|
6710
|
+
"useCamera",
|
|
6711
|
+
"useCameraSource",
|
|
6712
|
+
"useConfirm",
|
|
6713
|
+
"useConnection",
|
|
6714
|
+
"useCopyText",
|
|
6715
|
+
"useCurrency",
|
|
6716
|
+
"useDaylight",
|
|
6717
|
+
"useEntities",
|
|
6718
|
+
"useEntity",
|
|
6719
|
+
"useEntityHistory",
|
|
6720
|
+
"useEntityStatistics",
|
|
6721
|
+
"useForecast",
|
|
6722
|
+
"useHassConfig",
|
|
6723
|
+
"useIntersectionPause",
|
|
6724
|
+
"useLocale",
|
|
6725
|
+
"useMaterial",
|
|
6726
|
+
"useReducedMotion",
|
|
6727
|
+
"useService",
|
|
6728
|
+
"useStore",
|
|
6729
|
+
"useTemperatureUnit",
|
|
6730
|
+
"useToggle",
|
|
6731
|
+
"useTurnOff",
|
|
6732
|
+
"useTurnOn",
|
|
6733
|
+
"useUnitSystem",
|
|
6734
|
+
"useWidgetContext",
|
|
6735
|
+
"useWidgetDashboard",
|
|
6736
|
+
"useWidgetDialog",
|
|
6737
|
+
"useWidgetDimensions",
|
|
6738
|
+
"useWidgetEntityGroup",
|
|
6739
|
+
"useWidgetGestures",
|
|
6740
|
+
"useWidgetState",
|
|
6741
|
+
"useWidgetViewer",
|
|
6742
|
+
"widgetFields",
|
|
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"
|
|
6595
6893
|
]
|
|
6596
6894
|
}
|
|
@@ -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
|
}
|