@ktnpm_devops/react-component 0.12.0 → 0.13.0
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/README.md +39 -0
- package/dist/charts/CounterTimeseriesChart/CounterTimeseriesChart.d.ts +1 -1
- package/dist/charts/CountersAnalysisCard/CountersAnalysisCard.d.ts +1 -1
- package/dist/charts/CountersAnalysisCard/CountersAnalysisCard.d.ts.map +1 -1
- package/dist/charts/SankeyChartCard/SankeyChartCard.d.ts +1 -1
- package/dist/charts/ScatterChartCard/ScatterChartCard.d.ts +1 -1
- package/dist/charts/StackedBarChartCard/StackedBarChartCard.d.ts +1 -1
- package/dist/charts/StackedBarChartCard/StackedBarChartCard.d.ts.map +1 -1
- package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.d.ts +1 -1
- package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.d.ts.map +1 -1
- package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts +1 -1
- package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts.map +1 -1
- package/dist/composites/DatePickerDropdown/DatePickerDropdown.d.ts +1 -1
- package/dist/composites/FilterDropdown/FilterDropdown.d.ts +1 -1
- package/dist/composites/Loading/Loading.d.ts +1 -1
- package/dist/composites/Loading/Loading.d.ts.map +1 -1
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts +1 -1
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts +1 -1
- package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts.map +1 -1
- package/dist/composites/Sidebar/Sidebar.d.ts +2 -2
- package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts +1 -1
- package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts.map +1 -1
- package/dist/constants.d.ts +26 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts +7 -0
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +91 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts +12 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts +17 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts +14 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts +47 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/index.d.ts +3 -0
- package/dist/geo/GeoMapCard/index.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts +26 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts +13 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts.map +1 -0
- package/dist/geo/index.d.ts +3 -0
- package/dist/geo/index.d.ts.map +1 -0
- package/dist/hooks/useThemeMode.d.ts +8 -0
- package/dist/hooks/useThemeMode.d.ts.map +1 -0
- package/dist/index.cjs +52 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -48
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +45 -14
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +46 -15
- package/dist/index10.js.map +1 -1
- package/dist/index100.cjs +23 -38
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +23 -38
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +19 -92
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +19 -92
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +14 -40
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +13 -39
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +53 -11
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +53 -11
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +20 -2
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +21 -3
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +49 -25
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +49 -25
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +33 -0
- package/dist/index106.cjs.map +1 -0
- package/dist/index106.js +33 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.cjs +18 -0
- package/dist/index107.cjs.map +1 -0
- package/dist/index107.js +18 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.cjs +12 -0
- package/dist/index108.cjs.map +1 -0
- package/dist/index108.js +12 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.cjs +21 -0
- package/dist/index109.cjs.map +1 -0
- package/dist/index109.js +21 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.cjs +14 -15
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +15 -16
- package/dist/index11.js.map +1 -1
- package/dist/index110.cjs +24 -0
- package/dist/index110.cjs.map +1 -0
- package/dist/index110.js +24 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.cjs +9 -0
- package/dist/index111.cjs.map +1 -0
- package/dist/index111.js +9 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.cjs +9 -0
- package/dist/index112.cjs.map +1 -0
- package/dist/index112.js +9 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.cjs +27 -0
- package/dist/index113.cjs.map +1 -0
- package/dist/index113.js +27 -0
- package/dist/index113.js.map +1 -0
- package/dist/index12.cjs +15 -4
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +15 -4
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +4 -16
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +4 -16
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +16 -10
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +16 -10
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +10 -100
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +11 -101
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +100 -20
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +101 -21
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +20 -54
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +20 -54
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +52 -16
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +54 -18
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +16 -24
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +17 -25
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +22 -39
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +23 -40
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +38 -85
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +40 -87
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +85 -153
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +87 -155
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +150 -128
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +150 -128
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +121 -106
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +122 -107
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +121 -17
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +121 -17
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +16 -163
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +16 -163
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +163 -21
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +164 -22
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +20 -129
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +21 -130
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +129 -75
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +131 -77
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +152 -7
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +154 -9
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +74 -128
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +76 -130
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +6 -54
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +8 -56
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +128 -35
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +129 -36
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +51 -221
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +53 -223
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +38 -34
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +39 -35
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +222 -106
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +224 -108
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +30 -64
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +31 -65
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +106 -74
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +108 -76
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +63 -54
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +64 -55
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +69 -144
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +70 -145
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +57 -96
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +59 -98
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +147 -66
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +149 -68
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +97 -7
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +99 -9
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +72 -17
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +73 -18
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +7 -76
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +9 -78
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +17 -143
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +17 -143
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +72 -59
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +74 -61
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +136 -98
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +137 -99
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +49 -32
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +49 -32
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +105 -6
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +106 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +44 -144
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +45 -145
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +6 -8
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +6 -8
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +145 -15
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +147 -17
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +7 -65
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +9 -67
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +19 -16
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +18 -15
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +67 -6
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +66 -5
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +15 -24
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +15 -24
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +2 -20
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +2 -20
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +20 -2
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +20 -2
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -46
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -46
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +22 -64
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +22 -64
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +27 -89
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +26 -88
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +13 -79
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +13 -79
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -28
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +13 -28
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +16 -34
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +16 -34
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +3 -30
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +3 -30
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +116 -40
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +114 -38
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +19 -52
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +19 -52
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +19 -16
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +20 -17
- package/dist/index69.js.map +1 -1
- package/dist/index7.cjs +32 -64
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +32 -64
- package/dist/index7.js.map +1 -1
- package/dist/index70.cjs +11 -2
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +12 -3
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +16 -10
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +17 -11
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +80 -2
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +81 -3
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +47 -5
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +48 -6
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +50 -14
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +51 -15
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +13 -19
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +14 -20
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +28 -10
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +28 -10
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +2 -29
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +3 -30
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +34 -16
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +34 -16
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +10 -19
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +11 -20
- package/dist/index79.js.map +1 -1
- package/dist/index8.cjs +58 -75
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +58 -75
- package/dist/index8.js.map +1 -1
- package/dist/index80.cjs +16 -22
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +16 -22
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +18 -15
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +18 -15
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +4 -13
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +4 -13
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +30 -15
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +30 -15
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +36 -36
- package/dist/index84.js +36 -36
- package/dist/index85.cjs +24 -39
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +25 -40
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +52 -13
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +52 -13
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +39 -21
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +38 -20
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +92 -21
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +91 -20
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +32 -47
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +32 -47
- package/dist/index89.js.map +1 -1
- package/dist/index9.cjs +81 -45
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +81 -45
- package/dist/index9.js.map +1 -1
- package/dist/index90.cjs +116 -16
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +115 -15
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +37 -4
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +38 -5
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +34 -19
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +34 -19
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +134 -22
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +133 -21
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +46 -134
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +45 -133
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +16 -28
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +17 -29
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +16 -22
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +16 -22
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +19 -116
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +18 -115
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +35 -42
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +34 -41
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +43 -42
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +42 -41
- package/dist/index99.js.map +1 -1
- package/dist/layouts/AuthLayout/AuthLayout.d.ts +1 -1
- package/dist/layouts/AuthLayout/AuthLayout.d.ts.map +1 -1
- package/dist/layouts/ChatLayout/ChatLayout.d.ts +1 -1
- package/dist/layouts/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/dist/layouts/SettingsLayout/SettingsLayout.d.ts +1 -1
- package/dist/layouts/SettingsLayout/SettingsLayout.d.ts.map +1 -1
- package/dist/primitives/Avatar/Avatar.d.ts +1 -1
- package/dist/primitives/Avatar/Avatar.d.ts.map +1 -1
- package/dist/primitives/Badge/Badge.d.ts +1 -1
- package/dist/primitives/Badge/Badge.d.ts.map +1 -1
- package/dist/primitives/Card/Card.d.ts +4 -4
- package/dist/primitives/Card/Card.d.ts.map +1 -1
- package/dist/primitives/Chip/Chip.types.d.ts +1 -1
- package/dist/primitives/Chip/Chip.types.d.ts.map +1 -1
- package/dist/primitives/Table/Table.d.ts +2 -2
- package/dist/primitives/Table/Table.d.ts.map +1 -1
- package/dist/primitives/Toast/ToastProvider.d.ts +1 -1
- package/dist/primitives/Toast/ToastProvider.d.ts.map +1 -1
- package/dist/style.css +207 -0
- package/dist/types/geo.types.d.ts +45 -0
- package/dist/types/geo.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +17 -6
package/dist/index100.js
CHANGED
|
@@ -1,42 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const step = lastIndex / (cap - 1);
|
|
23
|
-
return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);
|
|
24
|
-
};
|
|
25
|
-
const foldPoints = (data, maxPoints, mergeCoincident) => {
|
|
26
|
-
const folded = mergeCoincident ? fold(data) : data.map((point, index) => ({ point, index, count: 1 }));
|
|
27
|
-
const points = folded.length > maxPoints ? sample(folded, maxPoints) : folded;
|
|
28
|
-
const represented = points.reduce((sum, p) => sum + p.count, 0);
|
|
29
|
-
return {
|
|
30
|
-
points,
|
|
31
|
-
info: {
|
|
32
|
-
total: data.length,
|
|
33
|
-
drawn: points.length,
|
|
34
|
-
merged: represented - points.length,
|
|
35
|
-
dropped: data.length - represented
|
|
36
|
-
}
|
|
37
|
-
};
|
|
1
|
+
import { useRef, useEffect } from "react";
|
|
2
|
+
import { useMap } from "react-leaflet";
|
|
3
|
+
import { useResizeObserver } from "./index6.js";
|
|
4
|
+
import { GEO_MAP } from "./index67.js";
|
|
5
|
+
const MapViewport = ({ bounds, fitBounds }) => {
|
|
6
|
+
const map = useMap();
|
|
7
|
+
const containerRef = useRef(null);
|
|
8
|
+
if (containerRef.current === null) containerRef.current = map.getContainer();
|
|
9
|
+
const { width, height } = useResizeObserver(containerRef);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
map.invalidateSize();
|
|
12
|
+
}, [map, width, height]);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
if (!fitBounds || bounds == null) return;
|
|
15
|
+
map.fitBounds(bounds, {
|
|
16
|
+
padding: [...GEO_MAP.FIT_BOUNDS_PADDING],
|
|
17
|
+
// A single point makes `fitBounds` collapse to the maximum zoom level.
|
|
18
|
+
maxZoom: GEO_MAP.SINGLE_POINT_ZOOM
|
|
19
|
+
});
|
|
20
|
+
}, [map, bounds, fitBounds]);
|
|
21
|
+
return null;
|
|
38
22
|
};
|
|
23
|
+
MapViewport.displayName = "MapViewport";
|
|
39
24
|
export {
|
|
40
|
-
|
|
25
|
+
MapViewport
|
|
41
26
|
};
|
|
42
27
|
//# sourceMappingURL=index100.js.map
|
package/dist/index100.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index100.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index100.js","sources":["../src/geo/GeoMapCard/MapViewport.tsx"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport { useMap } from 'react-leaflet';\nimport { useResizeObserver } from '../../hooks/useResizeObserver';\nimport { GEO_MAP } from '../../constants';\nimport type { MapViewportProps } from './GeoMapCard.types';\n\n/**\n * A childless child of `MapContainer`, which is the only place `useMap()` works.\n * It owns the two things Leaflet cannot work out on its own:\n *\n * - **Framing**: `fitBounds` over the drawn points, instead of a centroid at a\n * fixed zoom that leaves half a province outside the viewport.\n * - **Sizing**: `invalidateSize()` on every resize. Leaflet caches its container\n * size, so a map mounted hidden — a wizard step, a collapsed split panel —\n * renders grey tiles forever without this.\n */\nexport const MapViewport = ({ bounds, fitBounds }: MapViewportProps) => {\n const map = useMap();\n const containerRef = useRef<HTMLElement | null>(null);\n\n if (containerRef.current === null) containerRef.current = map.getContainer();\n\n const { width, height } = useResizeObserver(containerRef);\n\n useEffect(() => {\n map.invalidateSize();\n }, [map, width, height]);\n\n useEffect(() => {\n if (!fitBounds || bounds == null) return;\n\n map.fitBounds(bounds, {\n padding: [...GEO_MAP.FIT_BOUNDS_PADDING],\n // A single point makes `fitBounds` collapse to the maximum zoom level.\n maxZoom: GEO_MAP.SINGLE_POINT_ZOOM,\n });\n }, [map, bounds, fitBounds]);\n\n return null;\n};\n\nMapViewport.displayName = 'MapViewport';\n"],"names":[],"mappings":";;;;AAgBO,MAAM,cAAc,CAAC,EAAE,QAAQ,gBAAkC;AACtE,QAAM,MAAM,OAAA;AACZ,QAAM,eAAe,OAA2B,IAAI;AAEpD,MAAI,aAAa,YAAY,KAAM,cAAa,UAAU,IAAI,aAAA;AAE9D,QAAM,EAAE,OAAO,WAAW,kBAAkB,YAAY;AAExD,YAAU,MAAM;AACd,QAAI,eAAA;AAAA,EACN,GAAG,CAAC,KAAK,OAAO,MAAM,CAAC;AAEvB,YAAU,MAAM;AACd,QAAI,CAAC,aAAa,UAAU,KAAM;AAElC,QAAI,UAAU,QAAQ;AAAA,MACpB,SAAS,CAAC,GAAG,QAAQ,kBAAkB;AAAA;AAAA,MAEvC,SAAS,QAAQ;AAAA,IAAA,CAClB;AAAA,EACH,GAAG,CAAC,KAAK,QAAQ,SAAS,CAAC;AAE3B,SAAO;AACT;AAEA,YAAY,cAAc;"}
|
package/dist/index101.cjs
CHANGED
|
@@ -1,95 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
for (const folded of points) {
|
|
23
|
-
const key = folded.point.category ?? UNCATEGORISED_SERIES;
|
|
24
|
-
const group = groups.get(key);
|
|
25
|
-
if (group) group.push(folded);
|
|
26
|
-
else groups.set(key, [folded]);
|
|
27
|
-
}
|
|
28
|
-
return groups;
|
|
29
|
-
};
|
|
30
|
-
const toDataItem = (folded, sizeOf) => ({
|
|
31
|
-
name: folded.point.label,
|
|
32
|
-
value: [folded.point.x, folded.point.y, folded.count, folded.index],
|
|
33
|
-
symbolSize: sizeOf(folded.point.weight)
|
|
34
|
-
});
|
|
35
|
-
const buildTooltipFormatter = (config) => (params) => {
|
|
36
|
-
const { name, seriesName, value, marker } = params;
|
|
37
|
-
const [x, y, count] = value;
|
|
38
|
-
const lines = [`${marker} ${escapeHtml(name)}`];
|
|
39
|
-
lines.push(`${escapeHtml(config.xLabel ?? "x")}: ${x}`);
|
|
40
|
-
lines.push(`${escapeHtml(config.yLabel ?? "y")}: ${y}`);
|
|
41
|
-
if (seriesName !== UNCATEGORISED_SERIES) {
|
|
42
|
-
lines.push(`${escapeHtml(config.categoryLabel ?? "Category")}: ${escapeHtml(seriesName)}`);
|
|
43
|
-
}
|
|
44
|
-
if (count > 1) lines.push(`${count} points here`);
|
|
45
|
-
return lines.join("<br/>");
|
|
46
|
-
};
|
|
47
|
-
const buildScatterOption = (points, config) => {
|
|
48
|
-
const weights = points.map((p) => p.point.weight).filter((w) => w != null);
|
|
49
|
-
const minWeight = weights.length > 0 ? Math.min(...weights) : 0;
|
|
50
|
-
const maxWeight = weights.length > 0 ? Math.max(...weights) : 0;
|
|
51
|
-
const sizeOf = (weight) => weights.length === 0 ? constants.SCATTER.BASE_SYMBOL_SIZE : symbolSizeFor(weight ?? minWeight, minWeight, maxWeight);
|
|
52
|
-
const groups = groupByCategory(points);
|
|
53
|
-
const series = [...groups.entries()].map(([category, group], i) => ({
|
|
54
|
-
name: category,
|
|
55
|
-
type: "scatter",
|
|
56
|
-
data: group.map((folded) => toDataItem(folded, sizeOf)),
|
|
57
|
-
itemStyle: { color: constants.CHART_COLORS[i % constants.CHART_COLORS.length], opacity: 0.85 },
|
|
58
|
-
emphasis: { focus: "series" }
|
|
59
|
-
}));
|
|
60
|
-
return {
|
|
61
|
-
tooltip: { trigger: "item", formatter: buildTooltipFormatter(config) },
|
|
62
|
-
legend: config.showLegend ? { bottom: 0, type: "scroll" } : void 0,
|
|
63
|
-
grid: {
|
|
64
|
-
left: config.yLabel ? GRID_MARGIN.Y_NAME : GRID_MARGIN.BASE,
|
|
65
|
-
right: GRID_MARGIN.RIGHT,
|
|
66
|
-
top: GRID_MARGIN.TOP,
|
|
67
|
-
// Room for the x axis name and the legend, each only when drawn.
|
|
68
|
-
bottom: GRID_MARGIN.BASE + (config.xLabel ? GRID_MARGIN.X_NAME : 0) + (config.showLegend ? GRID_MARGIN.LEGEND : 0),
|
|
69
|
-
containLabel: true
|
|
70
|
-
},
|
|
71
|
-
xAxis: {
|
|
72
|
-
type: "value",
|
|
73
|
-
name: config.xLabel,
|
|
74
|
-
nameLocation: "middle",
|
|
75
|
-
nameGap: AXIS_NAME_GAP.X,
|
|
76
|
-
scale: true
|
|
77
|
-
},
|
|
78
|
-
yAxis: {
|
|
79
|
-
type: "value",
|
|
80
|
-
name: config.yLabel,
|
|
81
|
-
nameLocation: "middle",
|
|
82
|
-
// Without this the y name is drawn horizontally and eats the plot's width.
|
|
83
|
-
nameRotate: 90,
|
|
84
|
-
nameGap: AXIS_NAME_GAP.Y,
|
|
85
|
-
scale: true
|
|
86
|
-
},
|
|
87
|
-
dataZoom: config.enableDataZoom ? [
|
|
88
|
-
{ type: "inside", xAxisIndex: 0 },
|
|
89
|
-
{ type: "inside", yAxisIndex: 0 }
|
|
90
|
-
] : void 0,
|
|
91
|
-
series
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
exports.buildScatterOption = buildScatterOption;
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("./index57.cjs");
|
|
5
|
+
const GeoMapCard_module = require("./index103.cjs");
|
|
6
|
+
const MapLegend = ({ items, title }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "leaflet-bottom leaflet-right", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx("leaflet-control", GeoMapCard_module.default.legend), children: [
|
|
7
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: GeoMapCard_module.default.legendTitle, children: title }),
|
|
8
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: GeoMapCard_module.default.legendList, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: GeoMapCard_module.default.legendItem, children: [
|
|
9
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
+
"span",
|
|
11
|
+
{
|
|
12
|
+
className: GeoMapCard_module.default.legendSwatch,
|
|
13
|
+
style: { backgroundColor: item.color },
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
item.label
|
|
18
|
+
] }, item.label)) })
|
|
19
|
+
] }) });
|
|
20
|
+
MapLegend.displayName = "MapLegend";
|
|
21
|
+
exports.MapLegend = MapLegend;
|
|
95
22
|
//# sourceMappingURL=index101.cjs.map
|
package/dist/index101.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index101.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index101.cjs","sources":["../src/geo/GeoMapCard/MapLegend.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { MapLegendProps } from './GeoMapCard.types';\nimport styles from './GeoMapCard.module.css';\n\n/**\n * Rendered inside `MapContainer` with Leaflet's own control classes, so it sits\n * in Leaflet's control pane and needs no `z-index` of its own — which is how the\n * library's \"no z-index above 10\" rule is met without asking for an exception.\n */\nexport const MapLegend = ({ items, title }: MapLegendProps) => (\n <div className=\"leaflet-bottom leaflet-right\">\n <div className={clsx('leaflet-control', styles.legend)}>\n <p className={styles.legendTitle}>{title}</p>\n <ul className={styles.legendList}>\n {items.map((item) => (\n <li key={item.label} className={styles.legendItem}>\n <span\n className={styles.legendSwatch}\n style={{ backgroundColor: item.color }}\n aria-hidden=\"true\"\n />\n {item.label}\n </li>\n ))}\n </ul>\n </div>\n </div>\n);\n\nMapLegend.displayName = 'MapLegend';\n"],"names":["jsx","clsx","styles","jsxs"],"mappings":";;;;;AASO,MAAM,YAAY,CAAC,EAAE,OAAO,MAAA,MACjCA,2BAAAA,IAAC,OAAA,EAAI,WAAU,gCACb,0CAAC,OAAA,EAAI,WAAWC,KAAAA,KAAK,mBAAmBC,kBAAAA,QAAO,MAAM,GACnD,UAAA;AAAA,EAAAF,2BAAAA,IAAC,KAAA,EAAE,WAAWE,kBAAAA,QAAO,aAAc,UAAA,OAAM;AAAA,EACzCF,2BAAAA,IAAC,MAAA,EAAG,WAAWE,kBAAAA,QAAO,YACnB,UAAA,MAAM,IAAI,CAAC,SACVC,2BAAAA,KAAC,MAAA,EAAoB,WAAWD,kBAAAA,QAAO,YACrC,UAAA;AAAA,IAAAF,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWE,kBAAAA,QAAO;AAAA,QAClB,OAAO,EAAE,iBAAiB,KAAK,MAAA;AAAA,QAC/B,eAAY;AAAA,MAAA;AAAA,IAAA;AAAA,IAEb,KAAK;AAAA,EAAA,KANC,KAAK,KAOd,CACD,EAAA,CACH;AAAA,EAAA,CACF,EAAA,CACF;AAGF,UAAU,cAAc;;"}
|
package/dist/index101.js
CHANGED
|
@@ -1,95 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const groups = /* @__PURE__ */ new Map();
|
|
20
|
-
for (const folded of points) {
|
|
21
|
-
const key = folded.point.category ?? UNCATEGORISED_SERIES;
|
|
22
|
-
const group = groups.get(key);
|
|
23
|
-
if (group) group.push(folded);
|
|
24
|
-
else groups.set(key, [folded]);
|
|
25
|
-
}
|
|
26
|
-
return groups;
|
|
27
|
-
};
|
|
28
|
-
const toDataItem = (folded, sizeOf) => ({
|
|
29
|
-
name: folded.point.label,
|
|
30
|
-
value: [folded.point.x, folded.point.y, folded.count, folded.index],
|
|
31
|
-
symbolSize: sizeOf(folded.point.weight)
|
|
32
|
-
});
|
|
33
|
-
const buildTooltipFormatter = (config) => (params) => {
|
|
34
|
-
const { name, seriesName, value, marker } = params;
|
|
35
|
-
const [x, y, count] = value;
|
|
36
|
-
const lines = [`${marker} ${escapeHtml(name)}`];
|
|
37
|
-
lines.push(`${escapeHtml(config.xLabel ?? "x")}: ${x}`);
|
|
38
|
-
lines.push(`${escapeHtml(config.yLabel ?? "y")}: ${y}`);
|
|
39
|
-
if (seriesName !== UNCATEGORISED_SERIES) {
|
|
40
|
-
lines.push(`${escapeHtml(config.categoryLabel ?? "Category")}: ${escapeHtml(seriesName)}`);
|
|
41
|
-
}
|
|
42
|
-
if (count > 1) lines.push(`${count} points here`);
|
|
43
|
-
return lines.join("<br/>");
|
|
44
|
-
};
|
|
45
|
-
const buildScatterOption = (points, config) => {
|
|
46
|
-
const weights = points.map((p) => p.point.weight).filter((w) => w != null);
|
|
47
|
-
const minWeight = weights.length > 0 ? Math.min(...weights) : 0;
|
|
48
|
-
const maxWeight = weights.length > 0 ? Math.max(...weights) : 0;
|
|
49
|
-
const sizeOf = (weight) => weights.length === 0 ? SCATTER.BASE_SYMBOL_SIZE : symbolSizeFor(weight ?? minWeight, minWeight, maxWeight);
|
|
50
|
-
const groups = groupByCategory(points);
|
|
51
|
-
const series = [...groups.entries()].map(([category, group], i) => ({
|
|
52
|
-
name: category,
|
|
53
|
-
type: "scatter",
|
|
54
|
-
data: group.map((folded) => toDataItem(folded, sizeOf)),
|
|
55
|
-
itemStyle: { color: CHART_COLORS[i % CHART_COLORS.length], opacity: 0.85 },
|
|
56
|
-
emphasis: { focus: "series" }
|
|
57
|
-
}));
|
|
58
|
-
return {
|
|
59
|
-
tooltip: { trigger: "item", formatter: buildTooltipFormatter(config) },
|
|
60
|
-
legend: config.showLegend ? { bottom: 0, type: "scroll" } : void 0,
|
|
61
|
-
grid: {
|
|
62
|
-
left: config.yLabel ? GRID_MARGIN.Y_NAME : GRID_MARGIN.BASE,
|
|
63
|
-
right: GRID_MARGIN.RIGHT,
|
|
64
|
-
top: GRID_MARGIN.TOP,
|
|
65
|
-
// Room for the x axis name and the legend, each only when drawn.
|
|
66
|
-
bottom: GRID_MARGIN.BASE + (config.xLabel ? GRID_MARGIN.X_NAME : 0) + (config.showLegend ? GRID_MARGIN.LEGEND : 0),
|
|
67
|
-
containLabel: true
|
|
68
|
-
},
|
|
69
|
-
xAxis: {
|
|
70
|
-
type: "value",
|
|
71
|
-
name: config.xLabel,
|
|
72
|
-
nameLocation: "middle",
|
|
73
|
-
nameGap: AXIS_NAME_GAP.X,
|
|
74
|
-
scale: true
|
|
75
|
-
},
|
|
76
|
-
yAxis: {
|
|
77
|
-
type: "value",
|
|
78
|
-
name: config.yLabel,
|
|
79
|
-
nameLocation: "middle",
|
|
80
|
-
// Without this the y name is drawn horizontally and eats the plot's width.
|
|
81
|
-
nameRotate: 90,
|
|
82
|
-
nameGap: AXIS_NAME_GAP.Y,
|
|
83
|
-
scale: true
|
|
84
|
-
},
|
|
85
|
-
dataZoom: config.enableDataZoom ? [
|
|
86
|
-
{ type: "inside", xAxisIndex: 0 },
|
|
87
|
-
{ type: "inside", yAxisIndex: 0 }
|
|
88
|
-
] : void 0,
|
|
89
|
-
series
|
|
90
|
-
};
|
|
91
|
-
};
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { clsx } from "./index57.js";
|
|
3
|
+
import styles from "./index103.js";
|
|
4
|
+
const MapLegend = ({ items, title }) => /* @__PURE__ */ jsx("div", { className: "leaflet-bottom leaflet-right", children: /* @__PURE__ */ jsxs("div", { className: clsx("leaflet-control", styles.legend), children: [
|
|
5
|
+
/* @__PURE__ */ jsx("p", { className: styles.legendTitle, children: title }),
|
|
6
|
+
/* @__PURE__ */ jsx("ul", { className: styles.legendList, children: items.map((item) => /* @__PURE__ */ jsxs("li", { className: styles.legendItem, children: [
|
|
7
|
+
/* @__PURE__ */ jsx(
|
|
8
|
+
"span",
|
|
9
|
+
{
|
|
10
|
+
className: styles.legendSwatch,
|
|
11
|
+
style: { backgroundColor: item.color },
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}
|
|
14
|
+
),
|
|
15
|
+
item.label
|
|
16
|
+
] }, item.label)) })
|
|
17
|
+
] }) });
|
|
18
|
+
MapLegend.displayName = "MapLegend";
|
|
92
19
|
export {
|
|
93
|
-
|
|
20
|
+
MapLegend
|
|
94
21
|
};
|
|
95
22
|
//# sourceMappingURL=index101.js.map
|
package/dist/index101.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index101.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index101.js","sources":["../src/geo/GeoMapCard/MapLegend.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { MapLegendProps } from './GeoMapCard.types';\nimport styles from './GeoMapCard.module.css';\n\n/**\n * Rendered inside `MapContainer` with Leaflet's own control classes, so it sits\n * in Leaflet's control pane and needs no `z-index` of its own — which is how the\n * library's \"no z-index above 10\" rule is met without asking for an exception.\n */\nexport const MapLegend = ({ items, title }: MapLegendProps) => (\n <div className=\"leaflet-bottom leaflet-right\">\n <div className={clsx('leaflet-control', styles.legend)}>\n <p className={styles.legendTitle}>{title}</p>\n <ul className={styles.legendList}>\n {items.map((item) => (\n <li key={item.label} className={styles.legendItem}>\n <span\n className={styles.legendSwatch}\n style={{ backgroundColor: item.color }}\n aria-hidden=\"true\"\n />\n {item.label}\n </li>\n ))}\n </ul>\n </div>\n </div>\n);\n\nMapLegend.displayName = 'MapLegend';\n"],"names":[],"mappings":";;;AASO,MAAM,YAAY,CAAC,EAAE,OAAO,MAAA,MACjC,oBAAC,OAAA,EAAI,WAAU,gCACb,+BAAC,OAAA,EAAI,WAAW,KAAK,mBAAmB,OAAO,MAAM,GACnD,UAAA;AAAA,EAAA,oBAAC,KAAA,EAAE,WAAW,OAAO,aAAc,UAAA,OAAM;AAAA,EACzC,oBAAC,MAAA,EAAG,WAAW,OAAO,YACnB,UAAA,MAAM,IAAI,CAAC,SACV,qBAAC,MAAA,EAAoB,WAAW,OAAO,YACrC,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,OAAO;AAAA,QAClB,OAAO,EAAE,iBAAiB,KAAK,MAAA;AAAA,QAC/B,eAAY;AAAA,MAAA;AAAA,IAAA;AAAA,IAEb,KAAK;AAAA,EAAA,KANC,KAAK,KAOd,CACD,EAAA,CACH;AAAA,EAAA,CACF,EAAA,CACF;AAGF,UAAU,cAAc;"}
|
package/dist/index102.cjs
CHANGED
|
@@ -1,42 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
root,
|
|
17
|
-
header,
|
|
18
|
-
title,
|
|
19
|
-
headerActions,
|
|
20
|
-
toolbar,
|
|
21
|
-
warning,
|
|
22
|
-
chartContainer,
|
|
23
|
-
loading,
|
|
24
|
-
empty,
|
|
25
|
-
error,
|
|
26
|
-
retryButton,
|
|
27
|
-
compact
|
|
28
|
-
};
|
|
29
|
-
exports.chartContainer = chartContainer;
|
|
30
|
-
exports.compact = compact;
|
|
31
|
-
exports.default = styles;
|
|
32
|
-
exports.empty = empty;
|
|
33
|
-
exports.error = error;
|
|
34
|
-
exports.header = header;
|
|
35
|
-
exports.headerActions = headerActions;
|
|
36
|
-
exports.loading = loading;
|
|
37
|
-
exports.retryButton = retryButton;
|
|
38
|
-
exports.root = root;
|
|
39
|
-
exports.title = title;
|
|
40
|
-
exports.toolbar = toolbar;
|
|
41
|
-
exports.warning = warning;
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const GeoMapCard_module = require("./index103.cjs");
|
|
5
|
+
const PointListing = ({ markers, label, onSelectPoint }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { className: GeoMapCard_module.default.srOnly, "aria-label": label, children: markers.map(({ point, sourceIndex, description, selected }) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: onSelectPoint ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6
|
+
"button",
|
|
7
|
+
{
|
|
8
|
+
type: "button",
|
|
9
|
+
"aria-pressed": selected,
|
|
10
|
+
onClick: () => onSelectPoint({ point, index: sourceIndex }),
|
|
11
|
+
children: description
|
|
12
|
+
}
|
|
13
|
+
) : description }, point.id)) });
|
|
14
|
+
PointListing.displayName = "PointListing";
|
|
15
|
+
exports.PointListing = PointListing;
|
|
42
16
|
//# sourceMappingURL=index102.cjs.map
|
package/dist/index102.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index102.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index102.cjs","sources":["../src/geo/GeoMapCard/PointListing.tsx"],"sourcesContent":["import type { PointListingProps } from './GeoMapCard.types';\nimport styles from './GeoMapCard.module.css';\n\n/**\n * Leaflet draws its `CircleMarker`s as SVG paths, which take no keyboard focus\n * and expose nothing to a screen reader. The same points are therefore also\n * published as a visually hidden list — part of the component's contract, not a\n * patch: it gives keyboard access, gives the reader the data, and gives the\n * tests a surface that does not depend on Leaflet rendering at all.\n */\nexport const PointListing = ({ markers, label, onSelectPoint }: PointListingProps) => (\n <ul className={styles.srOnly} aria-label={label}>\n {markers.map(({ point, sourceIndex, description, selected }) => (\n <li key={point.id}>\n {onSelectPoint ? (\n <button\n type=\"button\"\n aria-pressed={selected}\n onClick={() => onSelectPoint({ point, index: sourceIndex })}\n >\n {description}\n </button>\n ) : (\n description\n )}\n </li>\n ))}\n </ul>\n);\n\nPointListing.displayName = 'PointListing';\n"],"names":["jsx","styles"],"mappings":";;;;AAUO,MAAM,eAAe,CAAC,EAAE,SAAS,OAAO,oBAC7CA,2BAAAA,IAAC,MAAA,EAAG,WAAWC,kBAAAA,QAAO,QAAQ,cAAY,OACvC,UAAA,QAAQ,IAAI,CAAC,EAAE,OAAO,aAAa,aAAa,SAAA,MAC/CD,2BAAAA,IAAC,MAAA,EACE,UAAA,gBACCA,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,gBAAc;AAAA,IACd,SAAS,MAAM,cAAc,EAAE,OAAO,OAAO,aAAa;AAAA,IAEzD,UAAA;AAAA,EAAA;AACH,IAEA,YAAA,GAVK,MAAM,EAYf,CACD,EAAA,CACH;AAGF,aAAa,cAAc;;"}
|
package/dist/index102.js
CHANGED
|
@@ -1,42 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const styles = {
|
|
14
|
-
root,
|
|
15
|
-
header,
|
|
16
|
-
title,
|
|
17
|
-
headerActions,
|
|
18
|
-
toolbar,
|
|
19
|
-
warning,
|
|
20
|
-
chartContainer,
|
|
21
|
-
loading,
|
|
22
|
-
empty,
|
|
23
|
-
error,
|
|
24
|
-
retryButton,
|
|
25
|
-
compact
|
|
26
|
-
};
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import styles from "./index103.js";
|
|
3
|
+
const PointListing = ({ markers, label, onSelectPoint }) => /* @__PURE__ */ jsx("ul", { className: styles.srOnly, "aria-label": label, children: markers.map(({ point, sourceIndex, description, selected }) => /* @__PURE__ */ jsx("li", { children: onSelectPoint ? /* @__PURE__ */ jsx(
|
|
4
|
+
"button",
|
|
5
|
+
{
|
|
6
|
+
type: "button",
|
|
7
|
+
"aria-pressed": selected,
|
|
8
|
+
onClick: () => onSelectPoint({ point, index: sourceIndex }),
|
|
9
|
+
children: description
|
|
10
|
+
}
|
|
11
|
+
) : description }, point.id)) });
|
|
12
|
+
PointListing.displayName = "PointListing";
|
|
27
13
|
export {
|
|
28
|
-
|
|
29
|
-
compact,
|
|
30
|
-
styles as default,
|
|
31
|
-
empty,
|
|
32
|
-
error,
|
|
33
|
-
header,
|
|
34
|
-
headerActions,
|
|
35
|
-
loading,
|
|
36
|
-
retryButton,
|
|
37
|
-
root,
|
|
38
|
-
title,
|
|
39
|
-
toolbar,
|
|
40
|
-
warning
|
|
14
|
+
PointListing
|
|
41
15
|
};
|
|
42
16
|
//# sourceMappingURL=index102.js.map
|
package/dist/index102.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index102.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index102.js","sources":["../src/geo/GeoMapCard/PointListing.tsx"],"sourcesContent":["import type { PointListingProps } from './GeoMapCard.types';\nimport styles from './GeoMapCard.module.css';\n\n/**\n * Leaflet draws its `CircleMarker`s as SVG paths, which take no keyboard focus\n * and expose nothing to a screen reader. The same points are therefore also\n * published as a visually hidden list — part of the component's contract, not a\n * patch: it gives keyboard access, gives the reader the data, and gives the\n * tests a surface that does not depend on Leaflet rendering at all.\n */\nexport const PointListing = ({ markers, label, onSelectPoint }: PointListingProps) => (\n <ul className={styles.srOnly} aria-label={label}>\n {markers.map(({ point, sourceIndex, description, selected }) => (\n <li key={point.id}>\n {onSelectPoint ? (\n <button\n type=\"button\"\n aria-pressed={selected}\n onClick={() => onSelectPoint({ point, index: sourceIndex })}\n >\n {description}\n </button>\n ) : (\n description\n )}\n </li>\n ))}\n </ul>\n);\n\nPointListing.displayName = 'PointListing';\n"],"names":[],"mappings":";;AAUO,MAAM,eAAe,CAAC,EAAE,SAAS,OAAO,oBAC7C,oBAAC,MAAA,EAAG,WAAW,OAAO,QAAQ,cAAY,OACvC,UAAA,QAAQ,IAAI,CAAC,EAAE,OAAO,aAAa,aAAa,SAAA,MAC/C,oBAAC,MAAA,EACE,UAAA,gBACC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,gBAAc;AAAA,IACd,SAAS,MAAM,cAAc,EAAE,OAAO,OAAO,aAAa;AAAA,IAEzD,UAAA;AAAA,EAAA;AACH,IAEA,YAAA,GAVK,MAAM,EAYf,CACD,EAAA,CACH;AAGF,aAAa,cAAc;"}
|
package/dist/index103.cjs
CHANGED
|
@@ -1,21 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
3
|
+
const root = "krc-root-m-WU1";
|
|
4
|
+
const header = "krc-header-j8Yft";
|
|
5
|
+
const title = "krc-title-10Tak";
|
|
6
|
+
const headerActions = "krc-headerActions-rh6MO";
|
|
7
|
+
const toolbar = "krc-toolbar-6bfl-";
|
|
8
|
+
const warning = "krc-warning-dISP1";
|
|
9
|
+
const mapContainer = "krc-mapContainer-MKTII";
|
|
10
|
+
const map = "krc-map-o-Ldd";
|
|
11
|
+
const loading = "krc-loading-LE2tH";
|
|
12
|
+
const empty = "krc-empty-JAoUd";
|
|
13
|
+
const error = "krc-error-FkrvS";
|
|
14
|
+
const retryButton = "krc-retryButton-BKn73";
|
|
15
|
+
const legend = "krc-legend-c-RjE";
|
|
16
|
+
const legendTitle = "krc-legendTitle-j4e4-";
|
|
17
|
+
const legendList = "krc-legendList-jRukT";
|
|
18
|
+
const legendItem = "krc-legendItem-X2jYA";
|
|
19
|
+
const legendSwatch = "krc-legendSwatch-OTMwM";
|
|
20
|
+
const compact = "krc-compact-Ha6w2";
|
|
21
|
+
const srOnly = "krc-srOnly-KDwnO";
|
|
8
22
|
const styles = {
|
|
9
23
|
root,
|
|
10
|
-
|
|
24
|
+
header,
|
|
25
|
+
title,
|
|
26
|
+
headerActions,
|
|
27
|
+
toolbar,
|
|
11
28
|
warning,
|
|
12
|
-
|
|
13
|
-
|
|
29
|
+
mapContainer,
|
|
30
|
+
map,
|
|
31
|
+
loading,
|
|
32
|
+
empty,
|
|
33
|
+
error,
|
|
34
|
+
retryButton,
|
|
35
|
+
legend,
|
|
36
|
+
legendTitle,
|
|
37
|
+
legendList,
|
|
38
|
+
legendItem,
|
|
39
|
+
legendSwatch,
|
|
40
|
+
compact,
|
|
41
|
+
srOnly
|
|
14
42
|
};
|
|
15
|
-
exports.
|
|
43
|
+
exports.compact = compact;
|
|
16
44
|
exports.default = styles;
|
|
17
|
-
exports.
|
|
45
|
+
exports.empty = empty;
|
|
46
|
+
exports.error = error;
|
|
47
|
+
exports.header = header;
|
|
48
|
+
exports.headerActions = headerActions;
|
|
49
|
+
exports.legend = legend;
|
|
50
|
+
exports.legendItem = legendItem;
|
|
51
|
+
exports.legendList = legendList;
|
|
52
|
+
exports.legendSwatch = legendSwatch;
|
|
53
|
+
exports.legendTitle = legendTitle;
|
|
54
|
+
exports.loading = loading;
|
|
55
|
+
exports.map = map;
|
|
56
|
+
exports.mapContainer = mapContainer;
|
|
57
|
+
exports.retryButton = retryButton;
|
|
18
58
|
exports.root = root;
|
|
19
|
-
exports.
|
|
59
|
+
exports.srOnly = srOnly;
|
|
60
|
+
exports.title = title;
|
|
61
|
+
exports.toolbar = toolbar;
|
|
20
62
|
exports.warning = warning;
|
|
21
63
|
//# sourceMappingURL=index103.cjs.map
|
package/dist/index103.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index103.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index103.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|