@ixfx/components 0.14.7 → 0.15.1
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/bundle/index.d.ts +102 -3
- package/bundle/index.js +574 -247
- package/bundle/style.css +2 -82
- package/dist/{button-BYuf72aR.d.ts → button-N92DKoWb.d.ts} +7 -0
- package/dist/{button-B7mgqtxR.js → button-ikByJJPN.js} +29 -8
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/{colour-picker-BCMU7W7R.js → colour-picker-DwAa6RDh.js} +73 -9
- package/dist/colour-picker.d.ts +1 -1
- package/dist/colour-picker.js +1 -1
- package/dist/form-BGZK3jZd.d.ts +54 -0
- package/dist/form-CY0nibZ5.js +418 -0
- package/dist/form.d.ts +1 -13
- package/dist/form.js +1 -1
- package/dist/{index-tq6f8007.d.ts → index-DN2BWctP.d.ts} +3 -0
- package/dist/index.d.ts +54 -6
- package/dist/index.js +138 -8
- package/dist/style.css +2 -82
- package/dist/{tab-list-CexFFg6O.d.ts → tab-list-Df371rqw.d.ts} +1 -0
- package/dist/tab-list-R_bGbDvO.js +766 -0
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +1 -673
- package/docs-user/button.md +1 -0
- package/docs-user/colour-picker.md +19 -0
- package/docs-user/form.md +97 -4
- package/docs-user/index.json +2 -2
- package/docs-user/multicol-list.md +1 -1
- package/docs-user/tabs.md +30 -0
- package/package.json +2 -1
- package/dist/form-CsXJX15p.js +0 -62
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { TitlebarElement } from "./titlebar.js";
|
|
|
15
15
|
import { i as ICON_CLOSE, n as ICON_CHECK, r as ICON_CHEVRON_DOWN, t as ICON_CARET_RIGHT } from "./defaults-B4ePs4LB.js";
|
|
16
16
|
import "./icons.js";
|
|
17
17
|
import { t as prominenceStyles } from "./prominence-DlFShic3.js";
|
|
18
|
-
import { n as buttonStyles, t as ButtonElement } from "./button-
|
|
18
|
+
import { n as buttonStyles, t as ButtonElement } from "./button-ikByJJPN.js";
|
|
19
19
|
import { a as toGroupKey, i as resolveGroupKey, n as defaultGroupLabel, o as toggleInSet, r as partitionByGroup, t as EMPTY_GROUP_LABEL } from "./grouping-RYPnHkrS.js";
|
|
20
20
|
import { a as listItemFadeKeyframes, c as captionForEntry, i as animateListItemOut, l as createDefaultListDragPreview, n as LIST_ITEM_MOTION_MS, o as prefersReducedMotion, r as animateListItemIn, s as startListItemOutAnimation, t as ListNativeDragController } from "./list-native-drag-controller-CcXoS0YX.js";
|
|
21
21
|
import { n as isMultiMode, r as ListDragSelectController, t as ListSelectionController } from "./list-selection-controller-BeE70lbB.js";
|
|
@@ -23,7 +23,7 @@ import "./interaction-E-uMGHkJ.js";
|
|
|
23
23
|
import "./menu-item-BUv8An2k.js";
|
|
24
24
|
import { Checkbox } from "./checkbox.js";
|
|
25
25
|
import { t as CheckedSelect } from "./checked-select-CBUidG7n.js";
|
|
26
|
-
import { n as ColourPicker, t as ColourPickerPopup } from "./colour-picker-
|
|
26
|
+
import { n as ColourPicker, t as ColourPickerPopup } from "./colour-picker-DwAa6RDh.js";
|
|
27
27
|
import { LabelledRangeInput } from "./labelled-range-input.js";
|
|
28
28
|
import { t as collectDataResult } from "./data-provider-35TyWclX.js";
|
|
29
29
|
import { a as TreeDataModel, c as pruneDraggedDescendants, i as TreeDropController, n as TreeListElement, o as applyTreeDrop, r as TreeBaseElement, s as dropTargetFor, t as TreeController } from "./tree-2_TRrLAV.js";
|
|
@@ -38,14 +38,14 @@ import { t as PanTextElement } from "./pan-text-CqtvjPyK.js";
|
|
|
38
38
|
import { t as DetailListElement } from "./detail-list-q8bs67BM.js";
|
|
39
39
|
import { ListGroupHeaderElement } from "./list-group-header.js";
|
|
40
40
|
import { a as distribute, c as preserveRestoreWeights, d as toSnapshot, f as walk, i as buildModel, l as resolveTracks, n as SplitPanelElement, o as findPanelNode, r as applySnapshot, s as normalise, t as SplitLayoutElement, u as setPanelRestoreWeight } from "./split-layout-Deoxy47d.js";
|
|
41
|
-
import { TabListElement } from "./
|
|
41
|
+
import { t as TabListElement } from "./tab-list-R_bGbDvO.js";
|
|
42
42
|
import { EditableLabel } from "./editable-label.js";
|
|
43
43
|
import { t as resolveAxisStep } from "./keyboard-B5xD7Fz-.js";
|
|
44
44
|
import { t as WheelNudgeMixin } from "./wheel-nudge-D5rmht3v.js";
|
|
45
45
|
import { n as EditableNumber, t as LabelledSliderInput } from "./labelled-slider-input-FdCRi6st.js";
|
|
46
46
|
import { VerticalListElement } from "./vertical-list.js";
|
|
47
47
|
import { FlatListElement } from "./flat-list.js";
|
|
48
|
-
import { t as FormElement } from "./form-
|
|
48
|
+
import { n as formStyles, r as adoptLightDomStyles, t as FormElement } from "./form-CY0nibZ5.js";
|
|
49
49
|
import { t as GridListElement } from "./grid-list-y6dWJYu3.js";
|
|
50
50
|
import { PanelElement } from "./panel.js";
|
|
51
51
|
import { GroupedItemListerElement } from "./grouped-item-lister.js";
|
|
@@ -3652,6 +3652,7 @@ let TabListItemElement = class TabListItemElement extends LitElement {
|
|
|
3652
3652
|
--selected-background: var(--ixfx-tab-selected-background, var(--surface-5));
|
|
3653
3653
|
--tab-padding: var(--ixfx-tab-padding, var(--space-s));
|
|
3654
3654
|
display: inline-flex;
|
|
3655
|
+
position: relative;
|
|
3655
3656
|
min-width: 0;
|
|
3656
3657
|
user-select: none;
|
|
3657
3658
|
box-sizing: border-box;
|
|
@@ -3703,6 +3704,47 @@ let TabListItemElement = class TabListItemElement extends LitElement {
|
|
|
3703
3704
|
text-decoration-offset: var(--selected-tab-text-decoration-offset);
|
|
3704
3705
|
}
|
|
3705
3706
|
|
|
3707
|
+
/* Sliding underline, drawn as the host's ::after so it can take part in
|
|
3708
|
+
a view transition: names set inside a shadow root are ignored, so the
|
|
3709
|
+
view-transition-name comes from a document-level stylesheet
|
|
3710
|
+
(see indicator-transition.ts) targeting this same pseudo-element.
|
|
3711
|
+
Zero thickness (the default) means off. The list sets indicator-edge
|
|
3712
|
+
from orientation/flip and a unique --ixfx-tab-indicator-name. */
|
|
3713
|
+
:host([selected])::after {
|
|
3714
|
+
content: "";
|
|
3715
|
+
position: absolute;
|
|
3716
|
+
pointer-events: none;
|
|
3717
|
+
left: var(--ixfx-tab-indicator-inset, 0px);
|
|
3718
|
+
right: var(--ixfx-tab-indicator-inset, 0px);
|
|
3719
|
+
bottom: var(--ixfx-tab-indicator-offset, 0px);
|
|
3720
|
+
height: var(--ixfx-tab-indicator-thickness, 0px);
|
|
3721
|
+
background: var(--ixfx-tab-indicator-colour, var(--accent));
|
|
3722
|
+
border-radius: var(--ixfx-tab-indicator-radius, 0px);
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
:host([selected][indicator-edge="top"])::after {
|
|
3726
|
+
top: var(--ixfx-tab-indicator-offset, 0px);
|
|
3727
|
+
bottom: auto;
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
:host([selected][indicator-edge="left"])::after,
|
|
3731
|
+
:host([selected][indicator-edge="right"])::after {
|
|
3732
|
+
top: var(--ixfx-tab-indicator-inset, 0px);
|
|
3733
|
+
bottom: var(--ixfx-tab-indicator-inset, 0px);
|
|
3734
|
+
left: auto;
|
|
3735
|
+
right: auto;
|
|
3736
|
+
height: auto;
|
|
3737
|
+
width: var(--ixfx-tab-indicator-thickness, 0px);
|
|
3738
|
+
}
|
|
3739
|
+
|
|
3740
|
+
:host([selected][indicator-edge="left"])::after {
|
|
3741
|
+
left: var(--ixfx-tab-indicator-offset, 0px);
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
:host([selected][indicator-edge="right"])::after {
|
|
3745
|
+
right: var(--ixfx-tab-indicator-offset, 0px);
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3706
3748
|
.label {
|
|
3707
3749
|
overflow: var(--allow-overflow, hidden);
|
|
3708
3750
|
text-overflow: ellipsis;
|
|
@@ -5534,19 +5576,34 @@ let FormGroupElement = class FormGroupElement extends LitElement {
|
|
|
5534
5576
|
}
|
|
5535
5577
|
connectedCallback() {
|
|
5536
5578
|
super.connectedCallback();
|
|
5537
|
-
this
|
|
5579
|
+
adoptLightDomStyles(this, formStyles);
|
|
5580
|
+
this._observer = new MutationObserver(() => this._sync());
|
|
5538
5581
|
}
|
|
5539
5582
|
firstUpdated() {
|
|
5540
5583
|
this._fieldset = this.querySelector(`fieldset`) ?? void 0;
|
|
5541
5584
|
if (this._fieldset) {
|
|
5542
|
-
this._observer?.observe(this, {
|
|
5543
|
-
|
|
5585
|
+
this._observer?.observe(this, {
|
|
5586
|
+
childList: true,
|
|
5587
|
+
subtree: true
|
|
5588
|
+
});
|
|
5589
|
+
this._sync();
|
|
5544
5590
|
}
|
|
5545
5591
|
}
|
|
5546
5592
|
disconnectedCallback() {
|
|
5547
5593
|
super.disconnectedCallback();
|
|
5548
5594
|
this._observer?.disconnect();
|
|
5549
5595
|
}
|
|
5596
|
+
_sync() {
|
|
5597
|
+
this._moveChildren();
|
|
5598
|
+
this._updatePairs();
|
|
5599
|
+
}
|
|
5600
|
+
/** Sets the number of label/input pairs in the widest shared row, used for the wide grid columns. */
|
|
5601
|
+
_updatePairs() {
|
|
5602
|
+
if (!this._fieldset) return;
|
|
5603
|
+
const counts = Array.from(this._fieldset.querySelectorAll(`:scope > ixfx-form-row`)).map((row) => row.querySelectorAll(`:scope > ixfx-form-part`).length);
|
|
5604
|
+
const pairs = Math.max(1, ...counts);
|
|
5605
|
+
this._fieldset.style.setProperty(`--ixfx-form-pairs`, String(pairs));
|
|
5606
|
+
}
|
|
5550
5607
|
_moveChildren() {
|
|
5551
5608
|
if (!this._fieldset) return;
|
|
5552
5609
|
Array.from(this.children).filter((el) => el.tagName !== `FIELDSET`).forEach((el) => {
|
|
@@ -5558,8 +5615,56 @@ let FormGroupElement = class FormGroupElement extends LitElement {
|
|
|
5558
5615
|
}
|
|
5559
5616
|
};
|
|
5560
5617
|
__decorate([property({ type: String })], FormGroupElement.prototype, "label", void 0);
|
|
5618
|
+
__decorate([property({
|
|
5619
|
+
type: String,
|
|
5620
|
+
attribute: `label-align`,
|
|
5621
|
+
reflect: true
|
|
5622
|
+
})], FormGroupElement.prototype, "labelAlign", void 0);
|
|
5561
5623
|
FormGroupElement = __decorate([safeCustomElement(`ixfx-form-group`)], FormGroupElement);
|
|
5562
5624
|
//#endregion
|
|
5625
|
+
//#region src/form/form-options.ts
|
|
5626
|
+
let idCounter$1 = 0;
|
|
5627
|
+
let FormOptionsElement = class FormOptionsElement extends LitElement {
|
|
5628
|
+
constructor(..._args) {
|
|
5629
|
+
super(..._args);
|
|
5630
|
+
this.label = ``;
|
|
5631
|
+
this.orientation = `horizontal`;
|
|
5632
|
+
this._labelId = `ixfx-form-options-${++idCounter$1}`;
|
|
5633
|
+
}
|
|
5634
|
+
createRenderRoot() {
|
|
5635
|
+
return this;
|
|
5636
|
+
}
|
|
5637
|
+
connectedCallback() {
|
|
5638
|
+
super.connectedCallback();
|
|
5639
|
+
adoptLightDomStyles(this, formStyles);
|
|
5640
|
+
this.setAttribute(`role`, `group`);
|
|
5641
|
+
this.setAttribute(`aria-labelledby`, this._labelId);
|
|
5642
|
+
this._observer = new MutationObserver(() => this._moveChildren());
|
|
5643
|
+
}
|
|
5644
|
+
firstUpdated() {
|
|
5645
|
+
this._observer?.observe(this, { childList: true });
|
|
5646
|
+
this._moveChildren();
|
|
5647
|
+
}
|
|
5648
|
+
disconnectedCallback() {
|
|
5649
|
+
super.disconnectedCallback();
|
|
5650
|
+
this._observer?.disconnect();
|
|
5651
|
+
}
|
|
5652
|
+
_moveChildren() {
|
|
5653
|
+
const items = this.querySelector(`:scope > .ixfx-form-options-items`);
|
|
5654
|
+
if (!items) return;
|
|
5655
|
+
Array.from(this.children).filter((el) => !el.classList.contains(`ixfx-form-options-items`) && !el.classList.contains(`ixfx-form-options-label`)).forEach((el) => items.appendChild(el));
|
|
5656
|
+
}
|
|
5657
|
+
render() {
|
|
5658
|
+
return html`<span class="ixfx-form-options-label" id=${this._labelId}>${this.label}</span><div class="ixfx-form-options-items"></div>`;
|
|
5659
|
+
}
|
|
5660
|
+
};
|
|
5661
|
+
__decorate([property({ type: String })], FormOptionsElement.prototype, "label", void 0);
|
|
5662
|
+
__decorate([property({
|
|
5663
|
+
type: String,
|
|
5664
|
+
reflect: true
|
|
5665
|
+
})], FormOptionsElement.prototype, "orientation", void 0);
|
|
5666
|
+
FormOptionsElement = __decorate([safeCustomElement(`ixfx-form-options`)], FormOptionsElement);
|
|
5667
|
+
//#endregion
|
|
5563
5668
|
//#region src/form/form-part.ts
|
|
5564
5669
|
let idCounter = 0;
|
|
5565
5670
|
let FormPartElement = class FormPartElement extends LitElement {
|
|
@@ -5572,6 +5677,7 @@ let FormPartElement = class FormPartElement extends LitElement {
|
|
|
5572
5677
|
}
|
|
5573
5678
|
connectedCallback() {
|
|
5574
5679
|
super.connectedCallback();
|
|
5680
|
+
adoptLightDomStyles(this, formStyles);
|
|
5575
5681
|
this._ensureId();
|
|
5576
5682
|
}
|
|
5577
5683
|
_ensureId() {
|
|
@@ -5590,6 +5696,30 @@ let FormPartElement = class FormPartElement extends LitElement {
|
|
|
5590
5696
|
__decorate([property({ type: String })], FormPartElement.prototype, "label", void 0);
|
|
5591
5697
|
FormPartElement = __decorate([safeCustomElement(`ixfx-form-part`)], FormPartElement);
|
|
5592
5698
|
//#endregion
|
|
5699
|
+
//#region src/form/form-row.ts
|
|
5700
|
+
let FormRowElement = class FormRowElement extends LitElement {
|
|
5701
|
+
createRenderRoot() {
|
|
5702
|
+
return this;
|
|
5703
|
+
}
|
|
5704
|
+
connectedCallback() {
|
|
5705
|
+
super.connectedCallback();
|
|
5706
|
+
adoptLightDomStyles(this, formStyles);
|
|
5707
|
+
this._observer = new MutationObserver(() => this._indexParts());
|
|
5708
|
+
this._observer.observe(this, { childList: true });
|
|
5709
|
+
this._indexParts();
|
|
5710
|
+
}
|
|
5711
|
+
disconnectedCallback() {
|
|
5712
|
+
super.disconnectedCallback();
|
|
5713
|
+
this._observer?.disconnect();
|
|
5714
|
+
}
|
|
5715
|
+
_indexParts() {
|
|
5716
|
+
Array.from(this.children).filter((el) => el.tagName === `IXFX-FORM-PART`).forEach((part, index) => {
|
|
5717
|
+
part.style.setProperty(`--ixfx-form-part-index`, String(index + 1));
|
|
5718
|
+
});
|
|
5719
|
+
}
|
|
5720
|
+
};
|
|
5721
|
+
FormRowElement = __decorate([safeCustomElement(`ixfx-form-row`)], FormRowElement);
|
|
5722
|
+
//#endregion
|
|
5593
5723
|
//#region src/grouped-item-lister/tree-list-adapter.ts
|
|
5594
5724
|
/**
|
|
5595
5725
|
* Creates an `HTMLElement` that implements `IGroupedSubComponent<T>` by wrapping
|
|
@@ -15916,4 +16046,4 @@ function init() {
|
|
|
15916
16046
|
console.log(`Init`);
|
|
15917
16047
|
}
|
|
15918
16048
|
//#endregion
|
|
15919
|
-
export { AcTextElement, AcTokenElement, BottomDrawerElement, ButtonElement, Checkbox, CheckedSelect, ColourPicker, ColourPickerPopup, CrumbNavigationElement, CrumbPathController, CrumbPathElement, DEFAULT_SIBLING_SPACING, DataController, DataDisplayComponent, DataGridElement, DataTableElement, DetailListElement, DockHostElement, DockPanelElement, EMPTY_GROUP_LABEL, EditableLabel, EditableNumber, FlatListElement, FormElement, FormGroupElement, FormPartElement, GridListElement, GroupedItemListerElement, HyperbolicTreeListElement, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IcicleTreeListElement, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LedElement, ListDragSelectController, ListGroupHeaderElement, ListNativeDragController, ListSearchController, ListSelectionController, menu_exports as Menu, MillerBaseElement, MillerListElement, MillerTreeController, MulticolListElement, NarrowedTextElement, NotificationManager, NotificationPillElement, PanTextElement, PanelElement, PanelGroupElement, PlotDataSeries, PlotHistogram, PlotMultiAxis, PlotSingleAxis, PlotXyAxis, PolarPad, RadialInputElement, RadioGroup, RangeElement, RangeInput, RangeMultiElement, RatingElement, SelectHorizElement, ShapefillValueElement, SliderInputElement, SlidingNumberElement, SnackbarElement, SnapContainer, SplitButton, SplitLayoutElement, SplitPanelElement, SwipeElement, TabController, TabListElement, TabListItemElement, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, TimelineController, TimelineTrackTabElement, TitlebarElement, ToolbarElement, ToolbarGroupElement, TooltipElement, TransitoryLabelElement, TreeBaseElement, TreeController, TreeDataModel, TreeDropController, TreeKeyboardNavController, TreeListElement, TreemapListElement, TwoSplitLayoutElement, VerticalListElement, XyPad, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applyIsometry, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clampToDisk, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, composeIsometry, computeCanonicalPositions, computeColour, computeHyperbolicLayout, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, decomposeViewIsometry, defaultGroupLabel, distribute, dropTargetFor, euclideanRadiusForHyperbolicDistance, extractStack, findHyperbolicIdOf, findHyperbolicKeyPath, findHyperbolicNode, findHyperbolicPath, findHyperbolicPathById, findIcicleNode, findIciclePath, findNode, findPanelNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, geodesicInterpolate, geodesicPath, geodesicSegment, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, hyperbolicBranchId, hyperbolicChildIds, hyperbolicDistanceForEuclideanRadius, hyperbolicIdDepth, hyperbolicRelativeFrame, iconBus, identityIsometry, init, insertBeside, invertIsometry, isDragging, isHyperbolicDescendantId, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, mobiusAdd, mobiusFromOrigin, mobiusToOrigin, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, norm, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, partitionByGroup, poincareDistance, pointerOverAnyHost, prefersReducedMotion, preserveRestoreWeights, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveGroupKey, resolveLeafPath, resolveTracks, rotationIsometry, serializeLayout, setActive, setIconFont, setPanelRestoreWeight, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toGroupKey, toSnapshot, toggleInSet, toolbarGapIndex, translationFromOrigin, viewIsometry, walk, wrapRoot };
|
|
16049
|
+
export { AcTextElement, AcTokenElement, BottomDrawerElement, ButtonElement, Checkbox, CheckedSelect, ColourPicker, ColourPickerPopup, CrumbNavigationElement, CrumbPathController, CrumbPathElement, DEFAULT_SIBLING_SPACING, DataController, DataDisplayComponent, DataGridElement, DataTableElement, DetailListElement, DockHostElement, DockPanelElement, EMPTY_GROUP_LABEL, EditableLabel, EditableNumber, FlatListElement, FormElement, FormGroupElement, FormOptionsElement, FormPartElement, FormRowElement, GridListElement, GroupedItemListerElement, HyperbolicTreeListElement, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IcicleTreeListElement, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LedElement, ListDragSelectController, ListGroupHeaderElement, ListNativeDragController, ListSearchController, ListSelectionController, menu_exports as Menu, MillerBaseElement, MillerListElement, MillerTreeController, MulticolListElement, NarrowedTextElement, NotificationManager, NotificationPillElement, PanTextElement, PanelElement, PanelGroupElement, PlotDataSeries, PlotHistogram, PlotMultiAxis, PlotSingleAxis, PlotXyAxis, PolarPad, RadialInputElement, RadioGroup, RangeElement, RangeInput, RangeMultiElement, RatingElement, SelectHorizElement, ShapefillValueElement, SliderInputElement, SlidingNumberElement, SnackbarElement, SnapContainer, SplitButton, SplitLayoutElement, SplitPanelElement, SwipeElement, TabController, TabListElement, TabListItemElement, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, TimelineController, TimelineTrackTabElement, TitlebarElement, ToolbarElement, ToolbarGroupElement, TooltipElement, TransitoryLabelElement, TreeBaseElement, TreeController, TreeDataModel, TreeDropController, TreeKeyboardNavController, TreeListElement, TreemapListElement, TwoSplitLayoutElement, VerticalListElement, XyPad, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applyIsometry, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clampToDisk, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, composeIsometry, computeCanonicalPositions, computeColour, computeHyperbolicLayout, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, decomposeViewIsometry, defaultGroupLabel, distribute, dropTargetFor, euclideanRadiusForHyperbolicDistance, extractStack, findHyperbolicIdOf, findHyperbolicKeyPath, findHyperbolicNode, findHyperbolicPath, findHyperbolicPathById, findIcicleNode, findIciclePath, findNode, findPanelNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, geodesicInterpolate, geodesicPath, geodesicSegment, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, hyperbolicBranchId, hyperbolicChildIds, hyperbolicDistanceForEuclideanRadius, hyperbolicIdDepth, hyperbolicRelativeFrame, iconBus, identityIsometry, init, insertBeside, invertIsometry, isDragging, isHyperbolicDescendantId, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, mobiusAdd, mobiusFromOrigin, mobiusToOrigin, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, norm, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, partitionByGroup, poincareDistance, pointerOverAnyHost, prefersReducedMotion, preserveRestoreWeights, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveGroupKey, resolveLeafPath, resolveTracks, rotationIsometry, serializeLayout, setActive, setIconFont, setPanelRestoreWeight, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toGroupKey, toSnapshot, toggleInSet, toolbarGapIndex, translationFromOrigin, viewIsometry, walk, wrapRoot };
|
package/dist/style.css
CHANGED
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
--radius-m: 4px;
|
|
44
44
|
--radius-l: 6px;
|
|
45
45
|
--radius-xl: 8px;
|
|
46
|
-
--shadow-m: light-dark(
|
|
47
|
-
--shadow-l:
|
|
46
|
+
--shadow-m: 0 3px 10px light-dark(#0000001a, #0000004d);
|
|
47
|
+
--shadow-l: 0 4px 20px light-dark(#00000026, #00000080);
|
|
48
48
|
--disabled-opacity: .5;
|
|
49
49
|
--transition: .15s ease-out;
|
|
50
50
|
--prominence-idle-opacity: light-dark(.55, .6);
|
|
@@ -96,83 +96,3 @@
|
|
|
96
96
|
ixfx-grouped-item-lister {
|
|
97
97
|
display: block;
|
|
98
98
|
}
|
|
99
|
-
ixfx-form {
|
|
100
|
-
display: block;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
ixfx-form-group {
|
|
104
|
-
display: block;
|
|
105
|
-
container-type: inline-size;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
ixfx-form-group fieldset {
|
|
109
|
-
gap: var(--space-m) var(--space-l);
|
|
110
|
-
margin: 0;
|
|
111
|
-
border: 0;
|
|
112
|
-
grid-template-columns: 1fr;
|
|
113
|
-
min-inline-size: 0;
|
|
114
|
-
margin-block-start: var(--space-m);
|
|
115
|
-
margin-block-end: var(--space-m);
|
|
116
|
-
padding: 0;
|
|
117
|
-
display: grid;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
ixfx-form-group fieldset > legend:empty {
|
|
121
|
-
display: none;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
ixfx-form-group fieldset > legend {
|
|
125
|
-
font-weight: var(--font-weight-bold);
|
|
126
|
-
grid-column: 1 / -1;
|
|
127
|
-
margin-block-start: var(--space-m);
|
|
128
|
-
margin-block-end: var(--space-s);
|
|
129
|
-
padding: 0;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
ixfx-form-group fieldset > :not(ixfx-form-part) {
|
|
133
|
-
grid-column: 1 / -1;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
ixfx-form-part {
|
|
137
|
-
grid-column: 1 / -1;
|
|
138
|
-
grid-template-columns: 1fr;
|
|
139
|
-
align-items: start;
|
|
140
|
-
display: grid;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
ixfx-form-part > label {
|
|
144
|
-
font-size: var(--ixfx-form-label-font-size, var(--text-s));
|
|
145
|
-
font-weight: var(--ixfx-form-label-font-weight, inherit);
|
|
146
|
-
font-family: var(--ixfx-form-label-font-family, inherit);
|
|
147
|
-
color: var(--ixfx-form-label-color, inherit);
|
|
148
|
-
text-transform: var(--ixfx-form-label-text-transform, uppercase);
|
|
149
|
-
padding-bottom: var(--space-xs);
|
|
150
|
-
grid-area: 1 / 1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
ixfx-form-part > input, ixfx-form-part > select, ixfx-form-part > textarea {
|
|
154
|
-
grid-area: 2 / 1;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@container (width >= 30rem) {
|
|
158
|
-
ixfx-form-group fieldset {
|
|
159
|
-
grid-template-columns: max-content 1fr;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
ixfx-form-part {
|
|
163
|
-
grid-column: 1 / -1;
|
|
164
|
-
grid-template-columns: subgrid;
|
|
165
|
-
align-items: baseline;
|
|
166
|
-
display: grid;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
ixfx-form-part > label {
|
|
170
|
-
padding-right: var(--space-xs);
|
|
171
|
-
grid-area: 1 / 1;
|
|
172
|
-
padding-bottom: 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
ixfx-form-part > input, ixfx-form-part > select, ixfx-form-part > textarea {
|
|
176
|
-
grid-area: 1 / 2;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
@@ -103,6 +103,7 @@ declare class TabListElement extends LitElement {
|
|
|
103
103
|
render(): import("lit").TemplateResult<1>;
|
|
104
104
|
firstUpdated(): void;
|
|
105
105
|
updated(changedProperties: PropertyValues): void;
|
|
106
|
+
connectedCallback(): void;
|
|
106
107
|
getSelectedElement(): TabListItemElement | undefined;
|
|
107
108
|
selectElement(el: HTMLElement): void;
|
|
108
109
|
static styles: import("lit").CSSResult[];
|