@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/index110.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const root = "krc-root-wErEG";
|
|
2
|
+
const list = "krc-list-Np3Qt";
|
|
3
|
+
const page = "krc-page-znalz";
|
|
4
|
+
const arrow = "krc-arrow-ruhgF";
|
|
5
|
+
const isActive = "krc-isActive-azJrs";
|
|
6
|
+
const ellipsis = "krc-ellipsis-vMrZ6";
|
|
7
|
+
const styles = {
|
|
8
|
+
root,
|
|
9
|
+
list,
|
|
10
|
+
page,
|
|
11
|
+
arrow,
|
|
12
|
+
isActive,
|
|
13
|
+
ellipsis
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
arrow,
|
|
17
|
+
styles as default,
|
|
18
|
+
ellipsis,
|
|
19
|
+
isActive,
|
|
20
|
+
list,
|
|
21
|
+
page,
|
|
22
|
+
root
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index110.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index110.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-jba0x";
|
|
4
|
+
const styles = {
|
|
5
|
+
root
|
|
6
|
+
};
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
exports.root = root;
|
|
9
|
+
//# sourceMappingURL=index111.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index111.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index111.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index111.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-pJYpn";
|
|
4
|
+
const styles = {
|
|
5
|
+
root
|
|
6
|
+
};
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
exports.root = root;
|
|
9
|
+
//# sourceMappingURL=index112.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index112.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index112.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const overlay = "krc-overlay-4gFc3";
|
|
4
|
+
const root = "krc-root-eKDda";
|
|
5
|
+
const header = "krc-header-YrzLd";
|
|
6
|
+
const title = "krc-title-9rzEH";
|
|
7
|
+
const closeBtn = "krc-closeBtn-vGJ7P";
|
|
8
|
+
const body = "krc-body-g43Cd";
|
|
9
|
+
const footer = "krc-footer-JRwi5";
|
|
10
|
+
const styles = {
|
|
11
|
+
overlay,
|
|
12
|
+
root,
|
|
13
|
+
header,
|
|
14
|
+
title,
|
|
15
|
+
closeBtn,
|
|
16
|
+
body,
|
|
17
|
+
footer
|
|
18
|
+
};
|
|
19
|
+
exports.body = body;
|
|
20
|
+
exports.closeBtn = closeBtn;
|
|
21
|
+
exports.default = styles;
|
|
22
|
+
exports.footer = footer;
|
|
23
|
+
exports.header = header;
|
|
24
|
+
exports.overlay = overlay;
|
|
25
|
+
exports.root = root;
|
|
26
|
+
exports.title = title;
|
|
27
|
+
//# sourceMappingURL=index113.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index113.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index113.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const overlay = "krc-overlay-4gFc3";
|
|
2
|
+
const root = "krc-root-eKDda";
|
|
3
|
+
const header = "krc-header-YrzLd";
|
|
4
|
+
const title = "krc-title-9rzEH";
|
|
5
|
+
const closeBtn = "krc-closeBtn-vGJ7P";
|
|
6
|
+
const body = "krc-body-g43Cd";
|
|
7
|
+
const footer = "krc-footer-JRwi5";
|
|
8
|
+
const styles = {
|
|
9
|
+
overlay,
|
|
10
|
+
root,
|
|
11
|
+
header,
|
|
12
|
+
title,
|
|
13
|
+
closeBtn,
|
|
14
|
+
body,
|
|
15
|
+
footer
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
body,
|
|
19
|
+
closeBtn,
|
|
20
|
+
styles as default,
|
|
21
|
+
footer,
|
|
22
|
+
header,
|
|
23
|
+
overlay,
|
|
24
|
+
root,
|
|
25
|
+
title
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index113.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index113.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/index12.cjs
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const clsx = require("./
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
4
|
+
const clsx = require("./index57.cjs");
|
|
5
|
+
const Avatar_module = require("./index70.cjs");
|
|
6
|
+
const Avatar = ({ label, size = "md", className, ...props }) => {
|
|
7
|
+
const initials = label.split(" ").filter(Boolean).map((part) => part[0]).join("").slice(0, 2).toUpperCase();
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
+
"span",
|
|
10
|
+
{
|
|
11
|
+
className: clsx.clsx(Avatar_module.default.root, Avatar_module.default[size], className),
|
|
12
|
+
"aria-hidden": "true",
|
|
13
|
+
...props,
|
|
14
|
+
children: initials || "?"
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
exports.Avatar = Avatar;
|
|
8
19
|
//# sourceMappingURL=index12.cjs.map
|
package/dist/index12.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index12.cjs","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index12.cjs","sources":["../src/primitives/Avatar/Avatar.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport styles from './Avatar.module.css';\n\nexport type AvatarSize = 'sm' | 'md' | 'lg';\n\nexport interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {\n label: string;\n size?: AvatarSize;\n}\n\nexport const Avatar = ({ label, size = 'md', className, ...props }: AvatarProps) => {\n const initials = label\n .split(' ')\n .filter(Boolean)\n .map((part) => part[0])\n .join('')\n .slice(0, 2)\n .toUpperCase();\n\n return (\n <span\n className={clsx(styles.root, styles[size], className)}\n aria-hidden=\"true\"\n {...props}\n >\n {initials || '?'}\n </span>\n );\n};\n"],"names":["jsx","clsx","styles"],"mappings":";;;;;AAUO,MAAM,SAAS,CAAC,EAAE,OAAO,OAAO,MAAM,WAAW,GAAG,YAAyB;AAClF,QAAM,WAAW,MACd,MAAM,GAAG,EACT,OAAO,OAAO,EACd,IAAI,CAAC,SAAS,KAAK,CAAC,CAAC,EACrB,KAAK,EAAE,EACP,MAAM,GAAG,CAAC,EACV,YAAA;AAEH,SACEA,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,KAAAA,KAAKC,sBAAO,MAAMA,cAAAA,QAAO,IAAI,GAAG,SAAS;AAAA,MACpD,eAAY;AAAA,MACX,GAAG;AAAA,MAEH,UAAA,YAAY;AAAA,IAAA;AAAA,EAAA;AAGnB;;"}
|
package/dist/index12.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { clsx } from "./
|
|
3
|
-
import styles from "./
|
|
4
|
-
const
|
|
2
|
+
import { clsx } from "./index57.js";
|
|
3
|
+
import styles from "./index70.js";
|
|
4
|
+
const Avatar = ({ label, size = "md", className, ...props }) => {
|
|
5
|
+
const initials = label.split(" ").filter(Boolean).map((part) => part[0]).join("").slice(0, 2).toUpperCase();
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
"span",
|
|
8
|
+
{
|
|
9
|
+
className: clsx(styles.root, styles[size], className),
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
...props,
|
|
12
|
+
children: initials || "?"
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
};
|
|
5
16
|
export {
|
|
6
|
-
|
|
17
|
+
Avatar
|
|
7
18
|
};
|
|
8
19
|
//# sourceMappingURL=index12.js.map
|
package/dist/index12.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index12.js","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index12.js","sources":["../src/primitives/Avatar/Avatar.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport styles from './Avatar.module.css';\n\nexport type AvatarSize = 'sm' | 'md' | 'lg';\n\nexport interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {\n label: string;\n size?: AvatarSize;\n}\n\nexport const Avatar = ({ label, size = 'md', className, ...props }: AvatarProps) => {\n const initials = label\n .split(' ')\n .filter(Boolean)\n .map((part) => part[0])\n .join('')\n .slice(0, 2)\n .toUpperCase();\n\n return (\n <span\n className={clsx(styles.root, styles[size], className)}\n aria-hidden=\"true\"\n {...props}\n >\n {initials || '?'}\n </span>\n );\n};\n"],"names":[],"mappings":";;;AAUO,MAAM,SAAS,CAAC,EAAE,OAAO,OAAO,MAAM,WAAW,GAAG,YAAyB;AAClF,QAAM,WAAW,MACd,MAAM,GAAG,EACT,OAAO,OAAO,EACd,IAAI,CAAC,SAAS,KAAK,CAAC,CAAC,EACrB,KAAK,EAAE,EACP,MAAM,GAAG,CAAC,EACV,YAAA;AAEH,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,KAAK,OAAO,MAAM,OAAO,IAAI,GAAG,SAAS;AAAA,MACpD,eAAY;AAAA,MACX,GAAG;AAAA,MAEH,UAAA,YAAY;AAAA,IAAA;AAAA,EAAA;AAGnB;"}
|
package/dist/index13.cjs
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
({ className, variant = "primary", size = "md", type = "button", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
-
"button",
|
|
10
|
-
{
|
|
11
|
-
ref,
|
|
12
|
-
type,
|
|
13
|
-
className: clsx.clsx(Button_module.default.root, Button_module.default[variant], size !== "md" && Button_module.default[size], className),
|
|
14
|
-
...props
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
);
|
|
18
|
-
Button.displayName = "Button";
|
|
19
|
-
exports.Button = Button;
|
|
4
|
+
const clsx = require("./index57.cjs");
|
|
5
|
+
const Badge_module = require("./index63.cjs");
|
|
6
|
+
const Badge = ({ className, variant = "info", ...props }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx.clsx(Badge_module.default.root, Badge_module.default[variant], className), ...props });
|
|
7
|
+
exports.Badge = Badge;
|
|
20
8
|
//# sourceMappingURL=index13.cjs.map
|
package/dist/index13.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.cjs","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index13.cjs","sources":["../src/primitives/Badge/Badge.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport styles from './Badge.module.css';\n\nexport type BadgeVariant = 'success' | 'warning' | 'danger' | 'info';\n\nexport interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {\n variant?: BadgeVariant;\n}\n\nexport const Badge = ({ className, variant = 'info', ...props }: BadgeProps) => (\n <span className={clsx(styles.root, styles[variant], className)} {...props} />\n);\n"],"names":["jsx","clsx","styles"],"mappings":";;;;;AASO,MAAM,QAAQ,CAAC,EAAE,WAAW,UAAU,QAAQ,GAAG,YACtDA,2BAAAA,IAAC,UAAK,WAAWC,KAAAA,KAAKC,aAAAA,QAAO,MAAMA,aAAAA,QAAO,OAAO,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;;"}
|
package/dist/index13.js
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const Button = forwardRef(
|
|
6
|
-
({ className, variant = "primary", size = "md", type = "button", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
|
-
"button",
|
|
8
|
-
{
|
|
9
|
-
ref,
|
|
10
|
-
type,
|
|
11
|
-
className: clsx(styles.root, styles[variant], size !== "md" && styles[size], className),
|
|
12
|
-
...props
|
|
13
|
-
}
|
|
14
|
-
)
|
|
15
|
-
);
|
|
16
|
-
Button.displayName = "Button";
|
|
2
|
+
import { clsx } from "./index57.js";
|
|
3
|
+
import styles from "./index63.js";
|
|
4
|
+
const Badge = ({ className, variant = "info", ...props }) => /* @__PURE__ */ jsx("span", { className: clsx(styles.root, styles[variant], className), ...props });
|
|
17
5
|
export {
|
|
18
|
-
|
|
6
|
+
Badge
|
|
19
7
|
};
|
|
20
8
|
//# sourceMappingURL=index13.js.map
|
package/dist/index13.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.js","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index13.js","sources":["../src/primitives/Badge/Badge.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport styles from './Badge.module.css';\n\nexport type BadgeVariant = 'success' | 'warning' | 'danger' | 'info';\n\nexport interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {\n variant?: BadgeVariant;\n}\n\nexport const Badge = ({ className, variant = 'info', ...props }: BadgeProps) => (\n <span className={clsx(styles.root, styles[variant], className)} {...props} />\n);\n"],"names":[],"mappings":";;;AASO,MAAM,QAAQ,CAAC,EAAE,WAAW,UAAU,QAAQ,GAAG,YACtD,oBAAC,UAAK,WAAW,KAAK,OAAO,MAAM,OAAO,OAAO,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;"}
|
package/dist/index14.cjs
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const clsx = require("./index57.cjs");
|
|
6
|
+
const Button_module = require("./index62.cjs");
|
|
7
|
+
const Button = react.forwardRef(
|
|
8
|
+
({ className, variant = "primary", size = "md", type = "button", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
+
"button",
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
type,
|
|
13
|
+
className: clsx.clsx(Button_module.default.root, Button_module.default[variant], size !== "md" && Button_module.default[size], className),
|
|
14
|
+
...props
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
Button.displayName = "Button";
|
|
19
|
+
exports.Button = Button;
|
|
14
20
|
//# sourceMappingURL=index14.cjs.map
|
package/dist/index14.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index14.cjs","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index14.cjs","sources":["../src/primitives/Button/Button.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport styles from './Button.module.css';\n\nexport type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';\nexport type ButtonSize = 'sm' | 'md' | 'lg';\n\nexport interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: ButtonVariant;\n size?: ButtonSize;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant = 'primary', size = 'md', type = 'button', ...props }, ref) => (\n <button\n ref={ref}\n type={type}\n className={clsx(styles.root, styles[variant], size !== 'md' && styles[size], className)}\n {...props}\n />\n ),\n);\n\nButton.displayName = 'Button';\n"],"names":["forwardRef","jsx","clsx","styles"],"mappings":";;;;;;AAYO,MAAM,SAASA,MAAAA;AAAAA,EACpB,CAAC,EAAE,WAAW,UAAU,WAAW,OAAO,MAAM,OAAO,UAAU,GAAG,MAAA,GAAS,QAC3EC,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,WAAWC,KAAAA,KAAKC,sBAAO,MAAMA,cAAAA,QAAO,OAAO,GAAG,SAAS,QAAQA,cAAAA,QAAO,IAAI,GAAG,SAAS;AAAA,MACrF,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,OAAO,cAAc;;"}
|
package/dist/index14.js
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { clsx } from "./index57.js";
|
|
4
|
+
import styles from "./index62.js";
|
|
5
|
+
const Button = forwardRef(
|
|
6
|
+
({ className, variant = "primary", size = "md", type = "button", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
|
+
"button",
|
|
8
|
+
{
|
|
9
|
+
ref,
|
|
10
|
+
type,
|
|
11
|
+
className: clsx(styles.root, styles[variant], size !== "md" && styles[size], className),
|
|
12
|
+
...props
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
);
|
|
16
|
+
Button.displayName = "Button";
|
|
8
17
|
export {
|
|
9
|
-
|
|
10
|
-
CardContent,
|
|
11
|
-
CardFooter,
|
|
12
|
-
CardHeader
|
|
18
|
+
Button
|
|
13
19
|
};
|
|
14
20
|
//# sourceMappingURL=index14.js.map
|
package/dist/index14.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index14.js","sources":["../src/primitives/
|
|
1
|
+
{"version":3,"file":"index14.js","sources":["../src/primitives/Button/Button.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport styles from './Button.module.css';\n\nexport type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';\nexport type ButtonSize = 'sm' | 'md' | 'lg';\n\nexport interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: ButtonVariant;\n size?: ButtonSize;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant = 'primary', size = 'md', type = 'button', ...props }, ref) => (\n <button\n ref={ref}\n type={type}\n className={clsx(styles.root, styles[variant], size !== 'md' && styles[size], className)}\n {...props}\n />\n ),\n);\n\nButton.displayName = 'Button';\n"],"names":[],"mappings":";;;;AAYO,MAAM,SAAS;AAAA,EACpB,CAAC,EAAE,WAAW,UAAU,WAAW,OAAO,MAAM,OAAO,UAAU,GAAG,MAAA,GAAS,QAC3E;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,WAAW,KAAK,OAAO,MAAM,OAAO,OAAO,GAAG,SAAS,QAAQ,OAAO,IAAI,GAAG,SAAS;AAAA,MACrF,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,OAAO,cAAc;"}
|
package/dist/index15.cjs
CHANGED
|
@@ -1,104 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
height: (override == null ? void 0 : override.height) ?? constants.CHART_MODAL.FALLBACK_HEIGHT
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
const w = Math.min((override == null ? void 0 : override.width) ?? constants.CHART_MODAL.DEFAULT_WIDTH, window.innerWidth - constants.VIEWPORT_MARGIN);
|
|
18
|
-
const h = Math.min((override == null ? void 0 : override.height) ?? constants.CHART_MODAL.DEFAULT_HEIGHT, window.innerHeight - constants.VIEWPORT_MARGIN);
|
|
19
|
-
return { width: Math.max(w, constants.CHART_MODAL.MIN_WIDTH), height: Math.max(h, constants.CHART_MODAL.MIN_HEIGHT) };
|
|
20
|
-
};
|
|
21
|
-
const ChartExpandModal = ({
|
|
22
|
-
title,
|
|
23
|
-
children,
|
|
24
|
-
onClose,
|
|
25
|
-
resizable = false,
|
|
26
|
-
defaultSize,
|
|
27
|
-
actions
|
|
28
|
-
}) => {
|
|
29
|
-
const [size, setSize] = react.useState(() => getInitialSize(defaultSize));
|
|
30
|
-
const [isReady, setIsReady] = react.useState(false);
|
|
31
|
-
const bodyRef = react.useRef(null);
|
|
32
|
-
useEscapeKey.useEscapeKey(onClose);
|
|
33
|
-
react.useEffect(() => {
|
|
34
|
-
if (!resizable) return;
|
|
35
|
-
const handleResize = () => setSize(getInitialSize(defaultSize));
|
|
36
|
-
window.addEventListener("resize", handleResize);
|
|
37
|
-
return () => window.removeEventListener("resize", handleResize);
|
|
38
|
-
}, [resizable, defaultSize]);
|
|
39
|
-
react.useEffect(() => {
|
|
40
|
-
const check = () => {
|
|
41
|
-
const body = bodyRef.current;
|
|
42
|
-
if (body && body.clientWidth > 0 && body.clientHeight > 0) {
|
|
43
|
-
setIsReady(true);
|
|
44
|
-
} else {
|
|
45
|
-
requestAnimationFrame(check);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
requestAnimationFrame(check);
|
|
49
|
-
}, []);
|
|
50
|
-
const handleResizeStart = react.useCallback(
|
|
51
|
-
(e) => {
|
|
52
|
-
var _a, _b;
|
|
53
|
-
if (!resizable || typeof window === "undefined") return;
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
const startX = "touches" in e ? ((_a = e.touches[0]) == null ? void 0 : _a.clientX) ?? 0 : e.clientX;
|
|
56
|
-
const startY = "touches" in e ? ((_b = e.touches[0]) == null ? void 0 : _b.clientY) ?? 0 : e.clientY;
|
|
57
|
-
const startW = size.width;
|
|
58
|
-
const startH = size.height;
|
|
59
|
-
const handleMove = (ev) => {
|
|
60
|
-
var _a2, _b2;
|
|
61
|
-
const cx = ev instanceof TouchEvent ? ((_a2 = ev.touches[0]) == null ? void 0 : _a2.clientX) ?? 0 : ev.clientX;
|
|
62
|
-
const cy = ev instanceof TouchEvent ? ((_b2 = ev.touches[0]) == null ? void 0 : _b2.clientY) ?? 0 : ev.clientY;
|
|
63
|
-
const maxW = Math.min(window.innerWidth - constants.VIEWPORT_MARGIN, constants.CHART_MODAL.MAX_WIDTH);
|
|
64
|
-
const maxH = Math.min(window.innerHeight - constants.VIEWPORT_MARGIN, constants.CHART_MODAL.MAX_HEIGHT);
|
|
65
|
-
setSize({
|
|
66
|
-
width: Math.min(Math.max(startW + (cx - startX), constants.CHART_MODAL.MIN_WIDTH), maxW),
|
|
67
|
-
height: Math.min(Math.max(startH + (cy - startY), constants.CHART_MODAL.MIN_HEIGHT), maxH)
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
const handleUp = () => {
|
|
71
|
-
window.removeEventListener("mousemove", handleMove);
|
|
72
|
-
window.removeEventListener("mouseup", handleUp);
|
|
73
|
-
window.removeEventListener("touchmove", handleMove);
|
|
74
|
-
window.removeEventListener("touchend", handleUp);
|
|
75
|
-
};
|
|
76
|
-
window.addEventListener("mousemove", handleMove);
|
|
77
|
-
window.addEventListener("mouseup", handleUp);
|
|
78
|
-
window.addEventListener("touchmove", handleMove, { passive: false });
|
|
79
|
-
window.addEventListener("touchend", handleUp);
|
|
80
|
-
},
|
|
81
|
-
[resizable, size]
|
|
82
|
-
);
|
|
83
|
-
if (typeof document === "undefined") return null;
|
|
84
|
-
const modalStyle = resizable ? { width: `${size.width}px`, height: `${size.height}px` } : void 0;
|
|
85
|
-
return reactDom.createPortal(
|
|
86
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ChartExpandModal_module.default.overlay, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx(ChartExpandModal_module.default.modal, { [ChartExpandModal_module.default.resizable]: resizable }), style: modalStyle, children: [
|
|
87
|
-
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: ChartExpandModal_module.default.header, children: [
|
|
88
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: ChartExpandModal_module.default.title, children: title }),
|
|
89
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ChartExpandModal_module.default.headerActions, children: [
|
|
90
|
-
actions,
|
|
91
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: ChartExpandModal_module.default.close, onClick: onClose, "aria-label": "Close expanded chart", children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: constants.ICON_SIZE.LG, height: constants.ICON_SIZE.LG, viewBox: constants.SVG_VIEWBOX, fill: "none", stroke: "currentColor", strokeWidth: constants.SVG_STROKE_WIDTH, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
92
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
93
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
94
|
-
] }) })
|
|
95
|
-
] })
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ChartExpandModal_module.default.body, ref: bodyRef, children: isReady ? children : /* @__PURE__ */ jsxRuntime.jsx("div", { className: ChartExpandModal_module.default.loading, children: "Loading chart..." }) }),
|
|
98
|
-
resizable && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ChartExpandModal_module.default.resizeHandle, onMouseDown: handleResizeStart, onTouchStart: handleResizeStart, children: /* @__PURE__ */ jsxRuntime.jsx("span", {}) })
|
|
99
|
-
] }) }),
|
|
100
|
-
document.body
|
|
101
|
-
);
|
|
102
|
-
};
|
|
103
|
-
exports.ChartExpandModal = ChartExpandModal;
|
|
4
|
+
const clsx = require("./index57.cjs");
|
|
5
|
+
const Card_module = require("./index107.cjs");
|
|
6
|
+
const Card = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(Card_module.default.root, className), ...props });
|
|
7
|
+
const CardHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(Card_module.default.header, className), ...props });
|
|
8
|
+
const CardContent = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(Card_module.default.content, className), ...props });
|
|
9
|
+
const CardFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(Card_module.default.footer, className), ...props });
|
|
10
|
+
exports.Card = Card;
|
|
11
|
+
exports.CardContent = CardContent;
|
|
12
|
+
exports.CardFooter = CardFooter;
|
|
13
|
+
exports.CardHeader = CardHeader;
|
|
104
14
|
//# sourceMappingURL=index15.cjs.map
|
package/dist/index15.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index15.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index15.cjs","sources":["../src/primitives/Card/Card.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport styles from './Card.module.css';\n\nexport interface CardProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport const Card = ({ className, ...props }: CardProps) => (\n <div className={clsx(styles.root, className)} {...props} />\n);\n\nexport const CardHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={clsx(styles.header, className)} {...props} />\n);\n\nexport const CardContent = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={clsx(styles.content, className)} {...props} />\n);\n\nexport const CardFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={clsx(styles.footer, className)} {...props} />\n);\n"],"names":["jsx","clsx","styles"],"mappings":";;;;;AAKO,MAAM,OAAO,CAAC,EAAE,WAAW,GAAG,YACnCA,2BAAAA,IAAC,OAAA,EAAI,WAAWC,KAAAA,KAAKC,YAAAA,QAAO,MAAM,SAAS,GAAI,GAAG,MAAA,CAAO;AAGpD,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YACzCF,2BAAAA,IAAC,OAAA,EAAI,WAAWC,KAAAA,KAAKC,YAAAA,QAAO,QAAQ,SAAS,GAAI,GAAG,MAAA,CAAO;AAGtD,MAAM,cAAc,CAAC,EAAE,WAAW,GAAG,YAC1CF,2BAAAA,IAAC,OAAA,EAAI,WAAWC,KAAAA,KAAKC,YAAAA,QAAO,SAAS,SAAS,GAAI,GAAG,MAAA,CAAO;AAGvD,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YACzCF,2BAAAA,IAAC,OAAA,EAAI,WAAWC,KAAAA,KAAKC,YAAAA,QAAO,QAAQ,SAAS,GAAI,GAAG,MAAA,CAAO;;;;;"}
|