@revolist/ui 4.0.5-rc → 4.0.5
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/MIGRATION.md +36 -0
- package/OWNERSHIP.md +36 -36
- package/README.md +65 -408
- package/_button.scss +6 -2
- package/_chunks/{calendar-DsXIhybL.js → calendar-BQYQLu8Q.js} +5 -5
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/{chart-frame-CuZABXVI.js → chart-frame-GprenwEg.js} +17 -13
- package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
- package/_chunks/{choice-chips-BhP8MZjs.js → choice-chips-C5OxD0GV.js} +3 -3
- package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
- package/_chunks/{color-picker-B4TQvxxB.js → color-picker-Cfc9eqZb.js} +4 -4
- package/_chunks/{component-qKctqdzk.js → component-C3k_8uIq.js} +44 -45
- package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
- package/_chunks/{configurator-actions-C19O1rda.js → configurator-actions-vRnI54mO.js} +3 -3
- package/_chunks/{control-BkWukVt9.js → control-BRfF5DWQ.js} +32 -7
- package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
- package/_chunks/{controls-BLQnWEd7.js → controls-B3EgM_DS.js} +160 -132
- package/_chunks/{date-control-Cgw5PwlZ.js → date-control-87dcA5br.js} +5 -5
- package/_chunks/{date-time-B8rK5gpC.js → date-time-CfiFYodx.js} +316 -293
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
- package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
- package/_chunks/{duration-DwFXonEV.js → duration-BGZ_qJ99.js} +10 -7
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
- package/_chunks/{editor-popup-BaaxL89T.js → editor-popup-NNP9Fh9U.js} +12 -11
- package/_chunks/field-configurator-DPulsY3l.js +288 -0
- package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
- package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
- package/_chunks/{icon-toolbar-xbqa0hu9.js → icon-toolbar-BAAdEvr9.js} +41 -35
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/mount-C8CnIW9k.js +267 -0
- package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
- package/_chunks/{native-control-DO0d1kgx.js → native-control-um1L1wgZ.js} +124 -111
- package/_chunks/{number-input-s9ddPwX6.js → number-input-CKiA4d1N.js} +4 -4
- package/_chunks/{picker-AY05b41W.js → picker-igNshTRC.js} +5 -5
- package/_chunks/{popup-UXGCiv3n.js → popup-DECYM9FI.js} +21 -10
- package/_chunks/{rating-choice-BEs_QFZC.js → rating-choice-CepVfGUq.js} +2 -2
- package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
- package/_chunks/{reorder-list-A49l172e.js → reorder-list-B4w3aARt.js} +2 -2
- package/_chunks/{request-trail-DCOfa5zw.js → request-trail-B1zVRPEf.js} +151 -142
- package/_chunks/{rich-text-xfMWadGi.js → rich-text-Ci4d6dHn.js} +11 -11
- package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
- package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
- package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
- package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
- package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
- package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
- package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
- package/_dialog.scss +57 -22
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_variables.scss +34 -32
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +1 -1
- package/activity-message.js +1 -1
- package/ai/_chat.scss +7 -0
- package/ai/_style.scss +27 -20
- package/ai/components.d.ts +3 -1
- package/ai/index.js +2 -2
- package/ai/mount.d.ts +15 -7
- package/ai/request-trail.d.ts +9 -3
- package/ai/results/_style.scss +3 -0
- package/ai/results/index.d.ts +1 -1
- package/ai/translations.d.ts +1 -1
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -7
- package/assignee/assignee.scss +28 -6
- package/assignee/index.js +6 -6
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +25 -2
- package/avatar/index.js +2 -2
- package/badge.d.ts +1 -1
- package/badge.js +1 -1
- package/badge.view.d.ts +1 -1
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.d.ts +1 -3
- package/brush-range/component.js +10 -11
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.d.ts +1 -1
- package/buttons/remove-button.js +2 -2
- package/buttons/remove-button.style.scss +1 -1
- package/buttons/svg-button.js +3 -3
- package/calendar/_calendar.scss +19 -23
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +2 -2
- package/calendar/header.js +2 -3
- package/calendar/index.js +3 -3
- package/calendar/model.js +1 -1
- package/calendar/month-grid.js +2 -2
- package/calendar/translations.js +1 -1
- package/calendar/year-grid.js +2 -2
- package/cell-input.js +1 -1
- package/cell-input.scss +3 -7
- package/cell-visuals/badge.style.scss +6 -3
- package/cell-visuals/bar-chart.style.scss +2 -1
- package/cell-visuals/column-type.style.css +12 -0
- package/cell-visuals/index.js +1 -1
- package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
- package/cell-visuals/progress-line.style.scss +1 -4
- package/cell-visuals/sparkline.style.scss +2 -1
- package/cell-visuals/timeline.style.css +4 -2
- package/checkbox/checkbox.scss +6 -24
- package/checkbox/index.js +1 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/built-in-palettes.js +1 -1
- package/color-palette/chart-palettes.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +88 -25
- package/color-palette/color-picker.constants.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/color-palette/color-picker.style.scss +23 -10
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +2 -2
- package/color-palette/gantt-palettes.js +1 -1
- package/color-palette/native.d.ts +15 -2
- package/color-palette/palette.js +1 -1
- package/color-palette/pivot-palettes.js +1 -1
- package/color-palette/platform-palettes.js +1 -1
- package/color-palette/pro-palettes.js +1 -1
- package/color-palette/scheduler-palettes.js +1 -1
- package/component-catalog.d.ts +3 -6
- package/configurator-actions.d.ts +6 -6
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.d.ts +1 -1
- package/configurator-aggregation-list.js +19 -17
- package/configurator-drop-zone.d.ts +3 -2
- package/configurator-drop-zone.js +34 -32
- package/configurator-focus.js +1 -1
- package/configurator-sections.d.ts +3 -3
- package/configurator-sections.js +1 -1
- package/control-attributes.js +1 -1
- package/control-presentation.d.ts +8 -2
- package/control-presentation.js +2 -2
- package/controls.d.ts +11 -0
- package/controls.js +4 -4
- package/core/anchored-popover.js +1 -1
- package/core/control-id.js +1 -1
- package/core/editor-popup-position.d.ts +6 -2
- package/core/editor-popup.d.ts +4 -0
- package/core/editor-popup.js +1 -1
- package/core/motion.js +1 -1
- package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
- package/core/selection-list-tooltips.d.ts +2 -0
- package/core/tooltip.d.ts +1 -1
- package/core/top-layer-popup.d.ts +1 -1
- package/core/top-layer-popup.js +1 -1
- package/date-time/attach.d.ts +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +4 -2
- package/date-time/index.js +1 -1
- package/date-time/style.scss +206 -46
- package/date-time/time-selection.d.ts +1 -1
- package/date-time/types.d.ts +5 -1
- package/dialog/dialog-action-footer.d.ts +17 -2
- package/dialog/dialog.dom.d.ts +15 -2
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.d.ts +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/_distribution-chart.scss +115 -23
- package/distribution-chart/area-chart.js +2 -2
- package/distribution-chart/bar-chart.js +2 -2
- package/distribution-chart/chart-frame.d.ts +1 -1
- package/distribution-chart/index.d.ts +1 -1
- package/distribution-chart/index.js +1 -1
- package/distribution-chart/line-chart.js +2 -2
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/editor-dropdown.style.scss +19 -9
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.d.ts +5 -0
- package/dropdown/lookup-field.js +3 -3
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +2 -2
- package/editor-layout/index.d.ts +4 -4
- package/editor-layout/index.js +40 -35
- package/editor-layout/style.scss +82 -18
- package/favicon.svg +9 -0
- package/field-configurator.d.ts +22 -3
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +1 -1
- package/field-reorder.js +1 -1
- package/filter/filters/slider/_single-slider.scss +57 -38
- package/filter/filters/slider/_slider.scss +41 -16
- package/filter/filters/slider/component.js +1 -1
- package/filter/filters/slider/control.js +1 -1
- package/filter/filters/slider/inputs.js +1 -1
- package/filter/filters/slider/logic.js +1 -1
- package/filter/filters/slider/preact.js +1 -1
- package/filter/filters/slider/runtime.js +3 -3
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +2 -2
- package/filter-controls.d.ts +0 -1
- package/filter-controls.js +6 -7
- package/form-controls/index.d.ts +10 -2
- package/form-controls/index.js +3 -3
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +2 -2
- package/formatting/index.d.ts +1 -1
- package/formatting/index.js +7 -7
- package/formatting/styles.scss +13 -11
- package/framework.js +201 -205
- package/history-controls.js +1 -1
- package/html-controls.js +1 -1
- package/icon-toolbar.d.ts +6 -2
- package/icon-toolbar.js +1 -1
- package/icons/icon.d.ts +1 -1
- package/icons/icon.js +1 -1
- package/legend.d.ts +1 -1
- package/legend.js +1 -1
- package/masked-input/index.js +4 -4
- package/native-control.js +1 -1
- package/native-controls.d.ts +54 -2
- package/native-styles.css +1 -1
- package/native-styles.scss +6 -2
- package/native.d.ts +3 -3
- package/native.js +35 -35
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +49 -1
- package/pagination.js +12 -12
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/header.d.ts +1 -1
- package/pdf-viewer/index.d.ts +2 -2
- package/pdf-viewer/index.js +3 -3
- package/pdf-viewer/search-bar.d.ts +1 -1
- package/pdf-viewer/status.d.ts +1 -1
- package/pdf-viewer/style.scss +203 -42
- package/preact-mount.js +1 -1
- package/preact.d.ts +6 -10
- package/preact.js +108 -70
- package/progress/_bar.scss +9 -3
- package/progress/_circular.scss +2 -1
- package/progress/bar.js +1 -1
- package/progress/circular.js +1 -1
- package/progress/range.js +1 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +4 -2
- package/react-control.d.ts +2 -0
- package/react-control.js +3 -3
- package/react.d.ts +2 -8
- package/react.js +55 -56
- package/reorder-list.d.ts +1 -1
- package/reorder-list.js +1 -1
- package/reorder-list.scss +59 -17
- package/resource-picker/resource-picker-avatar.js +1 -1
- package/resource-picker/resource-picker-option.js +1 -1
- package/resource-picker/resource-picker-popup.js +2 -2
- package/resource-picker/resource-picker.js +74 -72
- package/resource-picker/resource-picker.scss +62 -34
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/style.scss +203 -49
- package/rich-text/toolbar.d.ts +1 -1
- package/robots.txt +4 -0
- package/search-input/index.js +2 -2
- package/search-input/native.d.ts +21 -2
- package/segmented-switch/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/status-feedback/badge.js +2 -2
- package/status-feedback/exit-snapshot.js +2 -2
- package/status-feedback/header.js +2 -2
- package/status-feedback/icons.js +1 -1
- package/status-feedback/index.js +1 -1
- package/status-feedback/item.js +2 -2
- package/status-feedback/motion.js +1 -1
- package/status-feedback/placement.js +1 -1
- package/status-feedback/popover.js +2 -2
- package/status-feedback/render.js +1 -1
- package/status-feedback/status-feedback.scss +124 -35
- package/styles/_activity-message.scss +24 -7
- package/styles/_alert.scss +78 -17
- package/styles/_cell-editor-frame.scss +11 -0
- package/styles/_compositions.scss +399 -79
- package/styles/_control.scss +30 -8
- package/styles/_disclosure.scss +15 -5
- package/styles/_editor-counter.scss +16 -6
- package/styles/_editor-slider.scss +8 -4
- package/styles/_field-configurator.scss +194 -42
- package/styles/_fields-grid.scss +18 -4
- package/styles/_filter-controls.scss +10 -2
- package/styles/_icon-action.scss +48 -15
- package/styles/_loading.scss +12 -3
- package/styles/_motion.scss +32 -9
- package/styles/_palette.scss +0 -24
- package/styles/_primitives.scss +348 -96
- package/styles/_theme.scss +130 -86
- package/styles/_thresholds.scss +28 -25
- package/styles/_time-grid.scss +8 -3
- package/styles/_tokens.scss +6 -1
- package/styles/color-roles.js +1 -1
- package/styles/configurator-actions.scss +126 -26
- package/styles/pagination.css +213 -0
- package/styles/{legacy-rating.css → rating.css} +8 -3
- package/styles.css +1 -1
- package/styles.scss +3 -5
- package/surfaces.d.ts +37 -4
- package/surfaces.js +8 -8
- package/svelte/UiComponent.svelte +44 -11
- package/svelte-control.js +1 -1
- package/svelte.d.ts +1 -1
- package/svelte.js +5 -5
- package/switch/index.js +2 -2
- package/time-grid.d.ts +0 -1
- package/time-grid.js +6 -6
- package/timeline-track/_style.scss +96 -24
- package/timeline-track/index.js +3 -3
- package/timeline-track/model.js +1 -1
- package/ui.css +1 -1
- package/view-switcher.d.ts +23 -0
- package/vue-badge.js +1 -1
- package/vue-control.js +1 -1
- package/vue-segmented-switch.js +1 -1
- package/vue.d.ts +5 -23
- package/vue.js +84 -91
- package/_chunks/badge.view-D30pMUfi.js +0 -14
- package/_chunks/chevron-right-sxHQMSkq.js +0 -4
- package/_chunks/dialog.parts-BSbvnEwX.js +0 -134
- package/_chunks/field-configurator-1eQP0tKy.js +0 -223
- package/_chunks/mount-D1i5DLRn.js +0 -266
- package/_shared/data-query/binding.d.ts +0 -30
- package/_shared/data-query/blocks.d.ts +0 -30
- package/_shared/data-query/commands.d.ts +0 -47
- package/_shared/data-query/contracts.d.ts +0 -106
- package/_shared/data-query/cursor-reader.d.ts +0 -25
- package/_shared/data-query/direct-binding.d.ts +0 -3
- package/_shared/data-query/index.d.ts +0 -23
- package/_shared/data-query/infinite-binding.d.ts +0 -18
- package/_shared/data-query/keys.d.ts +0 -9
- package/_shared/data-query/limiter.d.ts +0 -12
- package/_shared/data-query/load-options.d.ts +0 -25
- package/_shared/data-query/materialize.d.ts +0 -2
- package/_shared/data-query/policy.d.ts +0 -14
- package/_shared/data-query/provider-queries.d.ts +0 -22
- package/_shared/data-query/reader.d.ts +0 -23
- package/_shared/data-query/remote-load.d.ts +0 -7
- package/_shared/data-query/source.d.ts +0 -40
- package/avatar/index.view.d.ts +0 -25
- package/color-palette/native.view.d.ts +0 -15
- package/control-presentation.view.d.ts +0 -8
- package/dialog/dialog-action-footer.view.d.ts +0 -20
- package/dialog/dialog.dom.view.d.ts +0 -15
- package/form-controls/index.view.d.ts +0 -10
- package/formatting/control-tooltip.d.ts +0 -2
- package/native-controls.view.d.ts +0 -54
- package/search-input/native.view.d.ts +0 -21
- package/styles/legacy-pagination.css +0 -129
- package/surfaces.view.d.ts +0 -33
package/editor-layout/style.scss
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
.rv-editor-split {
|
|
4
4
|
display: grid;
|
|
5
|
-
grid-template-columns: var(
|
|
5
|
+
grid-template-columns: var(
|
|
6
|
+
--rv-editor-columns,
|
|
7
|
+
minmax(0, 1fr) minmax(0, 1fr)
|
|
8
|
+
);
|
|
6
9
|
gap: var(--rv-editor-gap, 12px);
|
|
7
10
|
min-width: 0;
|
|
8
11
|
min-height: 0;
|
|
@@ -11,7 +14,8 @@
|
|
|
11
14
|
min-width: 0;
|
|
12
15
|
min-height: 0;
|
|
13
16
|
overflow: hidden;
|
|
14
|
-
border: 1px solid
|
|
17
|
+
border: 1px solid
|
|
18
|
+
var(--rv-editor-divider, var(--rv-dialog-border, var(--rv-ui-border)));
|
|
15
19
|
border-radius: var(--rv-editor-radius, 10px);
|
|
16
20
|
background: var(--rv-dialog-bg, var(--rv-ui-surface));
|
|
17
21
|
}
|
|
@@ -61,24 +65,84 @@
|
|
|
61
65
|
}
|
|
62
66
|
.rv-editor-list__item {
|
|
63
67
|
transition:
|
|
64
|
-
background-color var(--rv-ui-motion-fast, 120ms)
|
|
68
|
+
background-color var(--rv-ui-motion-fast, 120ms)
|
|
69
|
+
var(--rv-ui-motion-ease, ease-out),
|
|
65
70
|
color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
|
|
66
71
|
opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
|
|
67
72
|
}
|
|
68
|
-
.rv-editor-list__item:hover {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
.rv-editor-list__item:hover {
|
|
74
|
+
background: var(--rv-ui-surface-hover);
|
|
75
|
+
}
|
|
76
|
+
.rv-editor-list__item.rv-editor-list__item--selected {
|
|
77
|
+
background: var(--rv-ui-selected-bg);
|
|
78
|
+
color: var(--rv-ui-selected-fg);
|
|
79
|
+
}
|
|
80
|
+
.rv-editor-list__item:focus-visible {
|
|
81
|
+
outline: 2px solid var(--rv-ui-accent);
|
|
82
|
+
outline-offset: -2px;
|
|
83
|
+
}
|
|
84
|
+
@media (forced-colors: active) {
|
|
85
|
+
.rv-editor-list__item--selected {
|
|
86
|
+
outline: 2px solid Highlight;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
72
89
|
|
|
73
|
-
.rv-editor-list__item:disabled {
|
|
90
|
+
.rv-editor-list__item:disabled {
|
|
91
|
+
opacity: 0.55;
|
|
92
|
+
cursor: not-allowed;
|
|
93
|
+
}
|
|
74
94
|
|
|
75
|
-
.rv-editor-list__content {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
95
|
+
.rv-editor-list__content {
|
|
96
|
+
display: grid;
|
|
97
|
+
grid-template-columns: 20px minmax(0, 1fr);
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 9px;
|
|
100
|
+
font-size: 12px;
|
|
101
|
+
line-height: 1.4;
|
|
102
|
+
grid-column: 1 / -1;
|
|
103
|
+
min-width: 0;
|
|
104
|
+
}
|
|
105
|
+
.rv-editor-list__content--text {
|
|
106
|
+
grid-template-columns: minmax(0, 1fr);
|
|
107
|
+
}
|
|
108
|
+
.rv-editor-list__icon {
|
|
109
|
+
display: inline-flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
width: 16px;
|
|
113
|
+
height: 16px;
|
|
114
|
+
}
|
|
115
|
+
.rv-editor-list__icon svg {
|
|
116
|
+
display: block;
|
|
117
|
+
width: 13px;
|
|
118
|
+
height: 13px;
|
|
119
|
+
fill: currentColor;
|
|
120
|
+
}
|
|
121
|
+
.rv-editor-list__copy {
|
|
122
|
+
display: grid;
|
|
123
|
+
min-width: 0;
|
|
124
|
+
gap: 0;
|
|
125
|
+
}
|
|
126
|
+
.rv-editor-list__label,
|
|
127
|
+
.rv-editor-list__description {
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
text-overflow: ellipsis;
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
}
|
|
132
|
+
.rv-editor-list__label {
|
|
133
|
+
font-weight: var(--rv-editor-list-font-weight, 500);
|
|
134
|
+
}
|
|
135
|
+
.rv-editor-list__description {
|
|
136
|
+
font-size: 11px;
|
|
137
|
+
color: var(--rv-ui-text-muted);
|
|
138
|
+
}
|
|
139
|
+
.rv-editor-list__group {
|
|
140
|
+
display: grid;
|
|
141
|
+
gap: 2px;
|
|
142
|
+
}
|
|
143
|
+
.rv-editor-list__group-label {
|
|
144
|
+
font-weight: var(--rv-editor-list-font-weight, inherit);
|
|
145
|
+
padding: 8px 8px 4px;
|
|
146
|
+
font-size: 11px;
|
|
147
|
+
color: var(--rv-ui-text-muted);
|
|
148
|
+
}
|
package/favicon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0 0H14.0974L14.9087 0.0524998C15.7049 0.107143 16.4527 0.171429 17.1232 0.274286C18.361 0.48 19.5301 0.891428 20.5616 1.50857C21.6619 2.12571 22.4871 2.94857 23.106 3.97714C23.5186 4.66286 23.7937 5.41714 23.9312 6.30857L23.9656 6.89143C23.9828 7.23429 24 7.68 24 8.09143L23.9954 8.47337C23.98 9.13368 23.9312 9.66857 23.9312 9.66857C23.7937 10.9029 23.3811 12 22.5559 12.96C21.3868 14.3314 17.8797 15.4286 17.6734 15.4286L18.4269 16.485C20.6392 19.565 22.4159 21.8415 23.7568 23.3145C24.0688 23.6571 24.0688 24 23.5186 24H15.4728L5.70774 10.4914H15.8854C17.2607 10.4914 18.361 9.39429 18.361 7.95429C18.361 6.51429 17.192 5.41714 15.8854 5.41714H2.06304L0 2.67429V1.34057L14.4413 0.685714H0V0Z" fill="url(#paint0_linear_7_11)"/>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_7_11" x1="0.201583" y1="-0.0384081" x2="21.0672" y2="28.776" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#04CC3C"/>
|
|
6
|
+
<stop offset="1" stop-color="#0062BC"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
package/field-configurator.d.ts
CHANGED
|
@@ -8,8 +8,9 @@ export declare function FieldSummary({ children, className, ...attributes }: Omi
|
|
|
8
8
|
children: ComponentChildren;
|
|
9
9
|
className?: string;
|
|
10
10
|
}): h.JSX.Element;
|
|
11
|
-
export declare function FieldLibrary({ title, count, children, className, }: {
|
|
11
|
+
export declare function FieldLibrary({ title, id, count, children, className, }: {
|
|
12
12
|
title: string;
|
|
13
|
+
id?: string;
|
|
13
14
|
count?: ComponentChildren;
|
|
14
15
|
children: ComponentChildren;
|
|
15
16
|
className?: string;
|
|
@@ -74,13 +75,21 @@ export declare function FieldDropIndicator({ position, index, className, }: {
|
|
|
74
75
|
className?: string;
|
|
75
76
|
}): h.JSX.Element;
|
|
76
77
|
export interface CollapsibleSectionProps {
|
|
78
|
+
/** Heading displayed in the keyboard-accessible expand/collapse trigger. */
|
|
77
79
|
title: ComponentChildren;
|
|
80
|
+
/** Supporting text displayed above the expanded content. */
|
|
78
81
|
description?: ComponentChildren;
|
|
82
|
+
/** Expand initially. Later toggles are owned by the native disclosure. */
|
|
79
83
|
defaultOpen?: boolean;
|
|
84
|
+
/** Section content; stays mounted when collapsed to preserve drafts. */
|
|
80
85
|
children: ComponentChildren;
|
|
86
|
+
/** Additional CSS classes on the outer disclosure. */
|
|
81
87
|
className?: string;
|
|
88
|
+
/** Additional CSS classes on the summary trigger. */
|
|
82
89
|
summaryClassName?: string;
|
|
90
|
+
/** Additional CSS classes on the content container. */
|
|
83
91
|
contentClassName?: string;
|
|
92
|
+
/** Additional CSS classes on the supporting description. */
|
|
84
93
|
descriptionClassName?: string;
|
|
85
94
|
/** Host policies can wrap the native details without owning its presentation. */
|
|
86
95
|
renderRoot?: (props: JSX.IntrinsicElements['details']) => ComponentChildren;
|
|
@@ -93,16 +102,26 @@ export interface ConfiguratorCompactItem {
|
|
|
93
102
|
icon?: string;
|
|
94
103
|
count?: number;
|
|
95
104
|
disabled?: boolean;
|
|
105
|
+
/** Optional section to focus after opening. */
|
|
106
|
+
targetId?: string;
|
|
96
107
|
/** Activate the corresponding product tab when reopening. */
|
|
97
108
|
onOpen?: () => void;
|
|
98
109
|
}
|
|
110
|
+
export interface ConfiguratorMiniModeConfig {
|
|
111
|
+
/** Starts the configurator as a narrow rail. Users can expand and collapse it. */
|
|
112
|
+
miniMode?: boolean;
|
|
113
|
+
/** Enables width resizing. Shrinking below 200px collapses to the rail. */
|
|
114
|
+
resizable?: boolean;
|
|
115
|
+
}
|
|
99
116
|
/** Shared panel shell. Collapsing preserves mounted controls and their drafts. */
|
|
100
|
-
export declare function ConfiguratorPanel({ panelRef, standalone, children, compactItems, compact, onExpand, ...props }: Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'> & {
|
|
117
|
+
export declare function ConfiguratorPanel({ panelRef, standalone, children, compactItems, compact: compactProp, onExpand, miniMode, resizable, resizeParent, ...props }: Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'> & ConfiguratorMiniModeConfig & {
|
|
101
118
|
panelRef?: import('./_vendor/preact/src/index').Ref<HTMLDivElement>;
|
|
102
119
|
standalone?: boolean;
|
|
103
120
|
compactItems?: readonly ConfiguratorCompactItem[];
|
|
104
121
|
/** Presentation state is owned by the host; the panel adds no toggle button. */
|
|
105
122
|
compact?: boolean;
|
|
106
123
|
onExpand?: () => void;
|
|
124
|
+
/** Apply the resized width to the product-owned parent as well. */
|
|
125
|
+
resizeParent?: boolean;
|
|
107
126
|
}): h.JSX.Element;
|
|
108
|
-
export { createFieldExpansion, fieldExpansionIds, recordFieldExpansion, type FieldExpansionState } from './field-expansion';
|
|
127
|
+
export { createFieldExpansion, fieldExpansionIds, recordFieldExpansion, type FieldExpansionState, } from './field-expansion';
|
package/field-configurator.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, x as y, y as b } from "./_chunks/field-configurator-
|
|
1
|
+
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, x as y, y as b } from "./_chunks/field-configurator-DPulsY3l.js";
|
|
2
2
|
import { fieldDropIndex as x, reorderFields as S } from "./field-reorder.js";
|
|
3
3
|
import { useFieldDropTarget as C, useFieldReorder as w } from "./field-reorder.hook.js";
|
|
4
4
|
export { g as CollapsibleSection, d as ConfiguratorPanel, m as FieldActions, c as FieldContent, t as FieldDropIndicator, f as FieldGroup, h as FieldGroupHeading, r as FieldIcon, l as FieldItem, _ as FieldLibrary, i as FieldLibraryList, a as FieldList, p as FieldRemoveButton, u as FieldRemoveIcon, s as FieldRow, o as FieldStatusBadge, e as FieldSummary, v as SelectedField, b as createFieldExpansion, x as fieldDropIndex, n as fieldExpansionIds, y as recordFieldExpansion, S as reorderFields, C as useFieldDropTarget, w as useFieldReorder };
|
package/field-reorder.hook.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, r as t, t as n } from "./_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { fieldDropIndex as r, fieldListDropIndex as i, reorderFields as a } from "./field-reorder.js";
|
|
3
|
-
//#region
|
|
3
|
+
//#region package/field-reorder.hook.ts
|
|
4
4
|
function o(a, o) {
|
|
5
5
|
let s = n({
|
|
6
6
|
count: a,
|
package/field-reorder.js
CHANGED
|
@@ -1,45 +1,64 @@
|
|
|
1
1
|
/** One scalar thumb/track presentation for native, Stencil and Preact consumers. */
|
|
2
2
|
@mixin presentation {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
appearance: none;
|
|
4
|
+
position: static;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: var(--slider-thumb-size, 20px);
|
|
7
|
+
margin: 0;
|
|
8
|
+
border: 0;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
background: linear-gradient(
|
|
11
11
|
to right,
|
|
12
|
-
var(--range-color, var(--rv-ui-accent)) 0
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
var(--range-color, var(--rv-ui-accent)) 0
|
|
13
|
+
var(--rv-single-slider-value, 0%),
|
|
14
|
+
var(--slider-color, var(--rv-ui-border)) var(--rv-single-slider-value, 0%)
|
|
15
|
+
100%
|
|
16
|
+
)
|
|
17
|
+
center / 100% var(--slider-track-height, 4px) no-repeat;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
pointer-events: auto;
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
border-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
&::-webkit-slider-thumb {
|
|
22
|
+
appearance: none;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
width: var(--slider-thumb-size, 20px);
|
|
25
|
+
height: var(--slider-thumb-size, 20px);
|
|
26
|
+
border: 3px solid
|
|
27
|
+
var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
background: var(
|
|
30
|
+
--slider-thumb-bg,
|
|
31
|
+
var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface))
|
|
32
|
+
);
|
|
33
|
+
box-shadow: 0 1px 3px var(--rv-ui-shadow);
|
|
34
|
+
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
35
|
+
var(--rv-ui-motion-ease, ease);
|
|
36
|
+
pointer-events: all;
|
|
37
|
+
}
|
|
30
38
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
border-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
&::-moz-range-thumb {
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
width: var(--slider-thumb-size, 20px);
|
|
42
|
+
height: var(--slider-thumb-size, 20px);
|
|
43
|
+
border: 3px solid
|
|
44
|
+
var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
background: var(
|
|
47
|
+
--slider-thumb-bg,
|
|
48
|
+
var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface))
|
|
49
|
+
);
|
|
50
|
+
box-shadow: 0 1px 3px var(--rv-ui-shadow);
|
|
51
|
+
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
52
|
+
var(--rv-ui-motion-ease, ease);
|
|
53
|
+
pointer-events: all;
|
|
54
|
+
}
|
|
42
55
|
|
|
43
|
-
&:disabled {
|
|
44
|
-
|
|
56
|
+
&:disabled {
|
|
57
|
+
opacity: 0.55;
|
|
58
|
+
cursor: not-allowed;
|
|
59
|
+
}
|
|
60
|
+
&:focus-visible {
|
|
61
|
+
outline: 2px solid var(--range-color, var(--rv-ui-accent));
|
|
62
|
+
outline-offset: 2px;
|
|
63
|
+
}
|
|
45
64
|
}
|
|
@@ -55,7 +55,11 @@
|
|
|
55
55
|
top: 0;
|
|
56
56
|
margin: 0;
|
|
57
57
|
border-radius: 999px;
|
|
58
|
-
background: linear-gradient(
|
|
58
|
+
background: linear-gradient(
|
|
59
|
+
var(--slider-color, var(--rv-ui-border)),
|
|
60
|
+
var(--slider-color, var(--rv-ui-border))
|
|
61
|
+
)
|
|
62
|
+
center / 100% 4px no-repeat;
|
|
59
63
|
pointer-events: none;
|
|
60
64
|
|
|
61
65
|
&:focus-visible {
|
|
@@ -68,41 +72,59 @@
|
|
|
68
72
|
z-index: 1;
|
|
69
73
|
}
|
|
70
74
|
|
|
71
|
-
$size: 24px;
|
|
72
|
-
|
|
73
75
|
&::-webkit-slider-thumb {
|
|
74
76
|
-webkit-appearance: none;
|
|
75
77
|
pointer-events: all;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
width: var(--slider-thumb-size, 20px);
|
|
80
|
+
height: var(--slider-thumb-size, 20px);
|
|
81
|
+
background-color: var(
|
|
82
|
+
--revo-grid-filter-control-thumb-bg,
|
|
83
|
+
var(--rv-ui-surface)
|
|
84
|
+
);
|
|
85
|
+
border: var(--slider-thumb-border-width, 3px) solid
|
|
86
|
+
var(--range-color, var(--rv-ui-accent));
|
|
80
87
|
border-radius: 50%;
|
|
81
88
|
box-shadow: 0 1px 3px var(--rv-ui-shadow);
|
|
82
|
-
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
89
|
+
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
90
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
83
91
|
cursor: pointer;
|
|
84
92
|
|
|
85
93
|
&:hover {
|
|
86
|
-
background: var(
|
|
94
|
+
background: var(
|
|
95
|
+
--revo-grid-filter-control-thumb-bg,
|
|
96
|
+
var(--rv-ui-surface)
|
|
97
|
+
);
|
|
87
98
|
}
|
|
88
99
|
|
|
89
100
|
&:active {
|
|
90
101
|
box-shadow:
|
|
91
102
|
0 1px 3px var(--rv-ui-shadow),
|
|
92
|
-
0 0 0 4px
|
|
103
|
+
0 0 0 4px
|
|
104
|
+
color-mix(
|
|
105
|
+
in srgb,
|
|
106
|
+
var(--range-color, var(--rv-ui-accent)) 18%,
|
|
107
|
+
transparent
|
|
108
|
+
);
|
|
93
109
|
}
|
|
94
110
|
}
|
|
95
111
|
|
|
96
112
|
&::-moz-range-thumb {
|
|
97
113
|
-webkit-appearance: none;
|
|
98
114
|
pointer-events: all;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
width: var(--slider-thumb-size, 20px);
|
|
117
|
+
height: var(--slider-thumb-size, 20px);
|
|
118
|
+
background-color: var(
|
|
119
|
+
--revo-grid-filter-control-thumb-bg,
|
|
120
|
+
var(--rv-ui-surface)
|
|
121
|
+
);
|
|
122
|
+
border: var(--slider-thumb-border-width, 3px) solid
|
|
123
|
+
var(--range-color, var(--rv-ui-accent));
|
|
103
124
|
border-radius: 50%;
|
|
104
125
|
box-shadow: 0 1px 3px var(--rv-ui-shadow);
|
|
105
|
-
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
126
|
+
transition: box-shadow var(--rv-ui-motion-fast, 120ms)
|
|
127
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
106
128
|
cursor: pointer;
|
|
107
129
|
}
|
|
108
130
|
}
|
|
@@ -112,4 +134,7 @@
|
|
|
112
134
|
}
|
|
113
135
|
}
|
|
114
136
|
|
|
115
|
-
.rv-single-slider:disabled {
|
|
137
|
+
.rv-single-slider:disabled {
|
|
138
|
+
opacity: 0.55;
|
|
139
|
+
cursor: not-allowed;
|
|
140
|
+
}
|
|
@@ -2,7 +2,7 @@ import { formatSliderInputValue as e, formatSliderValue as t, normalizeSliderSta
|
|
|
2
2
|
import { syncVisuals as o } from "./runtime.js";
|
|
3
3
|
import { renderSliderControl as s } from "./control.js";
|
|
4
4
|
import { renderRangeInputs as c } from "./inputs.js";
|
|
5
|
-
//#region
|
|
5
|
+
//#region package/filter/filters/slider/component.ts
|
|
6
6
|
function l(e, t) {
|
|
7
7
|
let { fromValueInt: n, toValueInt: r } = t.state, { scaleFactor: i } = t;
|
|
8
8
|
return e("div", { className: "range-values" }, e("span", { ref: (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { normalizeFromSlider as e, normalizeToSlider as t } from "./logic.js";
|
|
2
2
|
import { emitRangeChange as n, emitRangeCommit as r, hideTooltip as i, setToggleAccessible as a, updateTooltip as o } from "./runtime.js";
|
|
3
|
-
//#region
|
|
3
|
+
//#region package/filter/filters/slider/control.ts
|
|
4
4
|
var s = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function c(e, t) {
|
|
6
6
|
let n = s.get(e);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { renderControl as e } from "../../../control-presentation.js";
|
|
2
2
|
import { normalizeFromInputValue as t, normalizeToInputValue as n, unscaleSliderValue as r } from "./logic.js";
|
|
3
3
|
import { emitRangeChange as i, preventInvalidNumberKey as a } from "./runtime.js";
|
|
4
|
-
//#region
|
|
4
|
+
//#region package/filter/filters/slider/inputs.ts
|
|
5
5
|
function o(o, s) {
|
|
6
6
|
let { fromValueInt: c, toValueInt: l } = s.state, u = {
|
|
7
7
|
type: "text",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as e } from "../../../_chunks/preact.module-BBM36DnO.js";
|
|
2
2
|
import { renderRangeSlider as t } from "./component.js";
|
|
3
|
-
//#region
|
|
3
|
+
//#region package/filter/filters/slider/preact.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return t(e, n);
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as e, r as t, t as n } from "../../../_chunks/top-layer-popup-
|
|
2
|
-
import { n as r, t as i } from "../../../_chunks/tooltip-owner-
|
|
1
|
+
import { c as e, r as t, t as n } from "../../../_chunks/top-layer-popup-CKJ7VJOF.js";
|
|
2
|
+
import { n as r, t as i } from "../../../_chunks/tooltip-owner-BYho-vJl.js";
|
|
3
3
|
import { createControlId as a } from "../../../core/control-id.js";
|
|
4
4
|
import { toSliderRange as o, unscaleSliderValue as s } from "./logic.js";
|
|
5
|
-
//#region
|
|
5
|
+
//#region package/filter/filters/slider/runtime.ts
|
|
6
6
|
function c(e) {
|
|
7
7
|
return o(Number(e.refs.fromSlider?.value ?? e.state.fromValueInt), Number(e.refs.toSlider?.value ?? e.state.toValueInt), e.scaleFactor);
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
-
import { n as t } from "../../../_chunks/native-control-
|
|
3
|
-
//#region
|
|
2
|
+
import { n as t } from "../../../_chunks/native-control-um1L1wgZ.js";
|
|
3
|
+
//#region package/filter/filters/slider/single.tsx
|
|
4
4
|
function n({ min: n, max: r, value: i, step: a = 1, disabled: o = !1, id: s, className: c = "", ariaLabel: l, ariaValueText: u, ariaDescribedBy: d, onChange: f, onCommit: p, onKeyDown: m }) {
|
|
5
5
|
let h = r - n, g = h > 0 ? Math.max(0, Math.min(100, (i - n) / h * 100)) : 0;
|
|
6
6
|
return /* @__PURE__ */ e(t, {
|
package/filter-badge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./_chunks/preact.module-BBM36DnO.js";
|
|
2
2
|
import { a as t } from "./_chunks/hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as n } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
-
import { n as r, t as i } from "./_chunks/choice-chips-
|
|
5
|
-
//#region
|
|
4
|
+
import { n as r, t as i } from "./_chunks/choice-chips-C5OxD0GV.js";
|
|
5
|
+
//#region package/filter-badge.tsx
|
|
6
6
|
function a(e) {
|
|
7
7
|
return /* @__PURE__ */ n(r, {
|
|
8
8
|
...e,
|
package/filter-controls.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare function OptionButton({ label, detail, selected, className, detai
|
|
|
7
7
|
className?: string;
|
|
8
8
|
detailClassName?: string;
|
|
9
9
|
}): h.JSX.Element;
|
|
10
|
-
export { Legend, type LegendItem } from './legend';
|
|
11
10
|
/** Caller supplies highlighting; UI owns overlay geometry and scroll synchronization. */
|
|
12
11
|
export declare function HighlightedTextInput({ highlight, className, inputClassName, highlightClassName, ...props }: Omit<JSX.IntrinsicElements['textarea'], 'className'> & {
|
|
13
12
|
highlight: ComponentChildren;
|
package/filter-controls.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import { a as n, t as r } from "./_chunks/native-control-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function a({ label: e, detail: n, selected: i, className: a = "", detailClassName: o = "", ...s }) {
|
|
3
|
+
import { a as n, t as r } from "./_chunks/native-control-um1L1wgZ.js";
|
|
4
|
+
//#region package/filter-controls.tsx
|
|
5
|
+
function i({ label: e, detail: n, selected: i, className: a = "", detailClassName: o = "", ...s }) {
|
|
7
6
|
return /* @__PURE__ */ t(r, {
|
|
8
7
|
...s,
|
|
9
8
|
class: `rv-option-button ${a}`,
|
|
@@ -14,7 +13,7 @@ function a({ label: e, detail: n, selected: i, className: a = "", detailClassNam
|
|
|
14
13
|
})]
|
|
15
14
|
});
|
|
16
15
|
}
|
|
17
|
-
function
|
|
16
|
+
function a({ highlight: r, className: i = "", inputClassName: a = "", highlightClassName: o = "", ...s }) {
|
|
18
17
|
let c = e(null);
|
|
19
18
|
return /* @__PURE__ */ t("div", {
|
|
20
19
|
class: `rv-highlighted-input ${i}`,
|
|
@@ -34,7 +33,7 @@ function o({ highlight: r, className: i = "", inputClassName: a = "", highlightC
|
|
|
34
33
|
})]
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
|
-
function
|
|
36
|
+
function o({ children: e, className: n = "", label: r }) {
|
|
38
37
|
return /* @__PURE__ */ t("div", {
|
|
39
38
|
role: "group",
|
|
40
39
|
"aria-label": r,
|
|
@@ -43,4 +42,4 @@ function s({ children: e, className: n = "", label: r }) {
|
|
|
43
42
|
});
|
|
44
43
|
}
|
|
45
44
|
//#endregion
|
|
46
|
-
export {
|
|
45
|
+
export { a as HighlightedTextInput, o as InlineFieldGroup, i as OptionButton };
|
package/form-controls/index.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export interface FormFieldOptions {
|
|
2
|
+
readonly label: string;
|
|
3
|
+
readonly control: HTMLElement;
|
|
4
|
+
readonly hint?: string;
|
|
5
|
+
readonly className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function createFormField(document: Document, options: FormFieldOptions): HTMLLabelElement;
|
|
8
|
+
export declare function createTextControl(document: Document, placeholder: string): HTMLInputElement;
|
|
9
|
+
/** DOM counterpart of Dropdown; callers own its lifetime. */
|
|
10
|
+
export { createDropdownControl } from '../dropdown/control';
|
package/form-controls/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
2
|
import { createPreactElement as t } from "../preact-mount.js";
|
|
3
|
-
import { n } from "../_chunks/native-control-
|
|
4
|
-
import { t as r } from "../_chunks/control-
|
|
5
|
-
//#region
|
|
3
|
+
import { n } from "../_chunks/native-control-um1L1wgZ.js";
|
|
4
|
+
import { t as r } from "../_chunks/control-BRfF5DWQ.js";
|
|
5
|
+
//#region package/form-controls/index.tsx
|
|
6
6
|
function i(n, r) {
|
|
7
7
|
return t(n, /* @__PURE__ */ e("label", {
|
|
8
8
|
class: ["rv-field", r.className].filter(Boolean).join(" "),
|
|
@@ -8,7 +8,7 @@ export type FilterChipProps = {
|
|
|
8
8
|
readonly role?: 'listitem';
|
|
9
9
|
};
|
|
10
10
|
/** Removable chip shell; consumers retain filter policy and label/detail slots. */
|
|
11
|
-
export declare function FilterChip({ children, removeLabel, onRemove, className, removeClassName, role }: FilterChipProps): h.JSX.Element;
|
|
11
|
+
export declare function FilterChip({ children, removeLabel, onRemove, className, removeClassName, role, }: FilterChipProps): h.JSX.Element;
|
|
12
12
|
export interface FormFieldContentOptions {
|
|
13
13
|
readonly label: ComponentChildren;
|
|
14
14
|
readonly children: ComponentChildren;
|
|
@@ -2,9 +2,9 @@ import { i as e, o as t, u as n } from "../_chunks/preact.module-BBM36DnO.js";
|
|
|
2
2
|
import { i as r, s as i } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
4
4
|
import { createControlId as o } from "../core/control-id.js";
|
|
5
|
-
import { t as s } from "../_chunks/field-context-
|
|
5
|
+
import { t as s } from "../_chunks/field-context-C4_WrO2z.js";
|
|
6
6
|
import { nativeControlTag as c } from "../control-presentation.js";
|
|
7
|
-
//#region
|
|
7
|
+
//#region package/form-controls/presentation.tsx
|
|
8
8
|
function l({ children: e, removeLabel: t, onRemove: n, className: r = "", removeClassName: i = "", role: o }) {
|
|
9
9
|
return /* @__PURE__ */ a("span", {
|
|
10
10
|
class: `rv-btn-pill ${r}`.trim(),
|
package/formatting/index.d.ts
CHANGED