@astryxdesign/cli 0.6.5-vanilla-poc.6e25cfc → 0.6.6
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/CHANGELOG.md +84 -0
- package/README.md +1 -34
- package/api/build/_adapter.d.mts +14 -0
- package/api/build/_adapter.mjs +58 -1
- package/api/build/build.test.mjs +74 -1
- package/api/build/kit/kit.mjs +39 -7
- package/api/build/kit/rank.d.mts +8 -0
- package/api/build/kit/rank.mjs +14 -0
- package/api/build/kit/weights.d.mts +82 -0
- package/api/build/kit/weights.json +1 -0
- package/api/build/kit/weights.mjs +305 -0
- package/api/build/kit/weights.test.mjs +190 -0
- package/api/component/_adapter.d.mts +1 -51
- package/api/component/_adapter.mjs +3 -110
- package/api/component/component.d.mts +1 -9
- package/api/component/component.doc.mjs +7 -52
- package/api/component/component.mjs +3 -276
- package/api/component/component.type.d.mts +1 -28
- package/api/component/component.type.mjs +1 -20
- package/api/docs/docs.d.mts +6 -0
- package/api/docs/docs.depth.test.mjs +132 -0
- package/api/docs/docs.doc.mjs +31 -2
- package/api/docs/docs.mjs +44 -1
- package/api/docs/docs.type.d.mts +38 -1
- package/api/docs/docs.type.mjs +18 -1
- package/api/docs/node/node.d.mts +28 -3
- package/api/docs/node/node.mjs +146 -23
- package/api/hook/list/list.d.mts +1 -1
- package/api/index.d.mts +0 -8
- package/api/index.mjs +0 -8
- package/api/integration/add-theme.mjs +93 -3
- package/api/integration/add-theme.test.mjs +100 -0
- package/api/integration/integrationAddTheme.doc.mjs +1 -1
- package/api/search/search.d.mts +8 -1
- package/api/search/search.doc.mjs +3 -3
- package/api/search/search.mjs +58 -73
- package/api/search/search.test.mjs +122 -21
- package/api/search/search.type.d.mts +0 -10
- package/api/search/search.type.mjs +0 -1
- package/api/template/cdn/cdn.test.mjs +2 -50
- package/api/template/template.d.mts +0 -6
- package/api/template/template.doc.mjs +4 -56
- package/api/template/template.mjs +0 -82
- package/api/template/template.type.d.mts +0 -12
- package/api/template/template.type.mjs +0 -7
- package/assets/cdn.template.html +5 -19
- package/assets/docs/tokens.doc.mjs +3 -3
- package/assets/docs/tree/add-a-theme.doc.mjs +4 -0
- package/assets/docs/tree/troubleshooting.doc.mjs +4 -4
- package/clients/cli/commands/component/index.mjs +9 -66
- package/clients/cli/commands/component.doc.mjs +4 -26
- package/clients/cli/commands/docs.depth.test.mjs +219 -0
- package/clients/cli/commands/docs.doc.mjs +15 -2
- package/clients/cli/commands/docs.mjs +222 -5
- package/clients/cli/commands/integration-add.doc.mjs +1 -1
- package/clients/cli/commands/search.doc.mjs +2 -3
- package/clients/cli/commands/search.mjs +11 -8
- package/clients/cli/commands/search.test.mjs +35 -40
- package/clients/cli/commands/template.doc.mjs +3 -31
- package/clients/cli/commands/template.mjs +2 -37
- package/foundation/discovery/theme-discovery.d.mts +6 -0
- package/foundation/discovery/theme-discovery.mjs +9 -0
- package/foundation/response/response-types.doc.mjs +0 -38
- package/package.json +5 -9
- package/api/_vanilla-assets.d.mts +0 -10
- package/api/_vanilla-assets.mjs +0 -59
- package/api/component/html/html.d.mts +0 -12
- package/api/component/html/html.doc.d.mts +0 -5
- package/api/component/html/html.doc.mjs +0 -66
- package/api/component/html/html.mjs +0 -25
- package/api/component/html/html.test.mjs +0 -61
- package/api/component/html/html.type.d.mts +0 -23
- package/api/component/html/html.type.mjs +0 -27
- package/api/component/web-components/web-components.d.mts +0 -12
- package/api/component/web-components/web-components.doc.d.mts +0 -5
- package/api/component/web-components/web-components.doc.mjs +0 -70
- package/api/component/web-components/web-components.mjs +0 -32
- package/api/component/web-components/web-components.test.mjs +0 -50
- package/api/component/web-components/web-components.type.d.mts +0 -23
- package/api/component/web-components/web-components.type.mjs +0 -27
- package/api/template/_adapter.d.mts +0 -38
- package/api/template/_adapter.mjs +0 -90
- package/api/template/html/html.d.mts +0 -17
- package/api/template/html/html.doc.d.mts +0 -5
- package/api/template/html/html.doc.mjs +0 -72
- package/api/template/html/html.mjs +0 -61
- package/api/template/html/html.test.mjs +0 -71
- package/api/template/html/html.type.d.mts +0 -26
- package/api/template/html/html.type.mjs +0 -28
- package/api/template/web-components/web-components.d.mts +0 -13
- package/api/template/web-components/web-components.doc.d.mts +0 -5
- package/api/template/web-components/web-components.doc.mjs +0 -69
- package/api/template/web-components/web-components.mjs +0 -51
- package/api/template/web-components/web-components.test.mjs +0 -73
- package/api/template/web-components/web-components.type.d.mts +0 -26
- package/api/template/web-components/web-components.type.mjs +0 -28
- package/assets/generated/core-component-docs.json +0 -1
- package/assets/vanilla/elements-markup/Avatar.html +0 -27
- package/assets/vanilla/elements-markup/Badge.html +0 -16
- package/assets/vanilla/elements-markup/Banner.html +0 -32
- package/assets/vanilla/elements-markup/Breadcrumbs.html +0 -23
- package/assets/vanilla/elements-markup/Button.html +0 -37
- package/assets/vanilla/elements-markup/Card.html +0 -24
- package/assets/vanilla/elements-markup/CheckboxInput.html +0 -28
- package/assets/vanilla/elements-markup/Collapsible.html +0 -26
- package/assets/vanilla/elements-markup/DateInput.html +0 -28
- package/assets/vanilla/elements-markup/Dialog.html +0 -33
- package/assets/vanilla/elements-markup/Divider.html +0 -20
- package/assets/vanilla/elements-markup/DropdownMenu.html +0 -26
- package/assets/vanilla/elements-markup/EmptyState.html +0 -27
- package/assets/vanilla/elements-markup/Heading.html +0 -18
- package/assets/vanilla/elements-markup/HoverCard.html +0 -39
- package/assets/vanilla/elements-markup/Layout.html +0 -28
- package/assets/vanilla/elements-markup/Lightbox.html +0 -33
- package/assets/vanilla/elements-markup/Link.html +0 -23
- package/assets/vanilla/elements-markup/NumberInput.html +0 -34
- package/assets/vanilla/elements-markup/ProgressBar.html +0 -47
- package/assets/vanilla/elements-markup/RadioList.html +0 -28
- package/assets/vanilla/elements-markup/Selector.html +0 -34
- package/assets/vanilla/elements-markup/SideNav.html +0 -32
- package/assets/vanilla/elements-markup/Skeleton.html +0 -18
- package/assets/vanilla/elements-markup/Slider.html +0 -31
- package/assets/vanilla/elements-markup/Stack.html +0 -33
- package/assets/vanilla/elements-markup/StatusDot.html +0 -19
- package/assets/vanilla/elements-markup/Switch.html +0 -28
- package/assets/vanilla/elements-markup/Tab.html +0 -18
- package/assets/vanilla/elements-markup/TabList.html +0 -31
- package/assets/vanilla/elements-markup/Table.html +0 -31
- package/assets/vanilla/elements-markup/Text.html +0 -24
- package/assets/vanilla/elements-markup/TextArea.html +0 -32
- package/assets/vanilla/elements-markup/TextInput.html +0 -92
- package/assets/vanilla/elements-markup/Theme.html +0 -16
- package/assets/vanilla/elements-markup/TimeInput.html +0 -29
- package/assets/vanilla/elements-markup/Toast.html +0 -22
- package/assets/vanilla/elements-markup/Tooltip.html +0 -30
- package/assets/vanilla/elements-markup/TopNav.html +0 -85
- package/assets/vanilla/elements-markup/Typeahead.html +0 -31
- package/assets/vanilla/elements-templates/dashboard.html +0 -167
- package/assets/vanilla/elements-templates/detail-page.html +0 -145
- package/assets/vanilla/elements-templates/form-two-column.html +0 -135
- package/assets/vanilla/elements-templates/kanban-board.html +0 -141
- package/assets/vanilla/elements-templates/login.html +0 -100
- package/assets/vanilla/elements-templates/product-detail.html +0 -128
- package/assets/vanilla/elements-templates/settings.html +0 -130
- package/assets/vanilla/elements-templates/shell-side-nav.html +0 -160
- package/assets/vanilla/elements-templates/table-filter.html +0 -154
- package/assets/vanilla/markup/Avatar.html +0 -24
- package/assets/vanilla/markup/Badge.html +0 -12
- package/assets/vanilla/markup/Banner.html +0 -49
- package/assets/vanilla/markup/Breadcrumbs.html +0 -38
- package/assets/vanilla/markup/Button.html +0 -37
- package/assets/vanilla/markup/Card.html +0 -16
- package/assets/vanilla/markup/CheckboxInput.html +0 -45
- package/assets/vanilla/markup/Collapsible.html +0 -9
- package/assets/vanilla/markup/DateInput.html +0 -42
- package/assets/vanilla/markup/Dialog.html +0 -45
- package/assets/vanilla/markup/Divider.html +0 -9
- package/assets/vanilla/markup/DropdownMenu.html +0 -30
- package/assets/vanilla/markup/EmptyState.html +0 -41
- package/assets/vanilla/markup/Heading.html +0 -9
- package/assets/vanilla/markup/HoverCard.html +0 -85
- package/assets/vanilla/markup/Layout.html +0 -35
- package/assets/vanilla/markup/Lightbox.html +0 -107
- package/assets/vanilla/markup/Link.html +0 -6
- package/assets/vanilla/markup/NumberInput.html +0 -55
- package/assets/vanilla/markup/ProgressBar.html +0 -101
- package/assets/vanilla/markup/RadioList.html +0 -90
- package/assets/vanilla/markup/Selector.html +0 -92
- package/assets/vanilla/markup/SideNav.html +0 -82
- package/assets/vanilla/markup/Skeleton.html +0 -26
- package/assets/vanilla/markup/Slider.html +0 -65
- package/assets/vanilla/markup/Stack.html +0 -13
- package/assets/vanilla/markup/StatusDot.html +0 -22
- package/assets/vanilla/markup/Switch.html +0 -47
- package/assets/vanilla/markup/TabList.html +0 -56
- package/assets/vanilla/markup/Table.html +0 -75
- package/assets/vanilla/markup/Text.html +0 -9
- package/assets/vanilla/markup/TextArea.html +0 -37
- package/assets/vanilla/markup/TextInput.html +0 -80
- package/assets/vanilla/markup/Theme.html +0 -48
- package/assets/vanilla/markup/TimeInput.html +0 -43
- package/assets/vanilla/markup/Toast.html +0 -42
- package/assets/vanilla/markup/Tooltip.html +0 -18
- package/assets/vanilla/markup/TopNav.html +0 -81
- package/assets/vanilla/markup/Typeahead.html +0 -60
- package/assets/vanilla/templates/dashboard.html +0 -462
- package/assets/vanilla/templates/detail-page.html +0 -536
- package/assets/vanilla/templates/form-two-column.html +0 -438
- package/assets/vanilla/templates/kanban-board.html +0 -443
- package/assets/vanilla/templates/login.html +0 -199
- package/assets/vanilla/templates/product-detail.html +0 -335
- package/assets/vanilla/templates/settings.html +0 -374
- package/assets/vanilla/templates/shell-side-nav.html +0 -440
- package/assets/vanilla/templates/table-filter.html +0 -514
- package/clients/cli/commands/vanilla-html.test.mjs +0 -245
- package/foundation/discovery/bundled-component-docs.d.mts +0 -39
- package/foundation/discovery/bundled-component-docs.mjs +0 -92
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<!-- docs: Organize application destinations in a persistent navigation rail with optional collapsed state. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label:str|Application navigation|Accessible label for the navigation landmark.
|
|
4
|
-
is-collapsed:bool|false|Collapsed navigation-rail state.
|
|
5
|
-
is-resizable:bool|false|Allows the authored navigation width to be resized.
|
|
6
|
-
width:str|—|Current CSS width when resizable.
|
|
7
|
-
-->
|
|
8
|
-
<!-- slots:
|
|
9
|
-
header:Sticky product identity or SideNav heading.
|
|
10
|
-
top-content:Content immediately below the header.
|
|
11
|
-
default*:Navigation sections and items.
|
|
12
|
-
footer:Footer actions.
|
|
13
|
-
footer-icons:Compact footer icon row.
|
|
14
|
-
-->
|
|
15
|
-
<!-- events:
|
|
16
|
-
astryx:collapsed-change:Emitted after toggle() with detail.isCollapsed.
|
|
17
|
-
-->
|
|
18
|
-
<!-- methods:
|
|
19
|
-
toggle():Toggle the collapsed state.
|
|
20
|
-
-->
|
|
21
|
-
<!-- properties:attrs→camelCase -->
|
|
22
|
-
<!-- variant: default -->
|
|
23
|
-
<ax-side-nav label="Application navigation">
|
|
24
|
-
<a slot="header" href="#">Astryx</a>
|
|
25
|
-
<a href="#overview" aria-current="page">Overview</a>
|
|
26
|
-
<a href="#projects">Projects</a>
|
|
27
|
-
</ax-side-nav>
|
|
28
|
-
<!-- variant: collapsed -->
|
|
29
|
-
<ax-side-nav label="Collapsed navigation" is-collapsed>
|
|
30
|
-
<a slot="header" href="#" aria-label="Astryx">A</a>
|
|
31
|
-
<a href="#overview" aria-label="Overview" aria-current="page">●</a>
|
|
32
|
-
</ax-side-nav>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- docs: Preview the shape of loading content with a decorative, reduced-motion-aware placeholder. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
width:str|100%|CSS width or pixel value.
|
|
4
|
-
height:str|100%|CSS height or pixel value.
|
|
5
|
-
radius:none,0,1,2,3,4,rounded|3|Tokenized corner radius.
|
|
6
|
-
index:str|0|Animation stagger index.
|
|
7
|
-
-->
|
|
8
|
-
<!-- slots:
|
|
9
|
-
none
|
|
10
|
-
-->
|
|
11
|
-
<!-- events:
|
|
12
|
-
none
|
|
13
|
-
-->
|
|
14
|
-
<!-- properties:attrs→camelCase -->
|
|
15
|
-
<!-- variant: text -->
|
|
16
|
-
<ax-skeleton width="100%" height="12px"></ax-skeleton>
|
|
17
|
-
<!-- variant: avatar -->
|
|
18
|
-
<ax-skeleton width="40px" height="40px" radius="rounded"></ax-skeleton>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!-- docs: Choose a numeric value with a native range control and live output. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible field label.
|
|
4
|
-
value:str|0|Current single-thumb value.
|
|
5
|
-
min:str|0|Native minimum value.
|
|
6
|
-
max:str|100|Native maximum value.
|
|
7
|
-
step:str|1|Native step interval.
|
|
8
|
-
orientation:horizontal,vertical|horizontal|Native slider orientation.
|
|
9
|
-
value-suffix:str|—|Visible value suffix.
|
|
10
|
-
description:str|—|Supporting help text.
|
|
11
|
-
status:none,error,warning,success|none|Current validation state.
|
|
12
|
-
status-message:str|—|Displayed validation message.
|
|
13
|
-
is-disabled/disabled:bool|false|Disables the native control.
|
|
14
|
-
is-required/required:bool|false|Marks the range required.
|
|
15
|
-
html-name/name:str|—|Native form name.
|
|
16
|
-
-->
|
|
17
|
-
<!-- slots:
|
|
18
|
-
label*:Visible slider field label.
|
|
19
|
-
description:Supporting help text.
|
|
20
|
-
status-message:Displayed validation message.
|
|
21
|
-
-->
|
|
22
|
-
<!-- events:
|
|
23
|
-
input:native
|
|
24
|
-
change:native
|
|
25
|
-
astryx:change-end:Emitted with {value} when a committed slider change finishes.
|
|
26
|
-
-->
|
|
27
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,valueAsNumber,willValidate -->
|
|
28
|
-
<!-- variant: default -->
|
|
29
|
-
<ax-slider label="Volume" value="65"></ax-slider>
|
|
30
|
-
<!-- variant: error -->
|
|
31
|
-
<ax-slider label="Threshold" status="error"></ax-slider>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<!-- docs: Arrange children in a horizontal or vertical flex stack with tokenized spacing. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
direction:horizontal,vertical|vertical|Flex direction matching Stack direction.
|
|
4
|
-
gap:0,0.5,1,1.5,2,3,4,5,6,8,10|0|Tokenized spacing step between children.
|
|
5
|
-
wrap:nowrap,wrap,wrap-reverse|nowrap|Flex wrapping behavior.
|
|
6
|
-
is-scrollable:bool|false|Enables automatic overflow scrolling.
|
|
7
|
-
width:str|—|CSS width of the stack.
|
|
8
|
-
height:str|—|CSS height of the stack.
|
|
9
|
-
max-width:str|—|CSS maximum width of the stack.
|
|
10
|
-
min-height:str|—|CSS minimum height of the stack.
|
|
11
|
-
h-align:start,center,end,between,around,evenly,stretch|—|Horizontal alignment matching hAlign.
|
|
12
|
-
v-align:start,center,end,between,around,evenly,stretch|—|Vertical alignment matching vAlign.
|
|
13
|
-
justify:start,center,end,between,around,evenly|—|Main-axis content alignment.
|
|
14
|
-
align:start,center,end,stretch|—|Cross-axis item alignment.
|
|
15
|
-
-->
|
|
16
|
-
<!-- slots:
|
|
17
|
-
default*:Stack items.
|
|
18
|
-
-->
|
|
19
|
-
<!-- events:
|
|
20
|
-
none
|
|
21
|
-
-->
|
|
22
|
-
<!-- properties:attrs→camelCase -->
|
|
23
|
-
<!-- variant: vertical -->
|
|
24
|
-
<ax-stack gap="3">
|
|
25
|
-
<span>First item</span>
|
|
26
|
-
<span>Second item</span>
|
|
27
|
-
</ax-stack>
|
|
28
|
-
<!-- variant: horizontal-wrap -->
|
|
29
|
-
<ax-stack direction="horizontal" gap="2" wrap="wrap">
|
|
30
|
-
<span>One</span>
|
|
31
|
-
<span>Two</span>
|
|
32
|
-
<span>Three</span>
|
|
33
|
-
</ax-stack>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!-- docs: Pair a compact semantic status signal with visible or otherwise accessible status text. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
variant:success,warning,error,accent,neutral|neutral|Semantic status color.
|
|
4
|
-
label*:str|—|Required accessible status label.
|
|
5
|
-
is-pulsing:bool|false|Adds reduced-motion-aware attention animation.
|
|
6
|
-
tooltip:str|—|Optional explanatory tooltip.
|
|
7
|
-
-->
|
|
8
|
-
<!-- slots:
|
|
9
|
-
label*:Accessible status label.
|
|
10
|
-
icon:Optional non-color status mark.
|
|
11
|
-
-->
|
|
12
|
-
<!-- events:
|
|
13
|
-
none
|
|
14
|
-
-->
|
|
15
|
-
<!-- properties:attrs→camelCase -->
|
|
16
|
-
<!-- variant: online -->
|
|
17
|
-
<ax-status-dot variant="success" label="Online"></ax-status-dot>
|
|
18
|
-
<!-- variant: incident -->
|
|
19
|
-
<ax-status-dot variant="error" label="Service incident" is-pulsing></ax-status-dot>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<!-- docs: Toggle a native switch state with labels, validation, and form submission. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible field label.
|
|
4
|
-
value/checked:bool|false|Current checked state.
|
|
5
|
-
description:str|—|Supporting help text.
|
|
6
|
-
size:sm,md|md|Visual switch size.
|
|
7
|
-
label-position:start,end|end|Logical label position.
|
|
8
|
-
label-spacing:hug,spread|hug|Label spacing behavior.
|
|
9
|
-
status:none,error,warning,success|none|Current validation state.
|
|
10
|
-
status-message:str|—|Displayed validation message.
|
|
11
|
-
is-disabled/disabled:bool|false|Disables the native control.
|
|
12
|
-
is-required/required:bool|false|Marks the control required.
|
|
13
|
-
html-name/name:str|—|Native form name.
|
|
14
|
-
html-value:str|on|Submitted native form value.
|
|
15
|
-
-->
|
|
16
|
-
<!-- slots:
|
|
17
|
-
label*:Visible field label.
|
|
18
|
-
description:Supporting help text.
|
|
19
|
-
status-message:Displayed validation message.
|
|
20
|
-
-->
|
|
21
|
-
<!-- events:
|
|
22
|
-
change:native
|
|
23
|
-
-->
|
|
24
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,willValidate -->
|
|
25
|
-
<!-- variant: default -->
|
|
26
|
-
<ax-switch label="Alerts"></ax-switch>
|
|
27
|
-
<!-- variant: checked -->
|
|
28
|
-
<ax-switch label="Dark mode" value></ax-switch>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- docs: Represent one selectable view inside an ax-tab-list. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible tab label when no child content is authored.
|
|
4
|
-
value:str|—|Unique value reported by the parent TabList.
|
|
5
|
-
panel-id:str|—|ID of the tab panel controlled by this tab.
|
|
6
|
-
is-disabled/disabled:bool|false|Disables the native tab button.
|
|
7
|
-
-->
|
|
8
|
-
<!-- slots:
|
|
9
|
-
default*:Visible tab label and inline content.
|
|
10
|
-
-->
|
|
11
|
-
<!-- events:
|
|
12
|
-
astryx:tab-change:Bubbles with {value} when this tab is activated by its TabList.
|
|
13
|
-
-->
|
|
14
|
-
<!-- properties:attrs→camelCase -->
|
|
15
|
-
<!-- variant: with-panel -->
|
|
16
|
-
<ax-tab-list><ax-tab value="a">A</ax-tab></ax-tab-list>
|
|
17
|
-
<!-- variant: label -->
|
|
18
|
-
<ax-tab-list><ax-tab value="b" label="B"></ax-tab></ax-tab-list>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!-- docs: Switch between related in-page views; non-selected slotted panels are hidden automatically. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
value:str|—|Selected child tab value, reflected after activation.
|
|
4
|
-
size:sm,md,lg|md|Tab size matching TabList size.
|
|
5
|
-
layout:hug,fill|hug|Tabs hug content or fill the available width.
|
|
6
|
-
orientation:horizontal,vertical|horizontal|Arrow-key and ARIA orientation.
|
|
7
|
-
label:str|Views|Accessible label for the native tablist.
|
|
8
|
-
-->
|
|
9
|
-
<!-- slots:
|
|
10
|
-
default*:ax-tab children.
|
|
11
|
-
panels:Panel elements whose IDs match child panel-id attributes.
|
|
12
|
-
-->
|
|
13
|
-
<!-- events:
|
|
14
|
-
astryx:tab-change:Bubbles from the activated ax-tab with detail.value.
|
|
15
|
-
-->
|
|
16
|
-
<!-- methods:
|
|
17
|
-
select():Select a tab by value.
|
|
18
|
-
-->
|
|
19
|
-
<!-- properties:attrs→camelCase -->
|
|
20
|
-
<!-- variant: panels -->
|
|
21
|
-
<ax-tab-list value="overview" label="Project views">
|
|
22
|
-
<ax-tab value="overview" panel-id="panel-overview">Overview</ax-tab>
|
|
23
|
-
<ax-tab value="activity" panel-id="panel-activity">Activity</ax-tab>
|
|
24
|
-
<section slot="panels" id="panel-overview">Overview content</section>
|
|
25
|
-
<section slot="panels" id="panel-activity">Activity content</section>
|
|
26
|
-
</ax-tab-list>
|
|
27
|
-
<!-- variant: fill -->
|
|
28
|
-
<ax-tab-list layout="fill">
|
|
29
|
-
<ax-tab value="one">One</ax-tab>
|
|
30
|
-
<ax-tab value="two">Two</ax-tab>
|
|
31
|
-
</ax-tab-list>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!-- docs: Style an authored native table inside an accessible horizontal scroll region. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label:str|Data table|Accessible label for the horizontal scroll region.
|
|
4
|
-
density:compact,balanced,spacious|balanced|Body row density.
|
|
5
|
-
dividers:rows,columns,grid,none|rows|Cell divider treatment.
|
|
6
|
-
is-striped:bool|false|Adds alternating body-row surfaces.
|
|
7
|
-
has-hover:bool|false|Adds pointer hover highlighting to body rows.
|
|
8
|
-
vertical-align:middle,top,bottom|middle|Vertical alignment for body cells.
|
|
9
|
-
text-overflow:wrap,truncate|wrap|Body-cell overflow behavior.
|
|
10
|
-
-->
|
|
11
|
-
<!-- slots:
|
|
12
|
-
default*:A native table with semantic sections, rows, and cells.
|
|
13
|
-
-->
|
|
14
|
-
<!-- events:
|
|
15
|
-
none
|
|
16
|
-
-->
|
|
17
|
-
<!-- properties:attrs→camelCase -->
|
|
18
|
-
<!-- variant: balanced -->
|
|
19
|
-
<ax-table label="Project table" has-hover>
|
|
20
|
-
<table>
|
|
21
|
-
<thead><tr><th scope="col">Project</th><th scope="col">Status</th></tr></thead>
|
|
22
|
-
<tbody><tr><td>Astryx</td><td>Active</td></tr></tbody>
|
|
23
|
-
</table>
|
|
24
|
-
</ax-table>
|
|
25
|
-
<!-- variant: compact-grid -->
|
|
26
|
-
<ax-table label="Release table" density="compact" dividers="grid" is-striped>
|
|
27
|
-
<table>
|
|
28
|
-
<thead><tr><th scope="col">Version</th><th scope="col">Channel</th></tr></thead>
|
|
29
|
-
<tbody><tr><td>0.6.5</td><td>Stable</td></tr></tbody>
|
|
30
|
-
</table>
|
|
31
|
-
</ax-table>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- docs: Render semantic body, supporting, label, large, or code text. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
type:body,large,label,supporting,code,inherit|body|Semantic text type.
|
|
4
|
-
color:primary,secondary,disabled,placeholder,accent,inherit|primary|Semantic text color.
|
|
5
|
-
weight:normal,medium,semibold,bold|—|Explicit font-weight override.
|
|
6
|
-
display:inline,block|inline|Inline or block display.
|
|
7
|
-
as:span,p,div,label,code|span|Allowed native text element.
|
|
8
|
-
max-lines:str|0|Maximum visible lines; zero disables truncation.
|
|
9
|
-
has-strikethrough:bool|false|Applies a line-through decoration.
|
|
10
|
-
has-tabular-numbers:bool|false|Uses tabular number spacing.
|
|
11
|
-
-->
|
|
12
|
-
<!-- slots:
|
|
13
|
-
default*:Text content.
|
|
14
|
-
-->
|
|
15
|
-
<!-- events:
|
|
16
|
-
none
|
|
17
|
-
-->
|
|
18
|
-
<!-- properties:attrs→camelCase -->
|
|
19
|
-
<!-- variant: body -->
|
|
20
|
-
<ax-text as="p">Readable body copy.</ax-text>
|
|
21
|
-
<!-- variant: supporting -->
|
|
22
|
-
<ax-text as="p" type="supporting" color="secondary">Supporting detail</ax-text>
|
|
23
|
-
<!-- variant: code -->
|
|
24
|
-
<ax-text as="code" type="code">const ready = true;</ax-text>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<!-- docs: Collect multiline text with native validation, form participation, and reflected value. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible field label.
|
|
4
|
-
value:str|—|Current input value.
|
|
5
|
-
description:str|—|Supporting help text.
|
|
6
|
-
placeholder:str|—|Native placeholder text.
|
|
7
|
-
rows:str|3|Visible text rows.
|
|
8
|
-
max-length:str|—|Native maximum value.
|
|
9
|
-
size:sm,md,lg|md|Visual textarea size.
|
|
10
|
-
status:none,error,warning,success|none|Current validation state.
|
|
11
|
-
status-message:str|—|Displayed validation message.
|
|
12
|
-
is-required/required:bool|false|Marks the textarea required.
|
|
13
|
-
is-disabled/disabled:bool|false|Disables the native textarea.
|
|
14
|
-
is-read-only/readonly:bool|false|Makes the textarea read-only.
|
|
15
|
-
html-name/name:str|—|Native form name.
|
|
16
|
-
auto-complete/autocomplete:str|—|Native autocomplete hint.
|
|
17
|
-
has-spell-check/spellcheck:bool|true|Enabled by default; set false to disable.
|
|
18
|
-
-->
|
|
19
|
-
<!-- slots:
|
|
20
|
-
label*:Visible field label.
|
|
21
|
-
description:Supporting help text.
|
|
22
|
-
status-message:Displayed validation message.
|
|
23
|
-
-->
|
|
24
|
-
<!-- events:
|
|
25
|
-
input:native
|
|
26
|
-
change:native
|
|
27
|
-
-->
|
|
28
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,willValidate -->
|
|
29
|
-
<!-- variant: default -->
|
|
30
|
-
<ax-text-area label="Summary"></ax-text-area>
|
|
31
|
-
<!-- variant: error -->
|
|
32
|
-
<ax-text-area label="Notes" status="error"></ax-text-area>
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
<!-- docs: Collect a single line of text with an associated visible label. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
type:text,password,email|text|Native single-line input type.
|
|
4
|
-
label*:str|—|Visible and accessible field label.
|
|
5
|
-
value:str|—|Current value, reflected after native input events.
|
|
6
|
-
size:sm,md,lg|md|Field size matching TextInput size.
|
|
7
|
-
description:str|—|Supporting field description.
|
|
8
|
-
status:none,error,warning,success|none|Validation state; none renders no status treatment.
|
|
9
|
-
status-message:str|—|Validation message associated with the native input.
|
|
10
|
-
is-required/required:bool|false|Marks the native input required.
|
|
11
|
-
is-disabled/disabled:bool|false|Disables the native input.
|
|
12
|
-
is-read-only/readonly:bool|false|Makes the native input read-only.
|
|
13
|
-
placeholder:str|—|Native placeholder text.
|
|
14
|
-
html-name/name:str|—|Native form field name.
|
|
15
|
-
auto-complete/autocomplete:str|—|Native autocomplete hint.
|
|
16
|
-
-->
|
|
17
|
-
<!-- slots:
|
|
18
|
-
label*:Visible field label.
|
|
19
|
-
description:Supporting field description.
|
|
20
|
-
status-message:Validation message.
|
|
21
|
-
-->
|
|
22
|
-
<!-- events:
|
|
23
|
-
input:Native input event; value is reflected before bubbling completes.
|
|
24
|
-
change:Native change event; value is reflected to the host.
|
|
25
|
-
-->
|
|
26
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,willValidate -->
|
|
27
|
-
<!-- variant: default -->
|
|
28
|
-
<ax-text-input
|
|
29
|
-
label="Project name"
|
|
30
|
-
html-name="project"
|
|
31
|
-
placeholder="Astryx"
|
|
32
|
-
></ax-text-input>
|
|
33
|
-
<!-- variant: error -->
|
|
34
|
-
<ax-text-input
|
|
35
|
-
type="email"
|
|
36
|
-
label="Email"
|
|
37
|
-
status="error"
|
|
38
|
-
status-message="Enter a valid email address."
|
|
39
|
-
></ax-text-input>
|
|
40
|
-
<!-- state-recipes:start -->
|
|
41
|
-
<!-- variant: password-strength-and-visibility -->
|
|
42
|
-
<div>
|
|
43
|
-
<ax-text-input
|
|
44
|
-
id="password-recipe-field"
|
|
45
|
-
type="password"
|
|
46
|
-
label="Password"
|
|
47
|
-
html-name="password"
|
|
48
|
-
auto-complete="new-password"
|
|
49
|
-
description="Use at least twelve characters."
|
|
50
|
-
></ax-text-input>
|
|
51
|
-
<button
|
|
52
|
-
id="password-recipe-toggle"
|
|
53
|
-
type="button"
|
|
54
|
-
aria-controls="password-recipe-field"
|
|
55
|
-
aria-pressed="false"
|
|
56
|
-
>Show password</button>
|
|
57
|
-
<ax-progress-bar
|
|
58
|
-
id="password-recipe-strength"
|
|
59
|
-
label="Password strength"
|
|
60
|
-
value="0"
|
|
61
|
-
max="100"
|
|
62
|
-
has-value-label
|
|
63
|
-
></ax-progress-bar>
|
|
64
|
-
<p id="password-recipe-status" role="status" aria-live="polite">
|
|
65
|
-
Password not entered.
|
|
66
|
-
</p>
|
|
67
|
-
</div>
|
|
68
|
-
<script>
|
|
69
|
-
(() => {
|
|
70
|
-
const field = document.querySelector('#password-recipe-field');
|
|
71
|
-
const toggle = document.querySelector('#password-recipe-toggle');
|
|
72
|
-
const meter = document.querySelector('#password-recipe-strength');
|
|
73
|
-
const status = document.querySelector('#password-recipe-status');
|
|
74
|
-
const strength = value =>
|
|
75
|
-
value.length >= 12 ? [100, 'Strong'] : value.length >= 8 ? [60, 'Medium'] : value ? [25, 'Weak'] : [0, 'Not entered'];
|
|
76
|
-
const update = () => {
|
|
77
|
-
const [value, label] = strength(field.value ?? '');
|
|
78
|
-
meter.setAttribute('value', String(value));
|
|
79
|
-
meter.setAttribute('variant', value >= 100 ? 'success' : value >= 60 ? 'warning' : value ? 'error' : 'neutral');
|
|
80
|
-
status.textContent = 'Password strength: ' + label + '.';
|
|
81
|
-
};
|
|
82
|
-
field.addEventListener('input', update);
|
|
83
|
-
toggle.addEventListener('click', () => {
|
|
84
|
-
const visible = field.getAttribute('type') === 'text';
|
|
85
|
-
field.setAttribute('type', visible ? 'password' : 'text');
|
|
86
|
-
toggle.setAttribute('aria-pressed', String(!visible));
|
|
87
|
-
toggle.textContent = visible ? 'Show password' : 'Hide password';
|
|
88
|
-
});
|
|
89
|
-
update();
|
|
90
|
-
})();
|
|
91
|
-
</script>
|
|
92
|
-
<!-- state-recipes:end -->
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- docs: Scope a Vanilla Astryx subtree to a loaded theme name and color mode. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
theme:str|neutral|Loaded Vanilla Astryx theme name.
|
|
4
|
-
mode:light,dark,system|system|Light, dark, or operating-system color mode.
|
|
5
|
-
-->
|
|
6
|
-
<!-- slots:
|
|
7
|
-
default*:The themed subtree.
|
|
8
|
-
-->
|
|
9
|
-
<!-- events:
|
|
10
|
-
none
|
|
11
|
-
-->
|
|
12
|
-
<!-- properties:attrs→camelCase -->
|
|
13
|
-
<!-- variant: brand-section -->
|
|
14
|
-
<style>@layer astryx-theme{[data-astryx-theme='brand']{--color-accent:light-dark(#6d28d9,#a78bfa);--color-on-accent:light-dark(#fff,#1f1235)}}</style><ax-theme theme="brand"><ax-button variant="primary">Brand action</ax-button></ax-theme>
|
|
15
|
-
<!-- variant: nested-dark -->
|
|
16
|
-
<ax-theme theme="neutral" mode="dark"><ax-card><p>Loose dark text</p></ax-card></ax-theme>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<!-- docs: Collect an ISO time with native picker, constraints, and form validation. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible field label.
|
|
4
|
-
value:str|—|Selected ISO time.
|
|
5
|
-
description:str|—|Supporting help text.
|
|
6
|
-
min:str|—|Minimum ISO time.
|
|
7
|
-
max:str|—|Maximum ISO time.
|
|
8
|
-
step:str|—|Native step interval.
|
|
9
|
-
size:sm,md,lg|md|Visual input size.
|
|
10
|
-
status:none,error,warning,success|none|Current validation state.
|
|
11
|
-
status-message:str|—|Displayed validation message.
|
|
12
|
-
is-required/required:bool|false|Marks the input required.
|
|
13
|
-
is-disabled/disabled:bool|false|Disables the native input.
|
|
14
|
-
html-name/name:str|—|Native form name.
|
|
15
|
-
-->
|
|
16
|
-
<!-- slots:
|
|
17
|
-
label*:Visible field label.
|
|
18
|
-
description:Supporting help text.
|
|
19
|
-
status-message:Displayed validation message.
|
|
20
|
-
-->
|
|
21
|
-
<!-- events:
|
|
22
|
-
input:native
|
|
23
|
-
change:native
|
|
24
|
-
-->
|
|
25
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,valueAsDate,valueAsNumber,willValidate -->
|
|
26
|
-
<!-- variant: default -->
|
|
27
|
-
<ax-time-input label="Start time"></ax-time-input>
|
|
28
|
-
<!-- variant: error -->
|
|
29
|
-
<ax-time-input label="Window" status="error"></ax-time-input>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<!-- docs: Display a declarative status or error notification with optional timed dismissal. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
body*:str|—|Visible notification message.
|
|
4
|
-
type:info,error|info|Semantic notification type.
|
|
5
|
-
is-auto-hide:bool|false|Enables timed dismissal.
|
|
6
|
-
auto-hide-duration:str|5000|Auto-hide delay milliseconds.
|
|
7
|
-
-->
|
|
8
|
-
<!-- slots:
|
|
9
|
-
body*:Rich notification message content.
|
|
10
|
-
-->
|
|
11
|
-
<!-- events:
|
|
12
|
-
astryx:dismiss:Emitted with {reason} when the notification is dismissed manually, automatically, or programmatically.
|
|
13
|
-
-->
|
|
14
|
-
<!-- methods:
|
|
15
|
-
show():Show and restart auto-hide.
|
|
16
|
-
dismiss():Dismiss programmatically.
|
|
17
|
-
-->
|
|
18
|
-
<!-- properties:attrs→camelCase -->
|
|
19
|
-
<!-- variant: info -->
|
|
20
|
-
<ax-toast body="Saved"></ax-toast>
|
|
21
|
-
<!-- variant: error -->
|
|
22
|
-
<ax-toast type="error"><span slot="body">Save failed. Try again.</span></ax-toast>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!-- docs: Describe a focusable trigger with delayed hover and focus disclosure. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
content*:str|—|Concise tooltip content.
|
|
4
|
-
trigger-label:str|?|Generated trigger label.
|
|
5
|
-
trigger-aria-label:str|More information|Accessible trigger name.
|
|
6
|
-
placement:above,below,start,end|above|Logical surface placement.
|
|
7
|
-
alignment:start,center,end|center|Logical surface alignment.
|
|
8
|
-
delay:str|200|Opening delay in milliseconds.
|
|
9
|
-
hide-delay:str|0|Closing delay in milliseconds.
|
|
10
|
-
focus-trigger:auto,always,never|auto|Keyboard focus trigger policy.
|
|
11
|
-
touch-trigger:auto,tap,none|auto|Touch activation policy.
|
|
12
|
-
is-enabled:bool|true|Enabled by default; set false to disable.
|
|
13
|
-
is-open/open:bool|false|Controlled open state.
|
|
14
|
-
-->
|
|
15
|
-
<!-- slots:
|
|
16
|
-
default*:Focusable hoverable trigger.
|
|
17
|
-
content*:Concise tooltip content.
|
|
18
|
-
-->
|
|
19
|
-
<!-- events:
|
|
20
|
-
astryx:open-change:Emitted with {isOpen} whenever the tooltip opens or closes.
|
|
21
|
-
-->
|
|
22
|
-
<!-- methods:
|
|
23
|
-
show():Show tooltip.
|
|
24
|
-
close():Hide the tooltip.
|
|
25
|
-
-->
|
|
26
|
-
<!-- properties:attrs→camelCase -->
|
|
27
|
-
<!-- variant: icon-button -->
|
|
28
|
-
<ax-tooltip content="Info"><button type="button">?</button></ax-tooltip>
|
|
29
|
-
<!-- variant: below -->
|
|
30
|
-
<ax-tooltip content="Copied" placement="below"><button type="button">Copy</button></ax-tooltip>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<!-- docs: Arrange product identity, primary navigation, and utility actions in an application header. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label:str|Top navigation|Accessible label for the navigation landmark.
|
|
4
|
-
-->
|
|
5
|
-
<!-- slots:
|
|
6
|
-
default:Primary navigation items when start-content is omitted.
|
|
7
|
-
heading*:Product mark and name.
|
|
8
|
-
start-content:Primary navigation items after the heading.
|
|
9
|
-
center-content:Centered navigation, search, or tabs.
|
|
10
|
-
end-content:End-aligned actions and profile controls.
|
|
11
|
-
-->
|
|
12
|
-
<!-- events:
|
|
13
|
-
none
|
|
14
|
-
-->
|
|
15
|
-
<!-- properties:attrs→camelCase -->
|
|
16
|
-
<!-- variant: default -->
|
|
17
|
-
<ax-top-nav label="Primary navigation">
|
|
18
|
-
<span slot="heading">Astryx</span>
|
|
19
|
-
<a slot="start-content" href="#overview" aria-current="page">Overview</a>
|
|
20
|
-
<a slot="start-content" href="#projects">Projects</a>
|
|
21
|
-
<ax-button slot="end-content" size="sm">Help</ax-button>
|
|
22
|
-
</ax-top-nav>
|
|
23
|
-
<!-- variant: centered -->
|
|
24
|
-
<ax-top-nav label="Workspace navigation">
|
|
25
|
-
<span slot="heading">Workspace</span>
|
|
26
|
-
<a slot="center-content" href="#home" aria-current="page">Home</a>
|
|
27
|
-
<a slot="center-content" href="#activity">Activity</a>
|
|
28
|
-
<ax-button slot="end-content" size="sm">Invite</ax-button>
|
|
29
|
-
</ax-top-nav>
|
|
30
|
-
<!-- state-recipes:start -->
|
|
31
|
-
<!-- variant: responsive-collapsed -->
|
|
32
|
-
<ax-top-nav label="Primary navigation">
|
|
33
|
-
<span slot="heading">Astryx</span>
|
|
34
|
-
<span id="responsive-nav-items" slot="start-content" hidden>
|
|
35
|
-
<a href="#overview" aria-current="page">Overview</a>
|
|
36
|
-
<a href="#projects">Projects</a>
|
|
37
|
-
</span>
|
|
38
|
-
<button
|
|
39
|
-
id="responsive-nav-toggle"
|
|
40
|
-
slot="end-content"
|
|
41
|
-
type="button"
|
|
42
|
-
aria-controls="responsive-nav-items"
|
|
43
|
-
aria-expanded="false"
|
|
44
|
-
>Open menu</button>
|
|
45
|
-
</ax-top-nav>
|
|
46
|
-
<script>
|
|
47
|
-
(() => {
|
|
48
|
-
const toggle = document.querySelector('#responsive-nav-toggle');
|
|
49
|
-
const items = document.querySelector('#responsive-nav-items');
|
|
50
|
-
toggle.addEventListener('click', () => {
|
|
51
|
-
const expanded = toggle.getAttribute('aria-expanded') === 'true';
|
|
52
|
-
toggle.setAttribute('aria-expanded', String(!expanded));
|
|
53
|
-
toggle.textContent = expanded ? 'Open menu' : 'Close menu';
|
|
54
|
-
items.hidden = expanded;
|
|
55
|
-
});
|
|
56
|
-
})();
|
|
57
|
-
</script>
|
|
58
|
-
<!-- variant: responsive-expanded -->
|
|
59
|
-
<ax-top-nav label="Primary navigation">
|
|
60
|
-
<span slot="heading">Astryx</span>
|
|
61
|
-
<span id="responsive-nav-items-open" slot="start-content">
|
|
62
|
-
<a href="#overview" aria-current="page">Overview</a>
|
|
63
|
-
<a href="#projects">Projects</a>
|
|
64
|
-
</span>
|
|
65
|
-
<button
|
|
66
|
-
id="responsive-nav-toggle-open"
|
|
67
|
-
slot="end-content"
|
|
68
|
-
type="button"
|
|
69
|
-
aria-controls="responsive-nav-items-open"
|
|
70
|
-
aria-expanded="true"
|
|
71
|
-
>Close menu</button>
|
|
72
|
-
</ax-top-nav>
|
|
73
|
-
<script>
|
|
74
|
-
(() => {
|
|
75
|
-
const toggle = document.querySelector('#responsive-nav-toggle-open');
|
|
76
|
-
const items = document.querySelector('#responsive-nav-items-open');
|
|
77
|
-
toggle.addEventListener('click', () => {
|
|
78
|
-
const expanded = toggle.getAttribute('aria-expanded') === 'true';
|
|
79
|
-
toggle.setAttribute('aria-expanded', String(!expanded));
|
|
80
|
-
toggle.textContent = expanded ? 'Open menu' : 'Close menu';
|
|
81
|
-
items.hidden = expanded;
|
|
82
|
-
});
|
|
83
|
-
})();
|
|
84
|
-
</script>
|
|
85
|
-
<!-- state-recipes:end -->
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!-- docs: Suggest authored datalist options while reflecting free-form query and value state. -->
|
|
2
|
-
<!-- attributes:
|
|
3
|
-
label*:str|—|Visible field label.
|
|
4
|
-
value:str|—|Current search value.
|
|
5
|
-
description:str|—|Supporting help text.
|
|
6
|
-
placeholder:str|—|Native placeholder text.
|
|
7
|
-
size:sm,md,lg|md|Visual input size.
|
|
8
|
-
status:none,error,warning,success|none|Current validation state.
|
|
9
|
-
status-message:str|—|Displayed validation message.
|
|
10
|
-
is-required/required:bool|false|Marks the input required.
|
|
11
|
-
is-disabled/disabled:bool|false|Disables the native input.
|
|
12
|
-
html-name/name:str|—|Native form name.
|
|
13
|
-
list-id:str|—|Datalist element identifier.
|
|
14
|
-
auto-complete/autocomplete:str|off|Native autocomplete hint.
|
|
15
|
-
-->
|
|
16
|
-
<!-- slots:
|
|
17
|
-
label*:Visible field label.
|
|
18
|
-
description:Supporting help text.
|
|
19
|
-
default*:Native datalist options.
|
|
20
|
-
status-message:Displayed validation message.
|
|
21
|
-
-->
|
|
22
|
-
<!-- events:
|
|
23
|
-
input:native
|
|
24
|
-
change:native
|
|
25
|
-
astryx:query:Emitted with {query} after the search text changes.
|
|
26
|
-
-->
|
|
27
|
-
<!-- properties:attrs→camelCase;readonly:form,validity,validationMessage,willValidate -->
|
|
28
|
-
<!-- variant: default -->
|
|
29
|
-
<ax-typeahead label="Assignee"><option>Alex</option><option>Sam</option></ax-typeahead>
|
|
30
|
-
<!-- variant: error -->
|
|
31
|
-
<ax-typeahead label="Owner" status="error"><option>Design</option><option>Engineering</option></ax-typeahead>
|