reke-ui 0.2.1 → 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/custom-elements.json +1873 -499
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/components/reke-chip/reke-chip.d.ts +7 -0
- package/dist/components/reke-chip/reke-chip.d.ts.map +1 -1
- package/dist/components/reke-chip/reke-chip.js +8 -2
- package/dist/components/reke-chip/reke-chip.styles.d.ts.map +1 -1
- package/dist/components/reke-chip/reke-chip.styles.js +32 -0
- package/dist/components/reke-combobox/reke-combobox.d.ts +90 -0
- package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.js +206 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts +2 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.styles.js +290 -0
- package/dist/components/reke-input/reke-input.d.ts +14 -0
- package/dist/components/reke-input/reke-input.d.ts.map +1 -1
- package/dist/components/reke-input/reke-input.js +41 -22
- package/dist/components/reke-input/reke-input.styles.d.ts.map +1 -1
- package/dist/components/reke-input/reke-input.styles.js +44 -16
- package/dist/components/reke-menu/reke-menu.d.ts +51 -0
- package/dist/components/reke-menu/reke-menu.d.ts.map +1 -0
- package/dist/components/reke-menu/reke-menu.js +106 -0
- package/dist/components/reke-menu/reke-menu.styles.d.ts +2 -0
- package/dist/components/reke-menu/reke-menu.styles.d.ts.map +1 -0
- package/dist/components/reke-menu/reke-menu.styles.js +25 -0
- package/dist/components/reke-menu-item/reke-menu-item.d.ts +32 -0
- package/dist/components/reke-menu-item/reke-menu-item.d.ts.map +1 -0
- package/dist/components/reke-menu-item/reke-menu-item.js +49 -0
- package/dist/components/reke-menu-item/reke-menu-item.styles.d.ts +2 -0
- package/dist/components/reke-menu-item/reke-menu-item.styles.d.ts.map +1 -0
- package/dist/components/reke-menu-item/reke-menu-item.styles.js +53 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.d.ts +59 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.d.ts.map +1 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.js +117 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts +2 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts.map +1 -0
- package/dist/components/reke-pie-chart/reke-pie-chart.styles.js +28 -0
- package/dist/components/reke-table/reke-table.d.ts +12 -0
- package/dist/components/reke-table/reke-table.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.js +45 -7
- package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.styles.js +28 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -11
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +70 -0
- package/dist/node_modules/echarts/lib/chart/custom/customSeriesRegister.js +7 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +11 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +112 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +119 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +190 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +72 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +554 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +36 -0
- package/dist/node_modules/echarts/lib/component/axis/axisAction.js +4 -0
- package/dist/node_modules/echarts/lib/component/axis/axisBreakHelper.js +5 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +57 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +28 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +174 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +65 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +189 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +27 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +56 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +117 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +103 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +20 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +184 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +227 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +45 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +145 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +38 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +170 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +55 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +102 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +367 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +37 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +56 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +173 -0
- package/dist/node_modules/echarts/lib/coord/axisBand.js +31 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +21 -0
- package/dist/node_modules/echarts/lib/coord/axisStatistics.js +38 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +14 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +31 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +50 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +32 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +203 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +986 -0
- package/dist/node_modules/echarts/lib/core/impl.js +11 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
- package/dist/node_modules/echarts/lib/core/locale.js +27 -0
- package/dist/node_modules/echarts/lib/core/task.js +81 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +68 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +359 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +10 -0
- package/dist/node_modules/echarts/lib/data/Source.js +132 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +80 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +105 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +155 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +87 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +50 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +98 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +115 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +145 -0
- package/dist/node_modules/echarts/lib/extension.js +62 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +148 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +148 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +106 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +152 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +190 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +53 -0
- package/dist/node_modules/echarts/lib/loading/default.js +85 -0
- package/dist/node_modules/echarts/lib/model/Component.js +64 -0
- package/dist/node_modules/echarts/lib/model/Global.js +320 -0
- package/dist/node_modules/echarts/lib/model/Model.js +50 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +78 -0
- package/dist/node_modules/echarts/lib/model/Series.js +216 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +94 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +14 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +16 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +63 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +24 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +23 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +17 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +32 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +36 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +89 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +118 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +18 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +52 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
- package/dist/node_modules/echarts/lib/scale/break.js +9 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +9 -0
- package/dist/node_modules/echarts/lib/scale/scaleMapper.js +26 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +159 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +52 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +99 -0
- package/dist/node_modules/echarts/lib/util/component.js +75 -0
- package/dist/node_modules/echarts/lib/util/cycleCache.js +14 -0
- package/dist/node_modules/echarts/lib/util/decal.js +162 -0
- package/dist/node_modules/echarts/lib/util/event.js +7 -0
- package/dist/node_modules/echarts/lib/util/format.js +87 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +361 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +13 -0
- package/dist/node_modules/echarts/lib/util/layout.js +174 -0
- package/dist/node_modules/echarts/lib/util/log.js +54 -0
- package/dist/node_modules/echarts/lib/util/model.js +296 -0
- package/dist/node_modules/echarts/lib/util/number.js +132 -0
- package/dist/node_modules/echarts/lib/util/states.js +323 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +146 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +37 -0
- package/dist/node_modules/echarts/lib/util/time.js +43 -0
- package/dist/node_modules/echarts/lib/util/types.js +13 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +81 -0
- package/dist/node_modules/echarts/lib/view/Component.js +16 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +18 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +25 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +23 -0
- package/dist/node_modules/echarts/lib/visual/style.js +79 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +47 -0
- package/dist/node_modules/echarts/lib/visual/tokens.js +108 -0
- package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +18 -0
- package/dist/node_modules/zrender/lib/Element.js +442 -0
- package/dist/node_modules/zrender/lib/Handler.js +167 -0
- package/dist/node_modules/zrender/lib/Storage.js +68 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +65 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +348 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +31 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +17 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +7 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +352 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +17 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +199 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +33 -0
- package/dist/node_modules/zrender/lib/config.js +7 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +20 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +9 -0
- package/dist/node_modules/zrender/lib/contain/line.js +12 -0
- package/dist/node_modules/zrender/lib/contain/path.js +133 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +9 -0
- package/dist/node_modules/zrender/lib/contain/text.js +106 -0
- package/dist/node_modules/zrender/lib/contain/util.js +7 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +10 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +111 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +82 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +56 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +49 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +41 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +288 -0
- package/dist/node_modules/zrender/lib/core/Point.js +72 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +96 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +25 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +40 -0
- package/dist/node_modules/zrender/lib/core/curve.js +142 -0
- package/dist/node_modules/zrender/lib/core/dom.js +74 -0
- package/dist/node_modules/zrender/lib/core/env.js +22 -0
- package/dist/node_modules/zrender/lib/core/event.js +58 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +109 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +39 -0
- package/dist/node_modules/zrender/lib/core/platform.js +42 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +246 -0
- package/dist/node_modules/zrender/lib/core/util.js +314 -0
- package/dist/node_modules/zrender/lib/core/vector.js +52 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +190 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +25 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +133 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +86 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +49 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +65 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +200 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +39 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +216 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +39 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +226 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +21 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +85 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +26 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +25 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +40 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +22 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +37 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +28 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +31 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +25 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +28 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +19 -0
- package/dist/node_modules/zrender/lib/tool/color.js +1039 -0
- package/dist/node_modules/zrender/lib/tool/path.js +153 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +41 -0
- package/dist/node_modules/zrender/lib/zrender.js +124 -0
- package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +18 -0
- package/dist/react-bridge/table.d.ts.map +1 -1
- package/dist/react-bridge/table.js +36 -21
- package/dist/react.d.ts +17 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +73 -52
- package/dist/shared/base-element.d.ts +1 -0
- package/dist/shared/base-element.d.ts.map +1 -1
- package/dist/shared/base-element.js +6 -0
- package/dist/shared/tailwind.js +1 -1
- package/dist/tokens/reke-tokens.css +15 -0
- package/package.json +18 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-menu.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-menu/reke-menu.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAsBlB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { tailwindStyles as e } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as t } from "lit";
|
|
3
|
+
//#region src/components/reke-menu/reke-menu.styles.ts
|
|
4
|
+
var n = [e, t`
|
|
5
|
+
:host {
|
|
6
|
+
display: contents;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.menu {
|
|
10
|
+
position: fixed;
|
|
11
|
+
z-index: var(--reke-z-menu, 1000);
|
|
12
|
+
min-width: 160px;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
padding: var(--reke-space-2xs, 6px);
|
|
15
|
+
background: var(--reke-color-surface-elevated, #151515);
|
|
16
|
+
border: 1px solid var(--reke-color-border, #252525);
|
|
17
|
+
border-radius: var(--reke-radius, 4px);
|
|
18
|
+
box-shadow: var(--reke-shadow-menu, 0 8px 24px rgba(0, 0, 0, 0.4));
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 2px;
|
|
22
|
+
}
|
|
23
|
+
`];
|
|
24
|
+
//#endregion
|
|
25
|
+
export { n as styles };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
2
|
+
export type MenuItemVariant = 'default' | 'danger';
|
|
3
|
+
/**
|
|
4
|
+
* @tag reke-menu-item
|
|
5
|
+
* @summary A single actionable item inside a `reke-menu`.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Default slot for the item label.
|
|
8
|
+
* @slot prefix - Content rendered before the label (e.g. an icon).
|
|
9
|
+
*
|
|
10
|
+
* @fires reke-select - Fired when the item is activated and not disabled.
|
|
11
|
+
*
|
|
12
|
+
* @csspart item - The inner button element.
|
|
13
|
+
*
|
|
14
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Item text color.
|
|
15
|
+
* @cssprop [--reke-color-danger=#EF4444] - Danger variant text color.
|
|
16
|
+
* @cssprop [--reke-color-surface-elevated=#151515] - Hover/focus background.
|
|
17
|
+
*/
|
|
18
|
+
export declare class RekeMenuItem extends RekeElement {
|
|
19
|
+
static styles: import("lit").CSSResult[];
|
|
20
|
+
variant: MenuItemVariant;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
/** Focus the inner button (used by reke-menu for keyboard navigation). */
|
|
23
|
+
focus(options?: FocusOptions): void;
|
|
24
|
+
private handleClick;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'reke-menu-item': RekeMenuItem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=reke-menu-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/reke-menu-item/reke-menu-item.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;GAcG;AACH,qBACa,YAAa,SAAQ,WAAW;IAC3C,OAAgB,MAAM,4BAAU;IAGhC,OAAO,EAAE,eAAe,CAAa;IAGrC,QAAQ,UAAS;IAEjB,0EAA0E;IACjE,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY;IAIrC,OAAO,CAAC,WAAW;IASV,MAAM;CAoBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,YAAY,CAAC;KAChC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { RekeElement as e } from "../../shared/base-element.js";
|
|
2
|
+
import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
|
|
3
|
+
import { styles as n } from "./reke-menu-item.styles.js";
|
|
4
|
+
import { html as r } from "lit";
|
|
5
|
+
import { customElement as i, property as a } from "lit/decorators.js";
|
|
6
|
+
import { classMap as o } from "lit/directives/class-map.js";
|
|
7
|
+
//#region src/components/reke-menu-item/reke-menu-item.ts
|
|
8
|
+
var s = class extends e {
|
|
9
|
+
constructor(...e) {
|
|
10
|
+
super(...e), this.variant = "default", this.disabled = !1;
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.styles = n;
|
|
14
|
+
}
|
|
15
|
+
focus(e) {
|
|
16
|
+
this.shadowRoot?.querySelector("button")?.focus(e);
|
|
17
|
+
}
|
|
18
|
+
handleClick(e) {
|
|
19
|
+
if (this.disabled) {
|
|
20
|
+
e.preventDefault(), e.stopPropagation();
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
this.emit("reke-select");
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return r`
|
|
27
|
+
<button
|
|
28
|
+
part="item"
|
|
29
|
+
class=${o({
|
|
30
|
+
item: !0,
|
|
31
|
+
[`item--${this.variant}`]: !0
|
|
32
|
+
})}
|
|
33
|
+
role="menuitem"
|
|
34
|
+
?disabled=${this.disabled}
|
|
35
|
+
aria-disabled=${this.disabled}
|
|
36
|
+
@click=${this.handleClick}
|
|
37
|
+
>
|
|
38
|
+
<slot name="prefix"></slot>
|
|
39
|
+
<slot></slot>
|
|
40
|
+
</button>
|
|
41
|
+
`;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
t([a({ reflect: !0 })], s.prototype, "variant", void 0), t([a({
|
|
45
|
+
type: Boolean,
|
|
46
|
+
reflect: !0
|
|
47
|
+
})], s.prototype, "disabled", void 0), s = t([i("reke-menu-item")], s);
|
|
48
|
+
//#endregion
|
|
49
|
+
export { s as RekeMenuItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-menu-item.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-menu-item/reke-menu-item.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAkDlB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { tailwindStyles as e } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as t } from "lit";
|
|
3
|
+
//#region src/components/reke-menu-item/reke-menu-item.styles.ts
|
|
4
|
+
var n = [e, t`
|
|
5
|
+
:host {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.item {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: var(--reke-space-xs, 8px);
|
|
13
|
+
width: 100%;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
padding: var(--reke-space-xs, 8px) var(--reke-space-sm, 12px);
|
|
16
|
+
background: transparent;
|
|
17
|
+
border: none;
|
|
18
|
+
border-radius: var(--reke-radius, 4px);
|
|
19
|
+
color: var(--reke-color-text, #E5E5E5);
|
|
20
|
+
font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
|
|
21
|
+
font-size: var(--reke-font-size-sm, 13px);
|
|
22
|
+
text-align: left;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
outline: none;
|
|
25
|
+
transition: background-color 0.12s ease;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.item:hover,
|
|
29
|
+
.item:focus-visible {
|
|
30
|
+
background: var(--reke-color-surface-elevated, #151515);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.item:focus-visible {
|
|
34
|
+
outline: 2px solid var(--reke-color-primary, #22C55E);
|
|
35
|
+
outline-offset: -2px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.item--danger {
|
|
39
|
+
color: var(--reke-color-danger, #EF4444);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.item[disabled] {
|
|
43
|
+
opacity: 0.4;
|
|
44
|
+
cursor: not-allowed;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::slotted([slot='prefix']) {
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
flex: 0 0 auto;
|
|
50
|
+
}
|
|
51
|
+
`];
|
|
52
|
+
//#endregion
|
|
53
|
+
export { n as styles };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
3
|
+
export type PieChartVariant = 'pie' | 'donut';
|
|
4
|
+
export interface PieChartDatum {
|
|
5
|
+
name: string;
|
|
6
|
+
value: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface PieChartSelectDetail {
|
|
10
|
+
name: string;
|
|
11
|
+
value: number;
|
|
12
|
+
percent: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @tag reke-pie-chart
|
|
16
|
+
* @summary A circular (pie / donut) chart rendered with ECharts, isolated in Shadow DOM.
|
|
17
|
+
*
|
|
18
|
+
* @csspart chart - The chart canvas container.
|
|
19
|
+
*
|
|
20
|
+
* @fires reke-pie-chart-select - Fired when a slice is clicked. `detail: { name, value, percent }`.
|
|
21
|
+
*
|
|
22
|
+
* @cssprop [--reke-color-primary=#22C55E] - First slice / accent color.
|
|
23
|
+
*/
|
|
24
|
+
export declare class RekePieChart extends RekeElement {
|
|
25
|
+
static styles: import("lit").CSSResult[];
|
|
26
|
+
/** Slices to render. */
|
|
27
|
+
data: PieChartDatum[];
|
|
28
|
+
/** Pie (filled) or donut (ring). */
|
|
29
|
+
variant: PieChartVariant;
|
|
30
|
+
/** Accessible label describing the chart. Required for screen readers. */
|
|
31
|
+
label: string;
|
|
32
|
+
/** Square size in px. Falls back to filling the container. */
|
|
33
|
+
size?: number;
|
|
34
|
+
/** Show the legend below the chart. */
|
|
35
|
+
showLegend: boolean;
|
|
36
|
+
/** Show ECharts' native loading spinner (skeleton) over the chart. */
|
|
37
|
+
loading: boolean;
|
|
38
|
+
/** Explicit color palette. Overrides the `--reke-chart-*` tokens when set. */
|
|
39
|
+
palette?: string[];
|
|
40
|
+
private chart?;
|
|
41
|
+
private observer?;
|
|
42
|
+
/** Read a CSS custom property off the host's computed style (canvas can't read var()). */
|
|
43
|
+
private readToken;
|
|
44
|
+
private resolvePalette;
|
|
45
|
+
firstUpdated(): void;
|
|
46
|
+
updated(changed: PropertyValues): void;
|
|
47
|
+
private applyLoading;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
private get total();
|
|
50
|
+
private get chartAriaLabel();
|
|
51
|
+
private buildOption;
|
|
52
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
'reke-pie-chart': RekePieChart;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=reke-pie-chart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-pie-chart.d.ts","sourceRoot":"","sources":["../../../src/components/reke-pie-chart/reke-pie-chart.ts"],"names":[],"mappings":"AAUA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAO3D,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,OAAO,CAAC;AAE9C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAKD;;;;;;;;;GASG;AACH,qBACa,YAAa,SAAQ,WAAW;IAC3C,OAAgB,MAAM,4BAAU;IAEhC,wBAAwB;IAExB,IAAI,EAAE,aAAa,EAAE,CAAM;IAE3B,oCAAoC;IAEpC,OAAO,EAAE,eAAe,CAAW;IAEnC,0EAA0E;IAE1E,KAAK,SAAe;IAEpB,8DAA8D;IAE9D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,uCAAuC;IAEvC,UAAU,UAAS;IAEnB,sEAAsE;IAEtE,OAAO,UAAS;IAEhB,8EAA8E;IAE9E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,OAAO,CAAC,KAAK,CAAC,CAAU;IACxB,OAAO,CAAC,QAAQ,CAAC,CAAiB;IAElC,0FAA0F;IAC1F,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,cAAc;IAKb,YAAY,IAAI,IAAI;IAgBpB,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAc/C,OAAO,CAAC,YAAY;IAaX,oBAAoB,IAAI,IAAI;IAOrC,OAAO,KAAK,KAAK,GAEhB;IAED,OAAO,KAAK,cAAc,GAGzB;IAED,OAAO,CAAC,WAAW;IAuBV,MAAM;CAiBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,YAAY,CAAC;KAChC;CACF"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { RekeElement as e } from "../../shared/base-element.js";
|
|
2
|
+
import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
|
|
3
|
+
import { install as n } from "../../node_modules/echarts/lib/chart/pie/install.js";
|
|
4
|
+
import { init as r } from "../../node_modules/echarts/lib/core/echarts.js";
|
|
5
|
+
import { use as i } from "../../node_modules/echarts/lib/extension.js";
|
|
6
|
+
import { install as a } from "../../node_modules/echarts/lib/component/tooltip/install.js";
|
|
7
|
+
import { install as o } from "../../node_modules/echarts/lib/component/legend/install.js";
|
|
8
|
+
import { install as s } from "../../node_modules/echarts/lib/renderer/installCanvasRenderer.js";
|
|
9
|
+
import { styles as c } from "./reke-pie-chart.styles.js";
|
|
10
|
+
import { html as l } from "lit";
|
|
11
|
+
import { customElement as u, property as d } from "lit/decorators.js";
|
|
12
|
+
//#region src/components/reke-pie-chart/reke-pie-chart.ts
|
|
13
|
+
i([
|
|
14
|
+
n,
|
|
15
|
+
a,
|
|
16
|
+
o,
|
|
17
|
+
s
|
|
18
|
+
]);
|
|
19
|
+
var f = [
|
|
20
|
+
"#22C55E",
|
|
21
|
+
"#3B82F6",
|
|
22
|
+
"#F59E0B",
|
|
23
|
+
"#EF4444",
|
|
24
|
+
"#A855F7",
|
|
25
|
+
"#14B8A6"
|
|
26
|
+
], p = class extends e {
|
|
27
|
+
constructor(...e) {
|
|
28
|
+
super(...e), this.data = [], this.variant = "donut", this.label = "Pie chart", this.showLegend = !1, this.loading = !1;
|
|
29
|
+
}
|
|
30
|
+
static {
|
|
31
|
+
this.styles = c;
|
|
32
|
+
}
|
|
33
|
+
readToken(e, t) {
|
|
34
|
+
return getComputedStyle(this).getPropertyValue(e).trim() || t;
|
|
35
|
+
}
|
|
36
|
+
resolvePalette() {
|
|
37
|
+
return this.palette?.length ? this.palette : f.map((e, t) => this.readToken(`--reke-chart-${t + 1}`, e));
|
|
38
|
+
}
|
|
39
|
+
firstUpdated() {
|
|
40
|
+
let e = this.renderRoot.querySelector(".chart");
|
|
41
|
+
this.chart = r(e), this.chart.setOption(this.buildOption()), this.applyLoading(), this.chart.on("click", (e) => {
|
|
42
|
+
this.emit("reke-pie-chart-select", {
|
|
43
|
+
name: String(e.name),
|
|
44
|
+
value: Number(e.value),
|
|
45
|
+
percent: Number(e.percent ?? 0)
|
|
46
|
+
});
|
|
47
|
+
}), this.observer = new ResizeObserver(() => this.chart?.resize()), this.observer.observe(e);
|
|
48
|
+
}
|
|
49
|
+
updated(e) {
|
|
50
|
+
this.chart && ((e.has("data") || e.has("variant") || e.has("showLegend") || e.has("palette")) && this.chart.setOption(this.buildOption(), !0), e.has("loading") && this.applyLoading());
|
|
51
|
+
}
|
|
52
|
+
applyLoading() {
|
|
53
|
+
this.loading ? this.chart?.showLoading("default", {
|
|
54
|
+
text: "",
|
|
55
|
+
color: this.readToken("--reke-color-primary", "#22C55E"),
|
|
56
|
+
maskColor: "rgba(10, 10, 11, 0.4)"
|
|
57
|
+
}) : this.chart?.hideLoading();
|
|
58
|
+
}
|
|
59
|
+
disconnectedCallback() {
|
|
60
|
+
super.disconnectedCallback(), this.observer?.disconnect(), this.chart?.dispose(), this.chart = void 0;
|
|
61
|
+
}
|
|
62
|
+
get total() {
|
|
63
|
+
return this.data.reduce((e, t) => e + t.value, 0) || 1;
|
|
64
|
+
}
|
|
65
|
+
get chartAriaLabel() {
|
|
66
|
+
let e = this.data.map((e) => `${e.name} ${Math.round(e.value / this.total * 100)}%`);
|
|
67
|
+
return `${this.label}. ${e.join(", ")}`;
|
|
68
|
+
}
|
|
69
|
+
buildOption() {
|
|
70
|
+
return {
|
|
71
|
+
color: this.resolvePalette(),
|
|
72
|
+
aria: { enabled: !0 },
|
|
73
|
+
tooltip: {
|
|
74
|
+
trigger: "item",
|
|
75
|
+
formatter: "{b}: {c} ({d}%)"
|
|
76
|
+
},
|
|
77
|
+
legend: this.showLegend ? { bottom: 0 } : void 0,
|
|
78
|
+
series: [{
|
|
79
|
+
type: "pie",
|
|
80
|
+
radius: this.variant === "donut" ? ["55%", "75%"] : "75%",
|
|
81
|
+
center: ["50%", this.showLegend ? "45%" : "50%"],
|
|
82
|
+
avoidLabelOverlap: !0,
|
|
83
|
+
label: { show: this.variant === "pie" },
|
|
84
|
+
data: this.data.map((e) => ({
|
|
85
|
+
name: e.name,
|
|
86
|
+
value: e.value,
|
|
87
|
+
itemStyle: e.color ? { color: e.color } : void 0
|
|
88
|
+
}))
|
|
89
|
+
}]
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
render() {
|
|
93
|
+
let e = this.size ? `${this.size}px` : "100%";
|
|
94
|
+
return l`
|
|
95
|
+
<div
|
|
96
|
+
part="chart"
|
|
97
|
+
class="chart"
|
|
98
|
+
role="img"
|
|
99
|
+
aria-label=${this.chartAriaLabel}
|
|
100
|
+
style="width:${e};height:${this.size ? `${this.size}px` : "240px"};"
|
|
101
|
+
></div>
|
|
102
|
+
<ul class="sr-only">
|
|
103
|
+
${this.data.map((e) => l`<li>${e.name}: ${Math.round(e.value / this.total * 100)}%</li>`)}
|
|
104
|
+
</ul>
|
|
105
|
+
`;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
t([d({ attribute: !1 })], p.prototype, "data", void 0), t([d({ reflect: !0 })], p.prototype, "variant", void 0), t([d()], p.prototype, "label", void 0), t([d({ type: Number })], p.prototype, "size", void 0), t([d({
|
|
109
|
+
type: Boolean,
|
|
110
|
+
attribute: "show-legend",
|
|
111
|
+
reflect: !0
|
|
112
|
+
})], p.prototype, "showLegend", void 0), t([d({
|
|
113
|
+
type: Boolean,
|
|
114
|
+
reflect: !0
|
|
115
|
+
})], p.prototype, "loading", void 0), t([d({ attribute: !1 })], p.prototype, "palette", void 0), p = t([u("reke-pie-chart")], p);
|
|
116
|
+
//#endregion
|
|
117
|
+
export { p as RekePieChart };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-pie-chart.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-pie-chart/reke-pie-chart.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAyBlB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { tailwindStyles as e } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as t } from "lit";
|
|
3
|
+
//#region src/components/reke-pie-chart/reke-pie-chart.styles.ts
|
|
4
|
+
var n = [e, t`
|
|
5
|
+
:host {
|
|
6
|
+
display: block;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.chart {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Visually hidden but readable by screen readers — canvas is opaque to AT. */
|
|
15
|
+
.sr-only {
|
|
16
|
+
position: absolute;
|
|
17
|
+
width: 1px;
|
|
18
|
+
height: 1px;
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: -1px;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
clip: rect(0, 0, 0, 0);
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
border: 0;
|
|
25
|
+
}
|
|
26
|
+
`];
|
|
27
|
+
//#endregion
|
|
28
|
+
export { n as styles };
|
|
@@ -63,6 +63,7 @@ export type GetRowKey = (row: TableRow, index: number) => RowKey;
|
|
|
63
63
|
* - `expandOnRowClick` (attribute `expand-on-row-click`): Opt-in boolean (default `false`). When `true`, clicking anywhere on a row calls `toggleExpand(key)` internally. `reke-row-click` is STILL emitted on every row click. The chevron button calls `stopPropagation()` so chevron clicks do NOT double-toggle. Consumers MUST use EITHER this prop OR their own `reke-row-click` → `toggleExpand` handler, not both. For keyboard / screen-reader users, pair with `expandable`.
|
|
64
64
|
*/
|
|
65
65
|
export declare class RekeTable extends RekeElement {
|
|
66
|
+
static shadowRootOptions: ShadowRootInit;
|
|
66
67
|
static styles: import("lit").CSSResult[];
|
|
67
68
|
columns: TableColumn[];
|
|
68
69
|
rows: TableRow[];
|
|
@@ -144,6 +145,17 @@ export declare class RekeTable extends RekeElement {
|
|
|
144
145
|
private _warnedNumericTarget;
|
|
145
146
|
/** Track which keys are currently mounted in the DOM, to honor the contract that mount happens after `updated()` reconciles. */
|
|
146
147
|
private _mountedKeys;
|
|
148
|
+
/** Keys currently animating their collapse. Cleanup is deferred until transitionend. */
|
|
149
|
+
private _collapsingKeys;
|
|
150
|
+
/**
|
|
151
|
+
* Keys newly expanded this tick. They render collapsed (0fr) for the first
|
|
152
|
+
* paint, then `updated()` clears them on the next frame so the CSS grid
|
|
153
|
+
* transition animates open (0fr → 1fr). Without this, a freshly-mounted
|
|
154
|
+
* expand row starts at 1fr and pops open with no animation.
|
|
155
|
+
*/
|
|
156
|
+
private _enteringKeys;
|
|
157
|
+
/** transitionend handlers keyed by row key, for cleanup on collapse animation end. */
|
|
158
|
+
private _collapseEndHandlers;
|
|
147
159
|
/** Latest resolved row map: key → row. Filled during render so callbacks can look up rows. */
|
|
148
160
|
private _keyToRow;
|
|
149
161
|
/** Stable ref callback per row key. One closure per key, reused across renders. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reke-table.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI9E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3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AAY;IAuCpB,OAAO,CAAC,UAAU;IAsET,UAAU,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAmCnD,OAAO,CAAC,gBAAgB,CAAS;IAExB,OAAO,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IA2FhD;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAYpB,OAAO,CAAC,uBAAuB;IAwBtB,oBAAoB;IAKpB,MAAM;CA6FhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
|
|
@@ -26,7 +26,13 @@ function u() {
|
|
|
26
26
|
}
|
|
27
27
|
var d = class extends e {
|
|
28
28
|
constructor(...e) {
|
|
29
|
-
super(...e), this.columns = [], this.rows = [], this.striped = !1, this.dense = !1, this.hoverable = !1, this.bordered = !1, this.borderless = !1, this.expandable = !1, this.expandOnRowClick = !1, this.sortKey = "", this.sortDirection = "asc", this.expandedRowElement = null, this.expandedRows = /* @__PURE__ */ new Set(), this._hostCache = /* @__PURE__ */ new Map(), this._cleanupMap = /* @__PURE__ */ new Map(), this._warnedDupKeys = /* @__PURE__ */ new Set(), this._warnedNumericTarget = !1, this._mountedKeys = /* @__PURE__ */ new Set(), this._keyToRow = /* @__PURE__ */ new Map(), this._refCallbacks = /* @__PURE__ */ new Map(), this._hasToolbar = !1, this._hasFooter = !1, this._warnedLegacyApi = !1;
|
|
29
|
+
super(...e), this.columns = [], this.rows = [], this.striped = !1, this.dense = !1, this.hoverable = !1, this.bordered = !1, this.borderless = !1, this.expandable = !1, this.expandOnRowClick = !1, this.sortKey = "", this.sortDirection = "asc", this.expandedRowElement = null, this.expandedRows = /* @__PURE__ */ new Set(), this._hostCache = /* @__PURE__ */ new Map(), this._cleanupMap = /* @__PURE__ */ new Map(), this._warnedDupKeys = /* @__PURE__ */ new Set(), this._warnedNumericTarget = !1, this._mountedKeys = /* @__PURE__ */ new Set(), this._collapsingKeys = /* @__PURE__ */ new Set(), this._enteringKeys = /* @__PURE__ */ new Set(), this._collapseEndHandlers = /* @__PURE__ */ new Map(), this._keyToRow = /* @__PURE__ */ new Map(), this._refCallbacks = /* @__PURE__ */ new Map(), this._hasToolbar = !1, this._hasFooter = !1, this._warnedLegacyApi = !1;
|
|
30
|
+
}
|
|
31
|
+
static {
|
|
32
|
+
this.shadowRootOptions = {
|
|
33
|
+
...e.shadowRootOptions,
|
|
34
|
+
delegatesFocus: !1
|
|
35
|
+
};
|
|
30
36
|
}
|
|
31
37
|
static {
|
|
32
38
|
this.styles = n;
|
|
@@ -59,7 +65,13 @@ var d = class extends e {
|
|
|
59
65
|
let t, n, r, i = typeof e == "number" && e === Math.trunc(e) && e >= 0 && e < this.rows.length;
|
|
60
66
|
i && this.getRowKey && !this._warnedNumericTarget && u() && (this._warnedNumericTarget = !0, console.warn("[reke-table] toggleExpand received a numeric target while `getRowKey` is set; in-range numeric targets are interpreted as row INDICES, not keys. Pass the resolved key to target by identity.")), i ? (n = e, r = this.rows[n], t = this._resolveKey(r, n)) : (t = e, n = this.rows.findIndex((e, n) => this._resolveKey(e, n) === t), r = n >= 0 ? this.rows[n] : void 0);
|
|
61
67
|
let a = new Set(this.expandedRows), o = !a.has(t);
|
|
62
|
-
|
|
68
|
+
if (o) {
|
|
69
|
+
if (a.add(t), this._enteringKeys.add(t), this._collapsingKeys.delete(t)) {
|
|
70
|
+
let e = this._collapseEndHandlers.get(t);
|
|
71
|
+
e && (this._getOrCreateHost(t).parentElement?.parentElement?.removeEventListener("transitionend", e), this._collapseEndHandlers.delete(t));
|
|
72
|
+
}
|
|
73
|
+
} else this._collapsingKeys.add(t);
|
|
74
|
+
this.expandedRows = a, this.emit("reke-row-expand", {
|
|
63
75
|
row: r,
|
|
64
76
|
index: n,
|
|
65
77
|
key: t,
|
|
@@ -87,6 +99,13 @@ var d = class extends e {
|
|
|
87
99
|
if (!t) return;
|
|
88
100
|
let n = t, r = this._getOrCreateHost(e);
|
|
89
101
|
r.parentElement !== n && n.appendChild(r);
|
|
102
|
+
let i = n.parentElement;
|
|
103
|
+
if (i && !this._collapseEndHandlers.has(e)) {
|
|
104
|
+
let t = (n) => {
|
|
105
|
+
n.propertyName !== "grid-template-rows" || !this._collapsingKeys.has(e) || (this._collapsingKeys.delete(e), this._collapseEndHandlers.delete(e), i.removeEventListener("transitionend", t), this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), this.expandedRows.has(e) && (this.expandedRows = new Set([...this.expandedRows].filter((t) => t !== e))));
|
|
106
|
+
};
|
|
107
|
+
i.addEventListener("transitionend", t), this._collapseEndHandlers.set(e, t);
|
|
108
|
+
}
|
|
90
109
|
}, this._refCallbacks.set(e, t)), t;
|
|
91
110
|
}
|
|
92
111
|
_renderRow(e, t, n) {
|
|
@@ -126,15 +145,21 @@ var d = class extends e {
|
|
|
126
145
|
</td>
|
|
127
146
|
`)}
|
|
128
147
|
</tr>
|
|
129
|
-
${this.expandedRowElement &&
|
|
130
|
-
<tr
|
|
148
|
+
${this.expandedRowElement && this._keyToRow.get(n) === e ? r`
|
|
149
|
+
<tr
|
|
150
|
+
part="expand-row"
|
|
151
|
+
class="expand-row ${a && !this._enteringKeys.has(n) ? "" : "expand-row--collapsed"}"
|
|
152
|
+
>
|
|
131
153
|
<td
|
|
132
154
|
part="expand-content"
|
|
133
155
|
class="expand-content"
|
|
134
156
|
id=${o}
|
|
135
157
|
colspan=${s}
|
|
136
|
-
|
|
137
|
-
|
|
158
|
+
>
|
|
159
|
+
<div class="expand-grid">
|
|
160
|
+
<div class="expand-inner" ${l(this._expandTdRef(n))}></div>
|
|
161
|
+
</div>
|
|
162
|
+
</td>
|
|
138
163
|
</tr>
|
|
139
164
|
` : i}
|
|
140
165
|
`;
|
|
@@ -158,7 +183,15 @@ var d = class extends e {
|
|
|
158
183
|
let t = /* @__PURE__ */ new Set([...this.expandedRows, ...this._hostCache.keys()]);
|
|
159
184
|
for (let e of t) {
|
|
160
185
|
let t = this._keyToRow.has(e), n = this.expandedRows.has(e);
|
|
161
|
-
t && n || (this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), t
|
|
186
|
+
t && n || this._collapsingKeys.has(e) || (this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), !t && !this._collapsingKeys.has(e) && this.expandedRows.delete(e));
|
|
187
|
+
}
|
|
188
|
+
if (this._collapsingKeys.size > 0) {
|
|
189
|
+
let e = [...this._collapsingKeys];
|
|
190
|
+
requestAnimationFrame(() => {
|
|
191
|
+
let t = new Set(this.expandedRows);
|
|
192
|
+
for (let n of e) t.delete(n);
|
|
193
|
+
this.expandedRows = t;
|
|
194
|
+
});
|
|
162
195
|
}
|
|
163
196
|
for (let e of this.expandedRows) {
|
|
164
197
|
if (this._mountedKeys.has(e)) continue;
|
|
@@ -167,6 +200,9 @@ var d = class extends e {
|
|
|
167
200
|
let n = this._getOrCreateHost(e), r = this.expandedRowElement(n, t, e);
|
|
168
201
|
typeof r == "function" && this._cleanupMap.set(e, r), this._mountedKeys.add(e);
|
|
169
202
|
}
|
|
203
|
+
this._enteringKeys.size > 0 && (this.offsetHeight, requestAnimationFrame(() => {
|
|
204
|
+
this._enteringKeys.clear(), this.requestUpdate();
|
|
205
|
+
}));
|
|
170
206
|
}
|
|
171
207
|
_safeCleanup(e) {
|
|
172
208
|
let t = this._cleanupMap.get(e);
|
|
@@ -178,6 +214,8 @@ var d = class extends e {
|
|
|
178
214
|
}
|
|
179
215
|
}
|
|
180
216
|
_runAllCleanupsAndClear() {
|
|
217
|
+
for (let [e, t] of this._collapseEndHandlers) (this._hostCache.get(e)?.parentElement?.parentElement)?.removeEventListener("transitionend", t);
|
|
218
|
+
this._collapsingKeys.clear(), this._collapseEndHandlers.clear();
|
|
181
219
|
for (let e of this._cleanupMap.values()) try {
|
|
182
220
|
e();
|
|
183
221
|
} catch {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reke-table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"reke-table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAkSlB,CAAC"}
|
|
@@ -207,6 +207,10 @@ var n = [e, t`
|
|
|
207
207
|
|
|
208
208
|
/* === Expanded row === */
|
|
209
209
|
|
|
210
|
+
/* NOTE: the tr/td keep native table display so colspan spans the full
|
|
211
|
+
table width. The collapse animation lives on .expand-inner only —
|
|
212
|
+
putting display:grid on the tr breaks colspan and shrinks the cell to
|
|
213
|
+
content width. */
|
|
210
214
|
.expand-row {
|
|
211
215
|
background: var(--reke-color-surface, #1A1A1A);
|
|
212
216
|
border-bottom: 1px solid var(--reke-color-border, #252525);
|
|
@@ -220,6 +224,30 @@ var n = [e, t`
|
|
|
220
224
|
padding: 0 16px 16px 16px;
|
|
221
225
|
}
|
|
222
226
|
|
|
227
|
+
.expand-row--collapsed .expand-content {
|
|
228
|
+
padding-top: 0;
|
|
229
|
+
padding-bottom: 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Grid-rows reveal. The animated track lives on .expand-grid; the SINGLE
|
|
233
|
+
real grid item (.expand-inner) carries overflow:hidden + min-height:0 so
|
|
234
|
+
0fr actually clips it to zero. The content host uses display:contents, so
|
|
235
|
+
it must NOT be the grid item — .expand-inner is. */
|
|
236
|
+
.expand-grid {
|
|
237
|
+
display: grid;
|
|
238
|
+
grid-template-rows: 1fr;
|
|
239
|
+
transition: grid-template-rows 200ms ease;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.expand-row--collapsed .expand-grid {
|
|
243
|
+
grid-template-rows: 0fr;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.expand-inner {
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
min-height: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
223
251
|
/* === Modifiers === */
|
|
224
252
|
|
|
225
253
|
.table--striped .row--even {
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export { RekeCard } from './components/reke-card/reke-card.js';
|
|
|
9
9
|
export { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
10
10
|
export type { ChipColor } from './components/reke-chip/reke-chip.js';
|
|
11
11
|
export { RekeChip } from './components/reke-chip/reke-chip.js';
|
|
12
|
+
export type { ComboboxOption, ComboboxSize } from './components/reke-combobox/reke-combobox.js';
|
|
13
|
+
export { RekeCombobox } from './components/reke-combobox/reke-combobox.js';
|
|
12
14
|
export type { DatePickerMode } from './components/reke-date-range/reke-date-range.js';
|
|
13
15
|
export { RekeDateRange } from './components/reke-date-range/reke-date-range.js';
|
|
14
16
|
export type { DialogVariant, DrawerPosition } from './components/reke-dialog/reke-dialog.js';
|
|
@@ -16,6 +18,11 @@ export { RekeDialog } from './components/reke-dialog/reke-dialog.js';
|
|
|
16
18
|
export { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.js';
|
|
17
19
|
export type { InputSize } from './components/reke-input/reke-input.js';
|
|
18
20
|
export { RekeInput } from './components/reke-input/reke-input.js';
|
|
21
|
+
export { RekeMenu } from './components/reke-menu/reke-menu.js';
|
|
22
|
+
export type { MenuItemVariant } from './components/reke-menu-item/reke-menu-item.js';
|
|
23
|
+
export { RekeMenuItem } from './components/reke-menu-item/reke-menu-item.js';
|
|
24
|
+
export type { PieChartDatum, PieChartSelectDetail, PieChartVariant, } from './components/reke-pie-chart/reke-pie-chart.js';
|
|
25
|
+
export { RekePieChart } from './components/reke-pie-chart/reke-pie-chart.js';
|
|
19
26
|
export type { SelectSize } from './components/reke-select/reke-select.js';
|
|
20
27
|
export { RekeSelect } from './components/reke-select/reke-select.js';
|
|
21
28
|
export type { Cleanup, ExpandedRowElement, GetRowKey, RowKey, TableColumn, TableRow, } from './components/reke-table/reke-table.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,YAAY,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;A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