@ktnpm_devops/react-component 0.12.1 → 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/constants.d.ts +26 -0
- package/dist/constants.d.ts.map +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 +24 -6
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +23 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +20 -16
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +19 -15
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +14 -22
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +13 -21
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +57 -36
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +57 -36
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +19 -16
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +20 -17
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +49 -19
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +49 -19
- 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 +20 -129
- 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 +128 -35
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +51 -221
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +52 -222
- 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 +8 -66
- 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 -24
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +66 -23
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +15 -69
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +15 -69
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +3 -15
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +3 -15
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +24 -89
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +23 -88
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -16
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -16
- package/dist/index60.js.map +1 -1
- package/dist/index62.cjs +18 -9
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +18 -9
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +13 -16
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +13 -16
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -13
- package/dist/index64.js +13 -13
- package/dist/index65.cjs +17 -2
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +18 -3
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +2 -20
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +3 -21
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +116 -28
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +114 -26
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +17 -17
- package/dist/index68.js +18 -18
- package/dist/index69.cjs +20 -5
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +20 -5
- 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 +10 -16
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +10 -16
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +16 -28
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +16 -28
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +79 -19
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +80 -20
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +47 -2
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +48 -3
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +53 -2
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +54 -3
- package/dist/index74.js.map +1 -1
- package/dist/index76.cjs +28 -13
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +29 -14
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +3 -30
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +3 -30
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +31 -7
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +32 -8
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +10 -34
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +11 -35
- 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 -10
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +17 -11
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +16 -4
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +17 -5
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +10 -134
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +9 -133
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +24 -36
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +25 -37
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +36 -81
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +36 -81
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +38 -2
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +39 -3
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +49 -43
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +50 -44
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +39 -57
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +38 -56
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +92 -42
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +91 -41
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +34 -16
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +34 -16
- 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 +1 -1
- package/dist/index90.js +1 -1
- package/dist/index92.cjs +34 -34
- package/dist/index92.js +34 -34
- package/dist/index93.cjs +134 -34
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +133 -33
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +45 -39
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +44 -38
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +33 -92
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +32 -91
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +16 -34
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +16 -34
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +13 -49
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +14 -50
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +35 -30
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +34 -29
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +43 -57
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +42 -56
- package/dist/index99.js.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 +13 -2
package/dist/index7.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index7.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index7.cjs","sources":["../src/hooks/useThemeMode.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport type ThemeMode = 'light' | 'dark';\n\nconst THEME_ATTRIBUTE = 'data-theme';\nconst DARK_QUERY = '(prefers-color-scheme: dark)';\n\n/**\n * An explicit `data-theme` on `<html>` wins; otherwise the OS preference decides.\n * Server-side there is neither, so `light` is the answer.\n */\nconst readThemeMode = (): ThemeMode => {\n if (typeof document === 'undefined') return 'light';\n\n const explicit = document.documentElement.getAttribute(THEME_ATTRIBUTE);\n if (explicit === 'dark' || explicit === 'light') return explicit;\n\n return typeof window !== 'undefined' && window.matchMedia?.(DARK_QUERY).matches ? 'dark' : 'light';\n};\n\n/**\n * Current theme, for the components that must hand colours to something the CSS\n * custom properties cannot reach — a canvas, an SVG drawn by a third party, a\n * remote tile server. Anything styled with CSS should use the tokens instead.\n */\nexport function useThemeMode(): ThemeMode {\n const [mode, setMode] = useState<ThemeMode>(readThemeMode);\n\n useEffect(() => {\n if (typeof document === 'undefined') return;\n\n const sync = () => setMode(readThemeMode());\n sync();\n\n const observer = new MutationObserver(sync);\n observer.observe(document.documentElement, {\n attributes: true,\n attributeFilter: [THEME_ATTRIBUTE],\n });\n\n const media = window.matchMedia?.(DARK_QUERY);\n media?.addEventListener?.('change', sync);\n\n return () => {\n observer.disconnect();\n media?.removeEventListener?.('change', sync);\n };\n }, []);\n\n return mode;\n}\n"],"names":["useState","useEffect","_a"],"mappings":";;;AAIA,MAAM,kBAAkB;AACxB,MAAM,aAAa;AAMnB,MAAM,gBAAgB,MAAiB;;AACrC,MAAI,OAAO,aAAa,YAAa,QAAO;AAE5C,QAAM,WAAW,SAAS,gBAAgB,aAAa,eAAe;AACtE,MAAI,aAAa,UAAU,aAAa,QAAS,QAAO;AAExD,SAAO,OAAO,WAAW,iBAAe,YAAO,eAAP,gCAAoB,YAAY,WAAU,SAAS;AAC7F;AAOO,SAAS,eAA0B;AACxC,QAAM,CAAC,MAAM,OAAO,IAAIA,MAAAA,SAAoB,aAAa;AAEzDC,QAAAA,UAAU,MAAM;;AACd,QAAI,OAAO,aAAa,YAAa;AAErC,UAAM,OAAO,MAAM,QAAQ,eAAe;AAC1C,SAAA;AAEA,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,SAAS,iBAAiB;AAAA,MACzC,YAAY;AAAA,MACZ,iBAAiB,CAAC,eAAe;AAAA,IAAA,CAClC;AAED,UAAM,SAAQ,YAAO,eAAP,gCAAoB;AAClC,yCAAO,qBAAP,+BAA0B,UAAU;AAEpC,WAAO,MAAM;;AACX,eAAS,WAAA;AACT,OAAAC,MAAA,+BAAO,wBAAP,gBAAAA,IAAA,YAA6B,UAAU;AAAA,IACzC;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,SAAO;AACT;;"}
|
package/dist/index7.js
CHANGED
|
@@ -1,68 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
let index = 0;
|
|
11
|
-
let current = Math.abs(value);
|
|
12
|
-
while (current >= 1024 && index < units.length - 1) {
|
|
13
|
-
current /= 1024;
|
|
14
|
-
index += 1;
|
|
15
|
-
}
|
|
16
|
-
const formatted = current.toFixed(current >= 10 || index === 0 ? 0 : 1);
|
|
17
|
-
return `${value < 0 ? "-" : ""}${formatted} ${units[index]}`;
|
|
18
|
-
};
|
|
19
|
-
const DATETIME_FORMATTERS = /* @__PURE__ */ new Map();
|
|
20
|
-
const getDateTimeFormatter = (timeZone, withSeconds) => {
|
|
21
|
-
const key = `${timeZone}-${withSeconds ? "s" : "n"}`;
|
|
22
|
-
const cached = DATETIME_FORMATTERS.get(key);
|
|
23
|
-
if (cached) return cached;
|
|
24
|
-
const formatter = new Intl.DateTimeFormat(void 0, {
|
|
25
|
-
year: "numeric",
|
|
26
|
-
month: "2-digit",
|
|
27
|
-
day: "2-digit",
|
|
28
|
-
hour: "2-digit",
|
|
29
|
-
minute: "2-digit",
|
|
30
|
-
second: withSeconds ? "2-digit" : void 0,
|
|
31
|
-
hour12: false,
|
|
32
|
-
timeZone
|
|
33
|
-
});
|
|
34
|
-
DATETIME_FORMATTERS.set(key, formatter);
|
|
35
|
-
return formatter;
|
|
36
|
-
};
|
|
37
|
-
const formatDataTimestamp = (value, options = {}) => {
|
|
38
|
-
const { fallback = "Unknown", withSeconds = false, timeZone = "UTC", showTimeZoneLabel = false } = options;
|
|
39
|
-
if (!value) return fallback;
|
|
40
|
-
const date = new Date(value);
|
|
41
|
-
if (Number.isNaN(date.getTime())) return typeof value === "string" ? value : fallback;
|
|
42
|
-
const formatter = getDateTimeFormatter(timeZone, withSeconds);
|
|
43
|
-
const formatted = formatter.format(date);
|
|
44
|
-
return showTimeZoneLabel ? `${formatted} ${timeZone}` : formatted;
|
|
45
|
-
};
|
|
46
|
-
const formatLocalISOString = (date) => {
|
|
47
|
-
const pad = (n) => `${n}`.padStart(2, "0");
|
|
48
|
-
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}:${pad(date.getSeconds())}`;
|
|
49
|
-
};
|
|
50
|
-
const generateUUID = () => {
|
|
51
|
-
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
52
|
-
return crypto.randomUUID();
|
|
53
|
-
}
|
|
54
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
55
|
-
const r = Math.random() * 16 | 0;
|
|
56
|
-
const v = c === "x" ? r : r & 3 | 8;
|
|
57
|
-
return v.toString(16);
|
|
58
|
-
});
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
const THEME_ATTRIBUTE = "data-theme";
|
|
3
|
+
const DARK_QUERY = "(prefers-color-scheme: dark)";
|
|
4
|
+
const readThemeMode = () => {
|
|
5
|
+
var _a;
|
|
6
|
+
if (typeof document === "undefined") return "light";
|
|
7
|
+
const explicit = document.documentElement.getAttribute(THEME_ATTRIBUTE);
|
|
8
|
+
if (explicit === "dark" || explicit === "light") return explicit;
|
|
9
|
+
return typeof window !== "undefined" && ((_a = window.matchMedia) == null ? void 0 : _a.call(window, DARK_QUERY).matches) ? "dark" : "light";
|
|
59
10
|
};
|
|
11
|
+
function useThemeMode() {
|
|
12
|
+
const [mode, setMode] = useState(readThemeMode);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
if (typeof document === "undefined") return;
|
|
16
|
+
const sync = () => setMode(readThemeMode());
|
|
17
|
+
sync();
|
|
18
|
+
const observer = new MutationObserver(sync);
|
|
19
|
+
observer.observe(document.documentElement, {
|
|
20
|
+
attributes: true,
|
|
21
|
+
attributeFilter: [THEME_ATTRIBUTE]
|
|
22
|
+
});
|
|
23
|
+
const media = (_a = window.matchMedia) == null ? void 0 : _a.call(window, DARK_QUERY);
|
|
24
|
+
(_b = media == null ? void 0 : media.addEventListener) == null ? void 0 : _b.call(media, "change", sync);
|
|
25
|
+
return () => {
|
|
26
|
+
var _a2;
|
|
27
|
+
observer.disconnect();
|
|
28
|
+
(_a2 = media == null ? void 0 : media.removeEventListener) == null ? void 0 : _a2.call(media, "change", sync);
|
|
29
|
+
};
|
|
30
|
+
}, []);
|
|
31
|
+
return mode;
|
|
32
|
+
}
|
|
60
33
|
export {
|
|
61
|
-
|
|
62
|
-
formatDataTimestamp,
|
|
63
|
-
formatLocalISOString,
|
|
64
|
-
formatNumber,
|
|
65
|
-
generateUUID,
|
|
66
|
-
truncateWithEllipsis
|
|
34
|
+
useThemeMode
|
|
67
35
|
};
|
|
68
36
|
//# sourceMappingURL=index7.js.map
|
package/dist/index7.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index7.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index7.js","sources":["../src/hooks/useThemeMode.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport type ThemeMode = 'light' | 'dark';\n\nconst THEME_ATTRIBUTE = 'data-theme';\nconst DARK_QUERY = '(prefers-color-scheme: dark)';\n\n/**\n * An explicit `data-theme` on `<html>` wins; otherwise the OS preference decides.\n * Server-side there is neither, so `light` is the answer.\n */\nconst readThemeMode = (): ThemeMode => {\n if (typeof document === 'undefined') return 'light';\n\n const explicit = document.documentElement.getAttribute(THEME_ATTRIBUTE);\n if (explicit === 'dark' || explicit === 'light') return explicit;\n\n return typeof window !== 'undefined' && window.matchMedia?.(DARK_QUERY).matches ? 'dark' : 'light';\n};\n\n/**\n * Current theme, for the components that must hand colours to something the CSS\n * custom properties cannot reach — a canvas, an SVG drawn by a third party, a\n * remote tile server. Anything styled with CSS should use the tokens instead.\n */\nexport function useThemeMode(): ThemeMode {\n const [mode, setMode] = useState<ThemeMode>(readThemeMode);\n\n useEffect(() => {\n if (typeof document === 'undefined') return;\n\n const sync = () => setMode(readThemeMode());\n sync();\n\n const observer = new MutationObserver(sync);\n observer.observe(document.documentElement, {\n attributes: true,\n attributeFilter: [THEME_ATTRIBUTE],\n });\n\n const media = window.matchMedia?.(DARK_QUERY);\n media?.addEventListener?.('change', sync);\n\n return () => {\n observer.disconnect();\n media?.removeEventListener?.('change', sync);\n };\n }, []);\n\n return mode;\n}\n"],"names":["_a"],"mappings":";AAIA,MAAM,kBAAkB;AACxB,MAAM,aAAa;AAMnB,MAAM,gBAAgB,MAAiB;;AACrC,MAAI,OAAO,aAAa,YAAa,QAAO;AAE5C,QAAM,WAAW,SAAS,gBAAgB,aAAa,eAAe;AACtE,MAAI,aAAa,UAAU,aAAa,QAAS,QAAO;AAExD,SAAO,OAAO,WAAW,iBAAe,YAAO,eAAP,gCAAoB,YAAY,WAAU,SAAS;AAC7F;AAOO,SAAS,eAA0B;AACxC,QAAM,CAAC,MAAM,OAAO,IAAI,SAAoB,aAAa;AAEzD,YAAU,MAAM;;AACd,QAAI,OAAO,aAAa,YAAa;AAErC,UAAM,OAAO,MAAM,QAAQ,eAAe;AAC1C,SAAA;AAEA,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,SAAS,iBAAiB;AAAA,MACzC,YAAY;AAAA,MACZ,iBAAiB,CAAC,eAAe;AAAA,IAAA,CAClC;AAED,UAAM,SAAQ,YAAO,eAAP,gCAAoB;AAClC,yCAAO,qBAAP,+BAA0B,UAAU;AAEpC,WAAO,MAAM;;AACX,eAAS,WAAA;AACT,OAAAA,MAAA,+BAAO,wBAAP,gBAAAA,IAAA,YAA6B,UAAU;AAAA,IACzC;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,SAAO;AACT;"}
|
package/dist/index70.cjs
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
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 content = "krc-content-72sFf";
|
|
8
|
-
const title = "krc-title-pe-1P";
|
|
3
|
+
const root = "krc-root-GPZXT";
|
|
4
|
+
const sm = "krc-sm-QGnvH";
|
|
5
|
+
const md = "krc-md-rQKlJ";
|
|
6
|
+
const lg = "krc-lg-eC2yT";
|
|
9
7
|
const styles = {
|
|
10
8
|
root,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
content,
|
|
15
|
-
title
|
|
9
|
+
sm,
|
|
10
|
+
md,
|
|
11
|
+
lg
|
|
16
12
|
};
|
|
17
|
-
exports.content = content;
|
|
18
13
|
exports.default = styles;
|
|
19
|
-
exports.
|
|
14
|
+
exports.lg = lg;
|
|
15
|
+
exports.md = md;
|
|
20
16
|
exports.root = root;
|
|
21
|
-
exports.
|
|
22
|
-
exports.sidebarCollapsed = sidebarCollapsed;
|
|
23
|
-
exports.title = title;
|
|
17
|
+
exports.sm = sm;
|
|
24
18
|
//# sourceMappingURL=index70.cjs.map
|
package/dist/index70.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/index70.js
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const content = "krc-content-72sFf";
|
|
6
|
-
const title = "krc-title-pe-1P";
|
|
1
|
+
const root = "krc-root-GPZXT";
|
|
2
|
+
const sm = "krc-sm-QGnvH";
|
|
3
|
+
const md = "krc-md-rQKlJ";
|
|
4
|
+
const lg = "krc-lg-eC2yT";
|
|
7
5
|
const styles = {
|
|
8
6
|
root,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
content,
|
|
13
|
-
title
|
|
7
|
+
sm,
|
|
8
|
+
md,
|
|
9
|
+
lg
|
|
14
10
|
};
|
|
15
11
|
export {
|
|
16
|
-
content,
|
|
17
12
|
styles as default,
|
|
18
|
-
|
|
13
|
+
lg,
|
|
14
|
+
md,
|
|
19
15
|
root,
|
|
20
|
-
|
|
21
|
-
sidebarCollapsed,
|
|
22
|
-
title
|
|
16
|
+
sm
|
|
23
17
|
};
|
|
24
18
|
//# sourceMappingURL=index70.js.map
|
package/dist/index70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index71.cjs
CHANGED
|
@@ -1,36 +1,24 @@
|
|
|
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
|
|
8
|
-
const
|
|
9
|
-
const pop = "krc-pop-IfyfL";
|
|
10
|
-
const chips = "krc-chips-J7YEf";
|
|
11
|
-
const clear = "krc-clear--yvPZ";
|
|
12
|
-
const input = "krc-input--QI2U";
|
|
3
|
+
const root = "krc-root-p3Y59";
|
|
4
|
+
const plain = "krc-plain-VC-9I";
|
|
5
|
+
const icon = "krc-icon-ix2Mi";
|
|
6
|
+
const title = "krc-title--QtUj";
|
|
7
|
+
const description = "krc-description-Qrtj7";
|
|
8
|
+
const action = "krc-action-NBNpI";
|
|
13
9
|
const styles = {
|
|
14
10
|
root,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
pop,
|
|
21
|
-
chips,
|
|
22
|
-
clear,
|
|
23
|
-
input
|
|
11
|
+
plain,
|
|
12
|
+
icon,
|
|
13
|
+
title,
|
|
14
|
+
description,
|
|
15
|
+
action
|
|
24
16
|
};
|
|
25
|
-
exports.
|
|
26
|
-
exports.chevron = chevron;
|
|
27
|
-
exports.chevronOpen = chevronOpen;
|
|
28
|
-
exports.chips = chips;
|
|
29
|
-
exports.clear = clear;
|
|
17
|
+
exports.action = action;
|
|
30
18
|
exports.default = styles;
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
19
|
+
exports.description = description;
|
|
20
|
+
exports.icon = icon;
|
|
21
|
+
exports.plain = plain;
|
|
33
22
|
exports.root = root;
|
|
34
|
-
exports.
|
|
35
|
-
exports.triggerContent = triggerContent;
|
|
23
|
+
exports.title = title;
|
|
36
24
|
//# sourceMappingURL=index71.cjs.map
|
package/dist/index71.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index71.js
CHANGED
|
@@ -1,36 +1,24 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const pop = "krc-pop-IfyfL";
|
|
8
|
-
const chips = "krc-chips-J7YEf";
|
|
9
|
-
const clear = "krc-clear--yvPZ";
|
|
10
|
-
const input = "krc-input--QI2U";
|
|
1
|
+
const root = "krc-root-p3Y59";
|
|
2
|
+
const plain = "krc-plain-VC-9I";
|
|
3
|
+
const icon = "krc-icon-ix2Mi";
|
|
4
|
+
const title = "krc-title--QtUj";
|
|
5
|
+
const description = "krc-description-Qrtj7";
|
|
6
|
+
const action = "krc-action-NBNpI";
|
|
11
7
|
const styles = {
|
|
12
8
|
root,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
pop,
|
|
19
|
-
chips,
|
|
20
|
-
clear,
|
|
21
|
-
input
|
|
9
|
+
plain,
|
|
10
|
+
icon,
|
|
11
|
+
title,
|
|
12
|
+
description,
|
|
13
|
+
action
|
|
22
14
|
};
|
|
23
15
|
export {
|
|
24
|
-
|
|
25
|
-
chevron,
|
|
26
|
-
chevronOpen,
|
|
27
|
-
chips,
|
|
28
|
-
clear,
|
|
16
|
+
action,
|
|
29
17
|
styles as default,
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
description,
|
|
19
|
+
icon,
|
|
20
|
+
plain,
|
|
32
21
|
root,
|
|
33
|
-
|
|
34
|
-
triggerContent
|
|
22
|
+
title
|
|
35
23
|
};
|
|
36
24
|
//# sourceMappingURL=index71.js.map
|
package/dist/index71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/index72.cjs
CHANGED
|
@@ -1,27 +1,87 @@
|
|
|
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
|
|
8
|
-
const
|
|
9
|
-
const
|
|
3
|
+
const root = "krc-root-WYIsp";
|
|
4
|
+
const trigger = "krc-trigger-UedSS";
|
|
5
|
+
const active = "krc-active-cH8Tl";
|
|
6
|
+
const triggerContent = "krc-triggerContent-Kkhoi";
|
|
7
|
+
const chevron = "krc-chevron-NoNsI";
|
|
8
|
+
const label = "krc-label-RPlXR";
|
|
9
|
+
const valueGroup = "krc-valueGroup-xfNcx";
|
|
10
|
+
const value = "krc-value-aKdIW";
|
|
11
|
+
const badge = "krc-badge-yVq9o";
|
|
12
|
+
const clear = "krc-clear-11V9Q";
|
|
13
|
+
const panel = "krc-panel-xf2f8";
|
|
14
|
+
const header = "krc-header--VMR-";
|
|
15
|
+
const search = "krc-search-4gQgB";
|
|
16
|
+
const headerActions = "krc-headerActions-orxXD";
|
|
17
|
+
const chip = "krc-chip--n-9m";
|
|
18
|
+
const chipGhost = "krc-chipGhost-oayjh";
|
|
19
|
+
const list = "krc-list-NRoxf";
|
|
20
|
+
const status = "krc-status-j7xbM";
|
|
21
|
+
const statusError = "krc-statusError-u6rfB";
|
|
22
|
+
const option = "krc-option-ZAXum";
|
|
23
|
+
const optionLabel = "krc-optionLabel-MdDyI";
|
|
24
|
+
const optionCount = "krc-optionCount-JSQl9";
|
|
25
|
+
const create = "krc-create-hO8Cq";
|
|
26
|
+
const footer = "krc-footer-2yk6S";
|
|
27
|
+
const selection = "krc-selection-aYDH-";
|
|
28
|
+
const selectionDelta = "krc-selectionDelta-S1dV7";
|
|
29
|
+
const footerActions = "krc-footerActions-77iCX";
|
|
10
30
|
const styles = {
|
|
11
31
|
root,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
32
|
+
trigger,
|
|
33
|
+
active,
|
|
34
|
+
triggerContent,
|
|
35
|
+
chevron,
|
|
36
|
+
label,
|
|
37
|
+
valueGroup,
|
|
38
|
+
value,
|
|
39
|
+
badge,
|
|
40
|
+
clear,
|
|
41
|
+
panel,
|
|
42
|
+
header,
|
|
43
|
+
search,
|
|
44
|
+
headerActions,
|
|
45
|
+
chip,
|
|
46
|
+
chipGhost,
|
|
47
|
+
list,
|
|
48
|
+
status,
|
|
49
|
+
statusError,
|
|
50
|
+
option,
|
|
51
|
+
optionLabel,
|
|
52
|
+
optionCount,
|
|
53
|
+
create,
|
|
54
|
+
footer,
|
|
55
|
+
selection,
|
|
56
|
+
selectionDelta,
|
|
57
|
+
footerActions
|
|
18
58
|
};
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
59
|
+
exports.active = active;
|
|
60
|
+
exports.badge = badge;
|
|
61
|
+
exports.chevron = chevron;
|
|
62
|
+
exports.chip = chip;
|
|
63
|
+
exports.chipGhost = chipGhost;
|
|
64
|
+
exports.clear = clear;
|
|
65
|
+
exports.create = create;
|
|
21
66
|
exports.default = styles;
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
67
|
+
exports.footer = footer;
|
|
68
|
+
exports.footerActions = footerActions;
|
|
69
|
+
exports.header = header;
|
|
70
|
+
exports.headerActions = headerActions;
|
|
71
|
+
exports.label = label;
|
|
72
|
+
exports.list = list;
|
|
73
|
+
exports.option = option;
|
|
74
|
+
exports.optionCount = optionCount;
|
|
75
|
+
exports.optionLabel = optionLabel;
|
|
76
|
+
exports.panel = panel;
|
|
26
77
|
exports.root = root;
|
|
78
|
+
exports.search = search;
|
|
79
|
+
exports.selection = selection;
|
|
80
|
+
exports.selectionDelta = selectionDelta;
|
|
81
|
+
exports.status = status;
|
|
82
|
+
exports.statusError = statusError;
|
|
83
|
+
exports.trigger = trigger;
|
|
84
|
+
exports.triggerContent = triggerContent;
|
|
85
|
+
exports.value = value;
|
|
86
|
+
exports.valueGroup = valueGroup;
|
|
27
87
|
//# sourceMappingURL=index72.cjs.map
|
package/dist/index72.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index72.js
CHANGED
|
@@ -1,27 +1,87 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
1
|
+
const root = "krc-root-WYIsp";
|
|
2
|
+
const trigger = "krc-trigger-UedSS";
|
|
3
|
+
const active = "krc-active-cH8Tl";
|
|
4
|
+
const triggerContent = "krc-triggerContent-Kkhoi";
|
|
5
|
+
const chevron = "krc-chevron-NoNsI";
|
|
6
|
+
const label = "krc-label-RPlXR";
|
|
7
|
+
const valueGroup = "krc-valueGroup-xfNcx";
|
|
8
|
+
const value = "krc-value-aKdIW";
|
|
9
|
+
const badge = "krc-badge-yVq9o";
|
|
10
|
+
const clear = "krc-clear-11V9Q";
|
|
11
|
+
const panel = "krc-panel-xf2f8";
|
|
12
|
+
const header = "krc-header--VMR-";
|
|
13
|
+
const search = "krc-search-4gQgB";
|
|
14
|
+
const headerActions = "krc-headerActions-orxXD";
|
|
15
|
+
const chip = "krc-chip--n-9m";
|
|
16
|
+
const chipGhost = "krc-chipGhost-oayjh";
|
|
17
|
+
const list = "krc-list-NRoxf";
|
|
18
|
+
const status = "krc-status-j7xbM";
|
|
19
|
+
const statusError = "krc-statusError-u6rfB";
|
|
20
|
+
const option = "krc-option-ZAXum";
|
|
21
|
+
const optionLabel = "krc-optionLabel-MdDyI";
|
|
22
|
+
const optionCount = "krc-optionCount-JSQl9";
|
|
23
|
+
const create = "krc-create-hO8Cq";
|
|
24
|
+
const footer = "krc-footer-2yk6S";
|
|
25
|
+
const selection = "krc-selection-aYDH-";
|
|
26
|
+
const selectionDelta = "krc-selectionDelta-S1dV7";
|
|
27
|
+
const footerActions = "krc-footerActions-77iCX";
|
|
8
28
|
const styles = {
|
|
9
29
|
root,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
30
|
+
trigger,
|
|
31
|
+
active,
|
|
32
|
+
triggerContent,
|
|
33
|
+
chevron,
|
|
34
|
+
label,
|
|
35
|
+
valueGroup,
|
|
36
|
+
value,
|
|
37
|
+
badge,
|
|
38
|
+
clear,
|
|
39
|
+
panel,
|
|
40
|
+
header,
|
|
41
|
+
search,
|
|
42
|
+
headerActions,
|
|
43
|
+
chip,
|
|
44
|
+
chipGhost,
|
|
45
|
+
list,
|
|
46
|
+
status,
|
|
47
|
+
statusError,
|
|
48
|
+
option,
|
|
49
|
+
optionLabel,
|
|
50
|
+
optionCount,
|
|
51
|
+
create,
|
|
52
|
+
footer,
|
|
53
|
+
selection,
|
|
54
|
+
selectionDelta,
|
|
55
|
+
footerActions
|
|
16
56
|
};
|
|
17
57
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
58
|
+
active,
|
|
59
|
+
badge,
|
|
60
|
+
chevron,
|
|
61
|
+
chip,
|
|
62
|
+
chipGhost,
|
|
63
|
+
clear,
|
|
64
|
+
create,
|
|
20
65
|
styles as default,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
66
|
+
footer,
|
|
67
|
+
footerActions,
|
|
68
|
+
header,
|
|
69
|
+
headerActions,
|
|
70
|
+
label,
|
|
71
|
+
list,
|
|
72
|
+
option,
|
|
73
|
+
optionCount,
|
|
74
|
+
optionLabel,
|
|
75
|
+
panel,
|
|
76
|
+
root,
|
|
77
|
+
search,
|
|
78
|
+
selection,
|
|
79
|
+
selectionDelta,
|
|
80
|
+
status,
|
|
81
|
+
statusError,
|
|
82
|
+
trigger,
|
|
83
|
+
triggerContent,
|
|
84
|
+
value,
|
|
85
|
+
valueGroup
|
|
26
86
|
};
|
|
27
87
|
//# sourceMappingURL=index72.js.map
|
package/dist/index72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index72.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index73.cjs
CHANGED
|
@@ -1,9 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
3
|
+
const root = "krc-root-zHJLB";
|
|
4
|
+
const trigger = "krc-trigger-kRS4l";
|
|
5
|
+
const isOpen = "krc-isOpen-4fsg7";
|
|
6
|
+
const icon = "krc-icon-YS-DJ";
|
|
7
|
+
const arrow = "krc-arrow-wiq8b";
|
|
8
|
+
const pop = "krc-pop-boLzq";
|
|
9
|
+
const head = "krc-head-FDhHr";
|
|
10
|
+
const nav = "krc-nav-ZcR0Q";
|
|
11
|
+
const title = "krc-title-MqB3H";
|
|
12
|
+
const dows = "krc-dows-EshP3";
|
|
13
|
+
const grid = "krc-grid-xiUF-";
|
|
14
|
+
const day = "krc-day-2W9yq";
|
|
15
|
+
const empty = "krc-empty-Mf05c";
|
|
16
|
+
const off = "krc-off-tATo-";
|
|
17
|
+
const able = "krc-able-bD-du";
|
|
18
|
+
const selected = "krc-selected-Q1am3";
|
|
4
19
|
const styles = {
|
|
5
|
-
root
|
|
20
|
+
root,
|
|
21
|
+
trigger,
|
|
22
|
+
isOpen,
|
|
23
|
+
icon,
|
|
24
|
+
arrow,
|
|
25
|
+
pop,
|
|
26
|
+
head,
|
|
27
|
+
nav,
|
|
28
|
+
title,
|
|
29
|
+
dows,
|
|
30
|
+
grid,
|
|
31
|
+
day,
|
|
32
|
+
empty,
|
|
33
|
+
off,
|
|
34
|
+
able,
|
|
35
|
+
selected
|
|
6
36
|
};
|
|
37
|
+
exports.able = able;
|
|
38
|
+
exports.arrow = arrow;
|
|
39
|
+
exports.day = day;
|
|
7
40
|
exports.default = styles;
|
|
41
|
+
exports.dows = dows;
|
|
42
|
+
exports.empty = empty;
|
|
43
|
+
exports.grid = grid;
|
|
44
|
+
exports.head = head;
|
|
45
|
+
exports.icon = icon;
|
|
46
|
+
exports.isOpen = isOpen;
|
|
47
|
+
exports.nav = nav;
|
|
48
|
+
exports.off = off;
|
|
49
|
+
exports.pop = pop;
|
|
8
50
|
exports.root = root;
|
|
51
|
+
exports.selected = selected;
|
|
52
|
+
exports.title = title;
|
|
53
|
+
exports.trigger = trigger;
|
|
9
54
|
//# sourceMappingURL=index73.cjs.map
|
package/dist/index73.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index73.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index73.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|