@ktnpm_devops/react-component 0.3.0 → 0.4.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/dist/index.cjs +24 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -20
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index12.cjs +2 -2
- package/dist/index12.js +2 -2
- package/dist/index13.cjs +2 -2
- package/dist/index13.js +2 -2
- package/dist/index14.cjs +3 -3
- package/dist/index14.js +3 -3
- package/dist/index15.cjs +2 -2
- package/dist/index15.js +2 -2
- package/dist/index16.cjs +38 -85
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +40 -87
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +85 -153
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +87 -155
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +150 -128
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +150 -128
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +121 -106
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +122 -107
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +121 -17
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +121 -17
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +17 -8
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +18 -9
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +7 -130
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +9 -132
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +128 -35
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +129 -36
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +36 -222
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +37 -223
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +218 -28
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +220 -30
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +29 -73
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +31 -75
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +69 -144
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +70 -145
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +57 -6
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +57 -6
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +152 -16
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +152 -16
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +7 -76
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +9 -78
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +17 -143
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +17 -143
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +69 -97
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +71 -99
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +143 -6
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +144 -7
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +74 -185
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +67 -178
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +6 -8
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +6 -8
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +216 -14
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +215 -13
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +10 -10
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +9 -9
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +15 -15
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +15 -15
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +15 -67
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +14 -66
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +14 -29
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +14 -29
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +10 -19
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +10 -19
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +2 -53
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +3 -54
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +2 -14
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +2 -14
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +24 -30
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +24 -30
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +10 -13
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +10 -13
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +16 -13
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +16 -13
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +17 -2
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +18 -3
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +67 -6
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +66 -5
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +80 -2
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +81 -3
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +34 -34
- package/dist/index50.js +34 -34
- package/dist/index51.cjs +29 -50
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +29 -50
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +13 -16
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +14 -17
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +32 -35
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +32 -35
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +2 -53
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +3 -54
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +10 -134
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +9 -133
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +22 -25
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +23 -26
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +2 -29
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +3 -30
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +11 -20
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +11 -20
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +52 -10
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +52 -10
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -19
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +65 -20
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +14 -74
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +15 -75
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +16 -37
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +16 -37
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +28 -16
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +28 -16
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -16
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +14 -17
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +37 -10
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +38 -11
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +136 -0
- package/dist/index66.cjs.map +1 -0
- package/dist/index66.js +136 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.cjs +48 -0
- package/dist/index67.cjs.map +1 -0
- package/dist/index67.js +48 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.cjs +60 -0
- package/dist/index68.cjs.map +1 -0
- package/dist/index68.js +60 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.cjs +57 -0
- package/dist/index69.cjs.map +1 -0
- package/dist/index69.js +57 -0
- package/dist/index69.js.map +1 -0
- package/dist/index9.cjs +2 -2
- package/dist/index9.js +2 -2
- package/dist/primitives/Col/Col.d.ts +4 -0
- package/dist/primitives/Col/Col.d.ts.map +1 -0
- package/dist/primitives/Col/Col.types.d.ts +13 -0
- package/dist/primitives/Col/Col.types.d.ts.map +1 -0
- package/dist/primitives/Col/index.d.ts +3 -0
- package/dist/primitives/Col/index.d.ts.map +1 -0
- package/dist/primitives/Row/Row.d.ts +4 -0
- package/dist/primitives/Row/Row.d.ts.map +1 -0
- package/dist/primitives/Row/Row.types.d.ts +16 -0
- package/dist/primitives/Row/Row.types.d.ts.map +1 -0
- package/dist/primitives/Row/index.d.ts +3 -0
- package/dist/primitives/Row/index.d.ts.map +1 -0
- package/dist/style.css +41 -0
- package/package.json +3 -2
package/dist/index36.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":[],"mappings":"AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index36.js","sources":["../src/charts/TemporalTrendChartCard/TemporalTrendChartCard.tsx"],"sourcesContent":["import { useMemo, useCallback } from 'react';\nimport clsx from 'clsx';\nimport ReactECharts from 'echarts-for-react';\nimport type { TemporalTrendChartCardProps } from './TemporalTrendChartCard.types';\nimport type { EChartsInstance, ChartAnnotation } from '../../types/chart.types';\nimport { MAX_SERIES, CHART_COLORS } from '../../constants';\nimport styles from './TemporalTrendChartCard.module.css';\n\n/** Group data points by category, returning sorted series keyed by category name. */\nfunction groupByCategory(\n data: TemporalTrendChartCardProps['data'],\n limit: number,\n) {\n const grouped = new Map<string, { ts: string; value: number }[]>();\n\n for (const point of data) {\n const key = point.category ?? 'Unknown';\n if (!grouped.has(key)) {\n grouped.set(key, []);\n }\n grouped.get(key)!.push({\n ts: point.ts ?? '',\n value: point.value,\n });\n }\n\n const entries = [...grouped.entries()].sort(\n (a, b) =>\n b[1].reduce((sum, p) => sum + p.value, 0) -\n a[1].reduce((sum, p) => sum + p.value, 0),\n );\n\n if (entries.length <= limit) {\n return entries;\n }\n\n const top = entries.slice(0, limit - 1);\n const rest = entries.slice(limit - 1);\n\n const otherMap = new Map<string, number>();\n for (const [, points] of rest) {\n for (const p of points) {\n otherMap.set(p.ts, (otherMap.get(p.ts) ?? 0) + p.value);\n }\n }\n\n const otherPoints = [...otherMap.entries()].map(([ts, value]) => ({\n ts,\n value,\n }));\n\n return [...top, ['Other', otherPoints] as const] as Array<\n [string, { ts: string; value: number }[]]\n >;\n}\n\n/** Build markArea items from range annotations. */\nfunction buildMarkAreas(annotations: ChartAnnotation[]) {\n return annotations\n .filter((a) => a.end)\n .map((a) => [\n {\n name: a.label,\n xAxis: a.start,\n itemStyle: { color: a.color ?? 'rgba(255,107,90,0.1)' },\n },\n { xAxis: a.end },\n ]);\n}\n\n/** Build markLine items from point annotations. */\nfunction buildMarkLines(annotations: ChartAnnotation[]) {\n return annotations\n .filter((a) => !a.end)\n .map((a) => ({\n name: a.label,\n xAxis: a.start,\n lineStyle: { color: a.color ?? CHART_COLORS[0], type: 'dashed' as const },\n label: { formatter: a.label, position: 'end' as const },\n }));\n}\n\nexport function TemporalTrendChartCard({\n title,\n data,\n isLoading = false,\n error,\n onRetry,\n onChartReady,\n actions,\n className,\n groupBy,\n groupOptions,\n onGroupChange,\n granularity,\n granularityOptions,\n onGranularityChange,\n annotations = [],\n showLegend = true,\n onToggleLegend,\n onSeriesSelect,\n onBucketSelect,\n maxSeries = MAX_SERIES,\n}: TemporalTrendChartCardProps) {\n const seriesGroups = useMemo(\n () => groupByCategory(data, maxSeries),\n [data, maxSeries],\n );\n\n const option = useMemo(() => {\n const markAreas = buildMarkAreas(annotations);\n const markLines = buildMarkLines(annotations);\n\n const series = seriesGroups.map(([name, points], idx) => ({\n name,\n type: 'line' as const,\n stack: 'total',\n areaStyle: {},\n emphasis: { focus: 'series' as const },\n color: CHART_COLORS[idx % CHART_COLORS.length],\n data: points\n .sort((a, b) => (a.ts < b.ts ? -1 : 1))\n .map((p) => [p.ts, p.value]),\n ...(idx === 0 && (markAreas.length > 0 || markLines.length > 0)\n ? {\n markArea:\n markAreas.length > 0 ? { silent: true, data: markAreas } : undefined,\n markLine:\n markLines.length > 0\n ? { silent: true, symbol: 'none', data: markLines }\n : undefined,\n }\n : {}),\n }));\n\n return {\n tooltip: {\n trigger: 'axis' as const,\n axisPointer: { type: 'cross' as const },\n },\n legend: {\n show: showLegend,\n type: 'scroll' as const,\n bottom: 0,\n },\n grid: {\n left: '3%',\n right: '4%',\n bottom: showLegend ? '15%' : '3%',\n containLabel: true,\n },\n xAxis: { type: 'time' as const },\n yAxis: { type: 'value' as const },\n series,\n };\n }, [seriesGroups, annotations, showLegend]);\n\n const handleChartReady = useCallback(\n (instance: EChartsInstance) => {\n onChartReady?.(instance);\n },\n [onChartReady],\n );\n\n const handleEvents = useMemo(() => {\n const events: Record<string, (...args: unknown[]) => void> = {};\n\n if (onSeriesSelect) {\n events['legendselectchanged'] = (params: unknown) => {\n const p = params as { name: string };\n onSeriesSelect(p.name);\n };\n }\n\n if (onBucketSelect) {\n events['brushSelected'] = (params: unknown) => {\n const p = params as {\n batch: { areas: { coordRange: [string, string] }[] }[];\n };\n const area = p.batch?.[0]?.areas?.[0];\n if (area) {\n onBucketSelect({ start: area.coordRange[0], end: area.coordRange[1] });\n }\n };\n }\n\n return events;\n }, [onSeriesSelect, onBucketSelect]);\n\n const hasToolbar = groupOptions || granularityOptions || onToggleLegend;\n const hasData = data.length > 0;\n\n return (\n <div className={clsx(styles.root, className)}>\n <div className={styles.header}>\n <span className={styles.title}>{title}</span>\n <div className={styles.headerRight}>\n {hasToolbar && (\n <div className={styles.toolbar}>\n {groupOptions && groupOptions.length > 0 && (\n <select\n className={styles.select}\n value={groupBy ?? ''}\n onChange={(e) => onGroupChange?.(e.target.value)}\n aria-label=\"Group by\"\n >\n {groupOptions.map((opt) => (\n <option key={opt.value} value={opt.value}>\n {opt.label}\n </option>\n ))}\n </select>\n )}\n {granularityOptions && granularityOptions.length > 0 && (\n <select\n className={styles.select}\n value={granularity ?? ''}\n onChange={(e) =>\n onGranularityChange?.(e.target.value || null)\n }\n aria-label=\"Granularity\"\n >\n {granularityOptions.map((opt) => (\n <option key={opt.value} value={opt.value}>\n {opt.label}\n </option>\n ))}\n </select>\n )}\n {onToggleLegend && (\n <button\n type=\"button\"\n className={clsx(\n styles.legendToggle,\n showLegend && styles.legendToggleActive,\n )}\n onClick={onToggleLegend}\n aria-label=\"Toggle legend\"\n >\n Legend\n </button>\n )}\n </div>\n )}\n {actions}\n </div>\n </div>\n\n {isLoading && <div className={styles.loading}>Loading chart data...</div>}\n\n {!isLoading && error && (\n <div className={styles.error}>\n <span>{error}</span>\n {onRetry && (\n <button\n type=\"button\"\n className={styles.retryButton}\n onClick={onRetry}\n >\n Retry\n </button>\n )}\n </div>\n )}\n\n {!isLoading && !error && !hasData && (\n <div className={styles.empty}>No data available</div>\n )}\n\n {!isLoading && !error && hasData && (\n <div className={styles.chartContainer}>\n <ReactECharts\n option={option}\n style={{ height: '100%', minHeight: '18.75rem' }}\n onChartReady={handleChartReady}\n onEvents={handleEvents}\n notMerge\n />\n </div>\n )}\n </div>\n );\n}\n\nTemporalTrendChartCard.displayName = 'TemporalTrendChartCard';\n"],"names":[],"mappings":";;;;;;AASA,SAAS,gBACP,MACA,OACA;AACA,QAAM,8BAAc,IAAA;AAEpB,aAAW,SAAS,MAAM;AACxB,UAAM,MAAM,MAAM,YAAY;AAC9B,QAAI,CAAC,QAAQ,IAAI,GAAG,GAAG;AACrB,cAAQ,IAAI,KAAK,EAAE;AAAA,IACrB;AACA,YAAQ,IAAI,GAAG,EAAG,KAAK;AAAA,MACrB,IAAI,MAAM,MAAM;AAAA,MAChB,OAAO,MAAM;AAAA,IAAA,CACd;AAAA,EACH;AAEA,QAAM,UAAU,CAAC,GAAG,QAAQ,QAAA,CAAS,EAAE;AAAA,IACrC,CAAC,GAAG,MACF,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,MAAM,MAAM,EAAE,OAAO,CAAC,IACxC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,MAAM,MAAM,EAAE,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,IAED,GAEJ;AAAA,IAGD,CAAC,aAAa,CAAC,SAAS,CAAC,WACxB,oBAAC,OAAA,EAAI,WAAW,OAAO,OAAO,UAAA,oBAAA,CAAiB;AAAA,IAGhD,CAAC,aAAa,CAAC,SAAS,WACvB,oBAAC,OAAA,EAAI,WAAW,OAAO,gBACrB,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,OAAO,EAAE,QAAQ,QAAQ,WAAW,WAAA;AAAA,QACpC,cAAc;AAAA,QACd,UAAU;AAAA,QACV,UAAQ;AAAA,MAAA;AAAA,IAAA,EACV,CACF;AAAA,EAAA,GAEJ;AAEJ;AAEA,uBAAuB,cAAc;"}
|
package/dist/index37.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const clsx = require("./index38.cjs");
|
|
6
|
+
const Textarea_module = require("./index42.cjs");
|
|
7
|
+
const Textarea = react.forwardRef(
|
|
8
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("textarea", { ref, className: clsx.clsx(Textarea_module.default.root, className), ...props })
|
|
9
|
+
);
|
|
10
|
+
Textarea.displayName = "Textarea";
|
|
11
|
+
exports.Textarea = Textarea;
|
|
12
12
|
//# sourceMappingURL=index37.cjs.map
|
package/dist/index37.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index37.cjs","sources":["../src/primitives/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport styles from './Textarea.module.css';\n\nexport interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => (\n <textarea ref={ref} className={clsx(styles.root, className)} {...props} />\n ),\n);\n\nTextarea.displayName = 'Textarea';\n"],"names":["forwardRef","jsx","clsx","styles"],"mappings":";;;;;;AAMO,MAAM,WAAWA,MAAAA;AAAAA,EACtB,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QACxBC,2BAAAA,IAAC,YAAA,EAAS,KAAU,WAAWC,KAAAA,KAAKC,gBAAAA,QAAO,MAAM,SAAS,GAAI,GAAG,MAAA,CAAO;AAE5E;AAEA,SAAS,cAAc;;"}
|
package/dist/index37.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { clsx } from "./index38.js";
|
|
4
|
+
import styles from "./index42.js";
|
|
5
|
+
const Textarea = forwardRef(
|
|
6
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("textarea", { ref, className: clsx(styles.root, className), ...props })
|
|
7
|
+
);
|
|
8
|
+
Textarea.displayName = "Textarea";
|
|
7
9
|
export {
|
|
8
|
-
|
|
9
|
-
styles as default,
|
|
10
|
-
root
|
|
10
|
+
Textarea
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=index37.js.map
|
package/dist/index37.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index37.js","sources":["../src/primitives/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport styles from './Textarea.module.css';\n\nexport interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => (\n <textarea ref={ref} className={clsx(styles.root, className)} {...props} />\n ),\n);\n\nTextarea.displayName = 'Textarea';\n"],"names":[],"mappings":";;;;AAMO,MAAM,WAAW;AAAA,EACtB,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QACxB,oBAAC,YAAA,EAAS,KAAU,WAAW,KAAK,OAAO,MAAM,SAAS,GAAI,GAAG,MAAA,CAAO;AAE5E;AAEA,SAAS,cAAc;"}
|
package/dist/index38.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
3
|
+
function r(e) {
|
|
4
|
+
var t, f, n = "";
|
|
5
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
6
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
7
|
+
var o = e.length;
|
|
8
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
9
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
10
|
+
return n;
|
|
11
|
+
}
|
|
12
|
+
function clsx() {
|
|
13
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
14
|
+
return n;
|
|
15
|
+
}
|
|
16
|
+
exports.clsx = clsx;
|
|
17
|
+
exports.default = clsx;
|
|
18
18
|
//# sourceMappingURL=index38.cjs.map
|
package/dist/index38.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index38.cjs","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":[],"mappings":";;AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;;;","x_google_ignoreList":[0]}
|
package/dist/index38.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
function r(e) {
|
|
2
|
+
var t, f, n = "";
|
|
3
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
4
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
5
|
+
var o = e.length;
|
|
6
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
7
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
8
|
+
return n;
|
|
9
|
+
}
|
|
10
|
+
function clsx() {
|
|
11
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
11
14
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
footer,
|
|
15
|
-
header,
|
|
16
|
-
root
|
|
15
|
+
clsx,
|
|
16
|
+
clsx as default
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=index38.js.map
|
package/dist/index38.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index38.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":[],"mappings":"AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index39.cjs
CHANGED
|
@@ -1,70 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-AouLD";
|
|
4
|
+
const header = "krc-header-pNze5";
|
|
5
|
+
const content = "krc-content-egG2e";
|
|
6
|
+
const footer = "krc-footer-WJw5Z";
|
|
7
|
+
const styles = {
|
|
8
|
+
root,
|
|
9
|
+
header,
|
|
10
|
+
content,
|
|
11
|
+
footer
|
|
7
12
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const CHART_MODAL = {
|
|
14
|
-
MIN_WIDTH: 960,
|
|
15
|
-
MIN_HEIGHT: 480,
|
|
16
|
-
MAX_WIDTH: 2400,
|
|
17
|
-
MAX_HEIGHT: 1300,
|
|
18
|
-
DEFAULT_WIDTH: 1500,
|
|
19
|
-
DEFAULT_HEIGHT: 820,
|
|
20
|
-
FALLBACK_WIDTH: 1400,
|
|
21
|
-
FALLBACK_HEIGHT: 800
|
|
22
|
-
};
|
|
23
|
-
const MAX_SANKEY_NODES = 150;
|
|
24
|
-
const MAX_SERIES = 20;
|
|
25
|
-
const MAX_CATEGORIES = 20;
|
|
26
|
-
const MAX_SUBCATEGORIES = 10;
|
|
27
|
-
const CHART_COLORS = [
|
|
28
|
-
"#FF6B5A",
|
|
29
|
-
"#5B8DEF",
|
|
30
|
-
"#4ECDC4",
|
|
31
|
-
"#F7B731",
|
|
32
|
-
"#A55EEA",
|
|
33
|
-
"#26DE81",
|
|
34
|
-
"#FC5C65",
|
|
35
|
-
"#45AAF2",
|
|
36
|
-
"#FD9644",
|
|
37
|
-
"#2BCBBA",
|
|
38
|
-
"#D1D8E0",
|
|
39
|
-
"#778CA3",
|
|
40
|
-
"#EB3B5A",
|
|
41
|
-
"#3867D6",
|
|
42
|
-
"#20BF6B",
|
|
43
|
-
"#F7B731",
|
|
44
|
-
"#8854D0",
|
|
45
|
-
"#0FB9B1",
|
|
46
|
-
"#FA8231",
|
|
47
|
-
"#4B6584"
|
|
48
|
-
];
|
|
49
|
-
const MIN_COLUMN_WIDTH = 40;
|
|
50
|
-
const SIDEBAR = {
|
|
51
|
-
WIDTH: 240,
|
|
52
|
-
COLLAPSED_WIDTH: 80
|
|
53
|
-
};
|
|
54
|
-
const COUNTERS_PAGE_SIZE = 100;
|
|
55
|
-
exports.CHART_COLORS = CHART_COLORS;
|
|
56
|
-
exports.CHART_MODAL = CHART_MODAL;
|
|
57
|
-
exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
|
|
58
|
-
exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
|
|
59
|
-
exports.ICON_SIZE = ICON_SIZE;
|
|
60
|
-
exports.KEYBOARD_STEP = KEYBOARD_STEP;
|
|
61
|
-
exports.MAX_CATEGORIES = MAX_CATEGORIES;
|
|
62
|
-
exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
|
|
63
|
-
exports.MAX_SERIES = MAX_SERIES;
|
|
64
|
-
exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
|
|
65
|
-
exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
|
|
66
|
-
exports.SIDEBAR = SIDEBAR;
|
|
67
|
-
exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
|
|
68
|
-
exports.SVG_VIEWBOX = SVG_VIEWBOX;
|
|
69
|
-
exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
|
|
13
|
+
exports.content = content;
|
|
14
|
+
exports.default = styles;
|
|
15
|
+
exports.footer = footer;
|
|
16
|
+
exports.header = header;
|
|
17
|
+
exports.root = root;
|
|
70
18
|
//# sourceMappingURL=index39.cjs.map
|
package/dist/index39.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index39.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index39.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/index39.js
CHANGED
|
@@ -1,70 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const root = "krc-root-AouLD";
|
|
2
|
+
const header = "krc-header-pNze5";
|
|
3
|
+
const content = "krc-content-egG2e";
|
|
4
|
+
const footer = "krc-footer-WJw5Z";
|
|
5
|
+
const styles = {
|
|
6
|
+
root,
|
|
7
|
+
header,
|
|
8
|
+
content,
|
|
9
|
+
footer
|
|
5
10
|
};
|
|
6
|
-
const SVG_VIEWBOX = "0 0 24 24";
|
|
7
|
-
const SVG_STROKE_WIDTH = 2;
|
|
8
|
-
const KEYBOARD_STEP = 2;
|
|
9
|
-
const VIEWPORT_MARGIN = 32;
|
|
10
|
-
const CONTEXT_MENU_MARGIN = 10;
|
|
11
|
-
const CHART_MODAL = {
|
|
12
|
-
MIN_WIDTH: 960,
|
|
13
|
-
MIN_HEIGHT: 480,
|
|
14
|
-
MAX_WIDTH: 2400,
|
|
15
|
-
MAX_HEIGHT: 1300,
|
|
16
|
-
DEFAULT_WIDTH: 1500,
|
|
17
|
-
DEFAULT_HEIGHT: 820,
|
|
18
|
-
FALLBACK_WIDTH: 1400,
|
|
19
|
-
FALLBACK_HEIGHT: 800
|
|
20
|
-
};
|
|
21
|
-
const MAX_SANKEY_NODES = 150;
|
|
22
|
-
const MAX_SERIES = 20;
|
|
23
|
-
const MAX_CATEGORIES = 20;
|
|
24
|
-
const MAX_SUBCATEGORIES = 10;
|
|
25
|
-
const CHART_COLORS = [
|
|
26
|
-
"#FF6B5A",
|
|
27
|
-
"#5B8DEF",
|
|
28
|
-
"#4ECDC4",
|
|
29
|
-
"#F7B731",
|
|
30
|
-
"#A55EEA",
|
|
31
|
-
"#26DE81",
|
|
32
|
-
"#FC5C65",
|
|
33
|
-
"#45AAF2",
|
|
34
|
-
"#FD9644",
|
|
35
|
-
"#2BCBBA",
|
|
36
|
-
"#D1D8E0",
|
|
37
|
-
"#778CA3",
|
|
38
|
-
"#EB3B5A",
|
|
39
|
-
"#3867D6",
|
|
40
|
-
"#20BF6B",
|
|
41
|
-
"#F7B731",
|
|
42
|
-
"#8854D0",
|
|
43
|
-
"#0FB9B1",
|
|
44
|
-
"#FA8231",
|
|
45
|
-
"#4B6584"
|
|
46
|
-
];
|
|
47
|
-
const MIN_COLUMN_WIDTH = 40;
|
|
48
|
-
const SIDEBAR = {
|
|
49
|
-
WIDTH: 240,
|
|
50
|
-
COLLAPSED_WIDTH: 80
|
|
51
|
-
};
|
|
52
|
-
const COUNTERS_PAGE_SIZE = 100;
|
|
53
11
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
KEYBOARD_STEP,
|
|
60
|
-
MAX_CATEGORIES,
|
|
61
|
-
MAX_SANKEY_NODES,
|
|
62
|
-
MAX_SERIES,
|
|
63
|
-
MAX_SUBCATEGORIES,
|
|
64
|
-
MIN_COLUMN_WIDTH,
|
|
65
|
-
SIDEBAR,
|
|
66
|
-
SVG_STROKE_WIDTH,
|
|
67
|
-
SVG_VIEWBOX,
|
|
68
|
-
VIEWPORT_MARGIN
|
|
12
|
+
content,
|
|
13
|
+
styles as default,
|
|
14
|
+
footer,
|
|
15
|
+
header,
|
|
16
|
+
root
|
|
69
17
|
};
|
|
70
18
|
//# sourceMappingURL=index39.js.map
|
package/dist/index39.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index39.js","sources":[
|
|
1
|
+
{"version":3,"file":"index39.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index40.cjs
CHANGED
|
@@ -1,42 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const sectionToggle = "krc-sectionToggle-eriVJ";
|
|
11
|
-
const sectionChevron = "krc-sectionChevron-cgn7M";
|
|
12
|
-
const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
|
|
13
|
-
const sectionItems = "krc-sectionItems-iwvxo";
|
|
14
|
-
const collapsed = "krc-collapsed-JRXBy";
|
|
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";
|
|
15
10
|
const styles = {
|
|
11
|
+
overlay,
|
|
16
12
|
root,
|
|
17
13
|
header,
|
|
14
|
+
title,
|
|
15
|
+
closeBtn,
|
|
18
16
|
body,
|
|
19
|
-
footer
|
|
20
|
-
toggle,
|
|
21
|
-
section,
|
|
22
|
-
sectionTitle,
|
|
23
|
-
sectionToggle,
|
|
24
|
-
sectionChevron,
|
|
25
|
-
sectionChevronOpen,
|
|
26
|
-
sectionItems,
|
|
27
|
-
collapsed
|
|
17
|
+
footer
|
|
28
18
|
};
|
|
29
19
|
exports.body = body;
|
|
30
|
-
exports.
|
|
20
|
+
exports.closeBtn = closeBtn;
|
|
31
21
|
exports.default = styles;
|
|
32
22
|
exports.footer = footer;
|
|
33
23
|
exports.header = header;
|
|
24
|
+
exports.overlay = overlay;
|
|
34
25
|
exports.root = root;
|
|
35
|
-
exports.
|
|
36
|
-
exports.sectionChevron = sectionChevron;
|
|
37
|
-
exports.sectionChevronOpen = sectionChevronOpen;
|
|
38
|
-
exports.sectionItems = sectionItems;
|
|
39
|
-
exports.sectionTitle = sectionTitle;
|
|
40
|
-
exports.sectionToggle = sectionToggle;
|
|
41
|
-
exports.toggle = toggle;
|
|
26
|
+
exports.title = title;
|
|
42
27
|
//# sourceMappingURL=index40.cjs.map
|
package/dist/index40.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index40.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index40.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index40.js
CHANGED
|
@@ -1,42 +1,27 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const sectionToggle = "krc-sectionToggle-eriVJ";
|
|
9
|
-
const sectionChevron = "krc-sectionChevron-cgn7M";
|
|
10
|
-
const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
|
|
11
|
-
const sectionItems = "krc-sectionItems-iwvxo";
|
|
12
|
-
const collapsed = "krc-collapsed-JRXBy";
|
|
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";
|
|
13
8
|
const styles = {
|
|
9
|
+
overlay,
|
|
14
10
|
root,
|
|
15
11
|
header,
|
|
12
|
+
title,
|
|
13
|
+
closeBtn,
|
|
16
14
|
body,
|
|
17
|
-
footer
|
|
18
|
-
toggle,
|
|
19
|
-
section,
|
|
20
|
-
sectionTitle,
|
|
21
|
-
sectionToggle,
|
|
22
|
-
sectionChevron,
|
|
23
|
-
sectionChevronOpen,
|
|
24
|
-
sectionItems,
|
|
25
|
-
collapsed
|
|
15
|
+
footer
|
|
26
16
|
};
|
|
27
17
|
export {
|
|
28
18
|
body,
|
|
29
|
-
|
|
19
|
+
closeBtn,
|
|
30
20
|
styles as default,
|
|
31
21
|
footer,
|
|
32
22
|
header,
|
|
23
|
+
overlay,
|
|
33
24
|
root,
|
|
34
|
-
|
|
35
|
-
sectionChevron,
|
|
36
|
-
sectionChevronOpen,
|
|
37
|
-
sectionItems,
|
|
38
|
-
sectionTitle,
|
|
39
|
-
sectionToggle,
|
|
40
|
-
toggle
|
|
25
|
+
title
|
|
41
26
|
};
|
|
42
27
|
//# sourceMappingURL=index40.js.map
|
package/dist/index40.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index40.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index40.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/index41.cjs
CHANGED
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const closeBtn = "krc-closeBtn-vGJ7P";
|
|
8
|
-
const body = "krc-body-g43Cd";
|
|
9
|
-
const footer = "krc-footer-JRwi5";
|
|
3
|
+
const root = "krc-root-GPZXT";
|
|
4
|
+
const sm = "krc-sm-QGnvH";
|
|
5
|
+
const md = "krc-md-rQKlJ";
|
|
6
|
+
const lg = "krc-lg-eC2yT";
|
|
10
7
|
const styles = {
|
|
11
|
-
overlay,
|
|
12
8
|
root,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
body,
|
|
17
|
-
footer
|
|
9
|
+
sm,
|
|
10
|
+
md,
|
|
11
|
+
lg
|
|
18
12
|
};
|
|
19
|
-
exports.body = body;
|
|
20
|
-
exports.closeBtn = closeBtn;
|
|
21
13
|
exports.default = styles;
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.overlay = overlay;
|
|
14
|
+
exports.lg = lg;
|
|
15
|
+
exports.md = md;
|
|
25
16
|
exports.root = root;
|
|
26
|
-
exports.
|
|
17
|
+
exports.sm = sm;
|
|
27
18
|
//# sourceMappingURL=index41.cjs.map
|
package/dist/index41.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index41.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index41.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/index41.js
CHANGED
|
@@ -1,27 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const closeBtn = "krc-closeBtn-vGJ7P";
|
|
6
|
-
const body = "krc-body-g43Cd";
|
|
7
|
-
const footer = "krc-footer-JRwi5";
|
|
1
|
+
const root = "krc-root-GPZXT";
|
|
2
|
+
const sm = "krc-sm-QGnvH";
|
|
3
|
+
const md = "krc-md-rQKlJ";
|
|
4
|
+
const lg = "krc-lg-eC2yT";
|
|
8
5
|
const styles = {
|
|
9
|
-
overlay,
|
|
10
6
|
root,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
body,
|
|
15
|
-
footer
|
|
7
|
+
sm,
|
|
8
|
+
md,
|
|
9
|
+
lg
|
|
16
10
|
};
|
|
17
11
|
export {
|
|
18
|
-
body,
|
|
19
|
-
closeBtn,
|
|
20
12
|
styles as default,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
overlay,
|
|
13
|
+
lg,
|
|
14
|
+
md,
|
|
24
15
|
root,
|
|
25
|
-
|
|
16
|
+
sm
|
|
26
17
|
};
|
|
27
18
|
//# sourceMappingURL=index41.js.map
|
package/dist/index41.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index42.cjs
CHANGED
|
@@ -1,60 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root
|
|
4
|
-
const trigger = "krc-trigger-WMlNa";
|
|
5
|
-
const active = "krc-active-O65lj";
|
|
6
|
-
const triggerContent = "krc-triggerContent-JipmE";
|
|
7
|
-
const chevron = "krc-chevron-J2Zsy";
|
|
8
|
-
const label = "krc-label-lZlV-";
|
|
9
|
-
const value = "krc-value-HsQrC";
|
|
10
|
-
const clear = "krc-clear-bsi5j";
|
|
11
|
-
const panel = "krc-panel--0odx";
|
|
12
|
-
const searchContainer = "krc-searchContainer-WRS-U";
|
|
13
|
-
const search = "krc-search-Dh3pY";
|
|
14
|
-
const list = "krc-list-1RUtr";
|
|
15
|
-
const noResults = "krc-noResults-Hin1U";
|
|
16
|
-
const option = "krc-option-0mFGi";
|
|
17
|
-
const focused = "krc-focused-0-7tE";
|
|
18
|
-
const selected = "krc-selected-1zIqI";
|
|
19
|
-
const optionLabel = "krc-optionLabel-pj-hL";
|
|
20
|
-
const optionCount = "krc-optionCount-rVlCP";
|
|
3
|
+
const root = "krc-root-FVKOX";
|
|
21
4
|
const styles = {
|
|
22
|
-
root
|
|
23
|
-
trigger,
|
|
24
|
-
active,
|
|
25
|
-
triggerContent,
|
|
26
|
-
chevron,
|
|
27
|
-
label,
|
|
28
|
-
value,
|
|
29
|
-
clear,
|
|
30
|
-
panel,
|
|
31
|
-
searchContainer,
|
|
32
|
-
search,
|
|
33
|
-
list,
|
|
34
|
-
noResults,
|
|
35
|
-
option,
|
|
36
|
-
focused,
|
|
37
|
-
selected,
|
|
38
|
-
optionLabel,
|
|
39
|
-
optionCount
|
|
5
|
+
root
|
|
40
6
|
};
|
|
41
|
-
exports.active = active;
|
|
42
|
-
exports.chevron = chevron;
|
|
43
|
-
exports.clear = clear;
|
|
44
7
|
exports.default = styles;
|
|
45
|
-
exports.focused = focused;
|
|
46
|
-
exports.label = label;
|
|
47
|
-
exports.list = list;
|
|
48
|
-
exports.noResults = noResults;
|
|
49
|
-
exports.option = option;
|
|
50
|
-
exports.optionCount = optionCount;
|
|
51
|
-
exports.optionLabel = optionLabel;
|
|
52
|
-
exports.panel = panel;
|
|
53
8
|
exports.root = root;
|
|
54
|
-
exports.search = search;
|
|
55
|
-
exports.searchContainer = searchContainer;
|
|
56
|
-
exports.selected = selected;
|
|
57
|
-
exports.trigger = trigger;
|
|
58
|
-
exports.triggerContent = triggerContent;
|
|
59
|
-
exports.value = value;
|
|
60
9
|
//# sourceMappingURL=index42.cjs.map
|