@astryx-vue/core 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-1wNIEtK_.js → AppShell-Cb41gIAj.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +2 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-C97HmjkC.js → Breadcrumbs-CTQ7fjDn.js} +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DqC3EDN1.js → Calendar-BFaI5AMv.js} +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BGUnskjo.js → Carousel-X0cuQkvg.js} +2 -2
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +2 -2
- package/dist/Chat-M0tiGrNT.js +3148 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DunoAqVH.js → Citation-C1veUk5p.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CAF-VJnh.js → CodeBlock-DesTJAkm.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DvMiYJp7.js → Collapsible-BestK35V.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-xfm9ldUI.js → CommandPalette-BArt97V8.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-B6lBTRhP.js → ComplexSelector-CAoig1RK.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-DUkED3Z3.js → ContextMenu-9Im6i43E.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-Crcg-CCj.js → DateInput-BLocxqC3.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-e9KSxBBK.js → DateRangeInput-DwDy3eRo.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-fSOfuLex.js → DateTimeInput-BYiaC9bn.js} +3 -3
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-XvW4BJob.js → DropdownMenu-Ddfr-aEC.js} +2 -2
- package/dist/{DropdownMenu-8G0B1UND.js → DropdownMenu-Dh-WAHKb.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D-fchyQH.js → FileInput-DLO6V12n.js} +2 -2
- package/dist/Icon/index.d.ts +2 -2
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-Bku25g_K.js → Icon-CJKjdJy-.js} +6 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-uuVGgHxW.js → Lightbox-CdFCS_EA.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DLICa3db.js → Markdown-BqKloI3w.js} +2 -2
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-h492rqEN.js → MetadataList-CvZkmisf.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BMj3Wtuq.js → MobileNavToggle-Bwi0qXXM.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DkYi5az5.js → MoreMenu-BwJaJrkB.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C2IS-EaU.js → MultiSelector-C-ETfFy_.js} +2 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CjfAsFwj.js → NumberInput-DjetVB8O.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BTmrtvXR.js → Outline-Bz9c-u5y.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CRE8BE7V.js → OverflowList-ED-KN9Y5.js} +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BpGXPmc7.js → Pagination-Cb66HMEf.js} +2 -2
- package/dist/PowerSearch/index.d.ts +2 -0
- package/dist/PowerSearch/index.js +2 -0
- package/dist/PowerSearch-CjU8y4mi.js +2386 -0
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-CE8XQDL2.js → Resizable-D-TBCg0Y.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DkJOLZSR.js → Selector-DE2IEFML.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DcDWBnXJ.js → SideNav-DonEfiAx.js} +2 -2
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DZKaqEoz.js → Stepper-D2ZIcUNx.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-hm06QPiW.js → TabList-D3F-stq-.js} +1 -1
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/Table-CrP2Uffq.js +1982 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CAOYds8t.js → Thumbnail-BC5JGPGZ.js} +2 -2
- package/dist/{TimeField-BGbxCoKU.js → TimeField-DpHFrNv0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJP3l4ZS.js → TimeInput-DJLV0_4z.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BzRp8uWc.js → Timestamp-GKNjjt5g.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CjocuhzE.js → Token-Chu_eCVs.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mYES5SPM.js → Tokenizer-DRDpvQ_l.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-C2t6JkZb.js → TopNav-CEyWddtA.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-THJ0KamE.js → TreeList-COS8US8e.js} +2 -2
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-D7VnvRpK.js → Typeahead-P7cCqtaQ.js} +3 -3
- package/dist/{useTypeaheadMenu-Ba7XpcZl.js → TypeaheadMenu-CGvo0Tud.js} +107 -107
- package/dist/composables/index.d.ts +3 -3
- package/dist/{context-DzcK4T_C.js → context-CiKncNSH.js} +180 -4
- package/dist/{index-SMh42NI8.d.ts → index-B1TG2GPS.d.ts} +2 -2
- package/dist/index-B9WzWqzk.d.ts +18 -0
- package/dist/{index-Z_onS2lR.d.ts → index-C7mxUcDR.d.ts} +2 -2
- package/dist/{index-cG1E0U2s.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-DnEh-HA0.d.ts → index-C_2Z65Rp.d.ts} +1 -1
- package/dist/{index-DXSs3rwa.d.ts → index-CngORuiq.d.ts} +137 -2
- package/dist/index-Cs5pcwY3.d.ts +416 -0
- package/dist/{index-DnSrjbjP.d.ts → index-D-ZuubCK.d.ts} +1 -1
- package/dist/{index-DAiGhkNZ.d.ts → index-D4I_obqR.d.ts} +1 -1
- package/dist/{index-I4J7gwa1.d.ts → index-DGXviOlp.d.ts} +1 -1
- package/dist/{index-BLOEjvaM.d.ts → index-DN7MXPHM.d.ts} +1 -1
- package/dist/{index-DeOftUMq.d.ts → index-DNRBbwp_.d.ts} +37 -36
- package/dist/{index-DQAnGHu7.d.ts → index-DOUEn7V0.d.ts} +2 -2
- package/dist/{index-CBym0hSq.d.ts → index-DWH_HzXi.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-D2bSSSBP.d.ts → index-fa72tWIU.d.ts} +1 -1
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/index-kVhSuA9t.d.ts +902 -0
- package/dist/{index-1uRMrk63.d.ts → index-nCEmW6wa.d.ts} +1 -1
- package/dist/{index-Clmz00IK.d.ts → index-qiZtHnGK.d.ts} +24 -0
- package/dist/{index-3p2BDVHq.d.ts → index-u5ozu0G7.d.ts} +2 -2
- package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
- package/dist/index.d.ts +73 -71
- package/dist/index.js +106 -98
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/power-search-DrDfcoL1.d.ts +68 -0
- package/dist/{types-JktRxujg.d.ts → types-Cp4liug-.d.ts} +66 -3
- package/dist/types-DIYwbkpe.d.ts +33 -0
- package/dist/{types-BKcxXW--.d.ts → types-pnljWjEE.d.ts} +1 -1
- package/dist/{useResizable-CeESZS1v.d.ts → useResizable-CUoNPmUw.d.ts} +1 -1
- package/package.json +5 -1
- package/styles/chat.css +469 -1
- package/styles/icon.css +20 -0
- package/styles/power-search.css +303 -0
- package/styles/table.css +304 -1
- package/styles.css +1 -0
- package/dist/Chat-DCjXRiOF.js +0 -1051
- package/dist/Table-DwehtMap.js +0 -967
- package/dist/index-CuFLztiI.d.ts +0 -49
- package/dist/index-DJo-BmXZ.d.ts +0 -431
package/styles/chat.css
CHANGED
|
@@ -828,11 +828,479 @@
|
|
|
828
828
|
100% { opacity: 0.35; transform: translateY(0); }
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
+
.astryx-chat-composer {
|
|
832
|
+
position: relative;
|
|
833
|
+
z-index: 0;
|
|
834
|
+
isolation: isolate;
|
|
835
|
+
display: flex;
|
|
836
|
+
flex-direction: column;
|
|
837
|
+
box-sizing: border-box;
|
|
838
|
+
width: 100%;
|
|
839
|
+
min-width: 0;
|
|
840
|
+
--_chat-composer-radius: var(--astryx-radius-chat, 28px);
|
|
841
|
+
--_chat-composer-padding: var(--astryx-spacing-3, 12px);
|
|
842
|
+
--astryx-button-radius: max(
|
|
843
|
+
var(--astryx-radius-element, 0.625rem),
|
|
844
|
+
calc(var(--_chat-composer-radius) - var(--_chat-composer-padding))
|
|
845
|
+
);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.astryx-chat-composer[data-disabled] {
|
|
849
|
+
opacity: 0.6;
|
|
850
|
+
pointer-events: none;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.astryx-chat-composer__body {
|
|
854
|
+
position: relative;
|
|
855
|
+
z-index: 2;
|
|
856
|
+
display: flex;
|
|
857
|
+
flex-direction: column;
|
|
858
|
+
box-sizing: border-box;
|
|
859
|
+
padding: var(--_chat-composer-padding);
|
|
860
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
861
|
+
border-radius: var(--_chat-composer-radius);
|
|
862
|
+
background-color: var(--astryx-color-background-popover);
|
|
863
|
+
cursor: text;
|
|
864
|
+
transition:
|
|
865
|
+
box-shadow var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
866
|
+
border-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.astryx-chat-composer__body:is(:disabled, [aria-disabled='true']) {
|
|
870
|
+
cursor: default;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.astryx-chat-composer__body[data-density='compact'] {
|
|
874
|
+
--_chat-composer-padding: var(--astryx-spacing-2, 8px);
|
|
875
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.astryx-chat-composer__body[data-keyboard-focus] {
|
|
879
|
+
outline-width: var(--astryx-focus-outline-width, 2px);
|
|
880
|
+
outline-style: var(--astryx-focus-outline-style, solid);
|
|
881
|
+
outline-color: var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
882
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.astryx-chat-composer__body[data-elevation='low'] {
|
|
886
|
+
box-shadow: var(--astryx-shadow-low);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.astryx-chat-composer__body[data-elevation='low']:focus-within {
|
|
890
|
+
box-shadow: var(--astryx-shadow-med);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.astryx-chat-composer__body[data-elevation='none'] {
|
|
894
|
+
border-width: var(--astryx-border-width, 1px);
|
|
895
|
+
border-style: solid;
|
|
896
|
+
border-color: var(--astryx-color-border-emphasized);
|
|
897
|
+
padding: calc(var(--_chat-composer-padding) - var(--astryx-border-width, 1px));
|
|
898
|
+
box-shadow: none;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.astryx-chat-composer__body[data-elevation='none']:focus-within {
|
|
902
|
+
border-color: var(--astryx-color-accent);
|
|
903
|
+
box-shadow: inset 0 0 0 2px var(--astryx-color-accent-muted);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
@media (hover: hover) {
|
|
907
|
+
.astryx-chat-composer__body[data-elevation='low']:hover {
|
|
908
|
+
box-shadow: var(--astryx-shadow-med);
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.astryx-chat-composer__body[data-elevation='none']:hover:not(:focus-within) {
|
|
912
|
+
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-color-border-emphasized) 30%, transparent);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.astryx-chat-drawer__toggle:hover .astryx-chat-drawer__label {
|
|
916
|
+
color: var(--astryx-color-text-primary);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.astryx-chat-drawer__toggle:hover .astryx-chat-drawer__handle {
|
|
920
|
+
background-color: var(--astryx-color-icon-primary);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.astryx-chat-composer__header {
|
|
925
|
+
display: flex;
|
|
926
|
+
align-items: center;
|
|
927
|
+
justify-content: space-between;
|
|
928
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
929
|
+
min-height: 28px;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.astryx-chat-composer__header-start,
|
|
933
|
+
.astryx-chat-composer__footer-start,
|
|
934
|
+
.astryx-chat-composer__footer-end {
|
|
935
|
+
display: flex;
|
|
936
|
+
align-items: center;
|
|
937
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.astryx-chat-composer__header-end {
|
|
941
|
+
display: flex;
|
|
942
|
+
align-items: center;
|
|
943
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
944
|
+
margin-inline-start: auto;
|
|
945
|
+
font-family: var(--astryx-font-family-body);
|
|
946
|
+
font-size: var(--astryx-text-supporting-size);
|
|
947
|
+
line-height: var(--astryx-text-supporting-leading);
|
|
948
|
+
color: var(--astryx-color-text-secondary);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.astryx-chat-composer__input {
|
|
952
|
+
display: flex;
|
|
953
|
+
flex-direction: column;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.astryx-chat-composer__footer {
|
|
957
|
+
display: flex;
|
|
958
|
+
align-items: center;
|
|
959
|
+
justify-content: space-between;
|
|
960
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
961
|
+
min-height: 32px;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.astryx-chat-composer__footer-end[data-interruptible] {
|
|
965
|
+
pointer-events: auto;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.astryx-chat-composer__status {
|
|
969
|
+
position: relative;
|
|
970
|
+
z-index: 0;
|
|
971
|
+
display: flex;
|
|
972
|
+
align-items: center;
|
|
973
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
974
|
+
padding-inline: var(--astryx-spacing-4, 16px);
|
|
975
|
+
font-family: var(--astryx-font-family-body);
|
|
976
|
+
font-size: var(--astryx-text-supporting-size);
|
|
977
|
+
line-height: var(--astryx-text-supporting-leading);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.astryx-chat-composer__status[data-place='top'] {
|
|
981
|
+
padding-block-start: var(--_chat-composer-padding);
|
|
982
|
+
padding-block-end: calc(var(--_chat-composer-padding) + var(--_chat-composer-radius));
|
|
983
|
+
margin-block-end: calc(-1 * var(--_chat-composer-radius));
|
|
984
|
+
border-start-start-radius: var(--_chat-composer-radius);
|
|
985
|
+
border-start-end-radius: var(--_chat-composer-radius);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.astryx-chat-composer__status[data-place='bottom'] {
|
|
989
|
+
padding-block-start: calc(var(--_chat-composer-padding) + var(--_chat-composer-radius));
|
|
990
|
+
padding-block-end: var(--_chat-composer-padding);
|
|
991
|
+
margin-block-start: calc(-1 * var(--_chat-composer-radius));
|
|
992
|
+
border-end-start-radius: var(--_chat-composer-radius);
|
|
993
|
+
border-end-end-radius: var(--_chat-composer-radius);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.astryx-chat-composer__status[data-type='error'] {
|
|
997
|
+
background-color: var(--astryx-color-error-muted);
|
|
998
|
+
color: var(--astryx-color-text-red);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.astryx-chat-composer__status[data-type='warning'] {
|
|
1002
|
+
background-color: var(--astryx-color-warning-muted);
|
|
1003
|
+
color: var(--astryx-color-text-yellow);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.astryx-chat-composer-input {
|
|
1007
|
+
position: relative;
|
|
1008
|
+
display: flex;
|
|
1009
|
+
flex-direction: column;
|
|
1010
|
+
min-height: 22px;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.astryx-chat-composer-input[data-disabled] {
|
|
1014
|
+
opacity: 0.5;
|
|
1015
|
+
pointer-events: none;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.astryx-chat-composer-input__editable,
|
|
1019
|
+
.astryx-chat-composer-input__placeholder {
|
|
1020
|
+
font-family: var(--astryx-font-family-body);
|
|
1021
|
+
font-size: var(--astryx-text-body-size);
|
|
1022
|
+
line-height: 22px;
|
|
1023
|
+
padding-inline: var(--astryx-spacing-1, 4px);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.astryx-chat-composer-input__editable {
|
|
1027
|
+
outline: none;
|
|
1028
|
+
white-space: pre-wrap;
|
|
1029
|
+
word-break: break-word;
|
|
1030
|
+
overflow-y: auto;
|
|
1031
|
+
color: var(--astryx-color-text-primary);
|
|
1032
|
+
caret-color: var(--astryx-color-accent);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.astryx-chat-composer-input__placeholder {
|
|
1036
|
+
position: absolute;
|
|
1037
|
+
top: 0;
|
|
1038
|
+
inset-inline: 0;
|
|
1039
|
+
color: var(--astryx-color-text-secondary);
|
|
1040
|
+
pointer-events: none;
|
|
1041
|
+
user-select: none;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.astryx-chat-composer-input__interim {
|
|
1045
|
+
color: var(--astryx-color-text-disabled);
|
|
1046
|
+
font-style: italic;
|
|
1047
|
+
opacity: 0.7;
|
|
1048
|
+
pointer-events: none;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
@media (pointer: coarse) {
|
|
1052
|
+
@supports (-webkit-touch-callout: none) {
|
|
1053
|
+
.astryx-chat-composer-input__editable,
|
|
1054
|
+
.astryx-chat-composer-input__placeholder {
|
|
1055
|
+
font-size: max(1rem, var(--astryx-text-body-size, 1rem));
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.astryx-chat-token,
|
|
1061
|
+
.astryx-chat-tokenized .astryx-chat-token {
|
|
1062
|
+
display: inline-flex;
|
|
1063
|
+
align-items: center;
|
|
1064
|
+
height: 1lh;
|
|
1065
|
+
vertical-align: top;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.astryx-chat-tokenized {
|
|
1069
|
+
display: inline;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
.astryx-chat-send {
|
|
1073
|
+
flex-shrink: 0;
|
|
1074
|
+
border-radius: var(--astryx-button-radius, var(--astryx-radius-full, 9999px));
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.astryx-chat-drawer {
|
|
1078
|
+
position: relative;
|
|
1079
|
+
z-index: 1;
|
|
1080
|
+
display: flex;
|
|
1081
|
+
flex-direction: column;
|
|
1082
|
+
overflow: hidden;
|
|
1083
|
+
box-sizing: border-box;
|
|
1084
|
+
padding-inline: var(--astryx-spacing-4, 16px);
|
|
1085
|
+
padding-block-start: var(--astryx-spacing-3, 12px);
|
|
1086
|
+
padding-block-end: calc(var(--astryx-spacing-3, 12px) + var(--astryx-radius-chat, 28px));
|
|
1087
|
+
margin-block-end: calc(-1 * var(--astryx-radius-chat, 28px));
|
|
1088
|
+
background-color: var(--astryx-color-background-surface);
|
|
1089
|
+
background-image: linear-gradient(var(--astryx-color-background-muted), var(--astryx-color-background-muted));
|
|
1090
|
+
border-start-start-radius: var(--astryx-radius-chat, 28px);
|
|
1091
|
+
border-start-end-radius: var(--astryx-radius-chat, 28px);
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.astryx-chat-drawer__toggle {
|
|
1095
|
+
display: grid;
|
|
1096
|
+
grid-template-columns: 1fr;
|
|
1097
|
+
align-items: center;
|
|
1098
|
+
height: var(--astryx-spacing-5, 20px);
|
|
1099
|
+
padding-inline: var(--astryx-spacing-4, 16px);
|
|
1100
|
+
margin-inline: calc(-1 * var(--astryx-spacing-4, 16px));
|
|
1101
|
+
cursor: pointer;
|
|
1102
|
+
user-select: none;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.astryx-chat-drawer__toggle:focus-visible {
|
|
1106
|
+
outline-width: var(--astryx-focus-outline-width, 2px);
|
|
1107
|
+
outline-style: var(--astryx-focus-outline-style, solid);
|
|
1108
|
+
outline-color: var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
1109
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.astryx-chat-drawer__summary,
|
|
1113
|
+
.astryx-chat-drawer__handle {
|
|
1114
|
+
grid-row: 1;
|
|
1115
|
+
grid-column: 1;
|
|
1116
|
+
opacity: 1;
|
|
1117
|
+
transition-property: opacity, background-color;
|
|
1118
|
+
transition-duration: var(--astryx-duration-fast, 125ms);
|
|
1119
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.astryx-chat-drawer__summary {
|
|
1123
|
+
justify-self: start;
|
|
1124
|
+
display: inline-flex;
|
|
1125
|
+
align-items: center;
|
|
1126
|
+
height: var(--astryx-spacing-5, 20px);
|
|
1127
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
1128
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
1129
|
+
pointer-events: none;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.astryx-chat-drawer__label {
|
|
1133
|
+
color: var(--astryx-color-text-secondary);
|
|
1134
|
+
font-size: var(--astryx-text-body-size);
|
|
1135
|
+
line-height: var(--astryx-spacing-5, 20px);
|
|
1136
|
+
transition: color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.astryx-chat-drawer__handle {
|
|
1140
|
+
justify-self: center;
|
|
1141
|
+
align-self: start;
|
|
1142
|
+
width: var(--astryx-spacing-5, 20px);
|
|
1143
|
+
height: var(--astryx-spacing-0-5, 2px);
|
|
1144
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
1145
|
+
background-color: var(--astryx-color-icon-secondary);
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.astryx-chat-drawer__summary[data-hidden],
|
|
1149
|
+
.astryx-chat-drawer__handle[data-hidden] {
|
|
1150
|
+
opacity: 0;
|
|
1151
|
+
pointer-events: none;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.astryx-chat-drawer__grid {
|
|
1155
|
+
display: grid;
|
|
1156
|
+
grid-template-rows: 1fr;
|
|
1157
|
+
transition: grid-template-rows var(--astryx-duration-medium, 300ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.astryx-chat-drawer__grid[data-collapsed] {
|
|
1161
|
+
grid-template-rows: 0fr;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.astryx-chat-drawer__content {
|
|
1165
|
+
display: flex;
|
|
1166
|
+
flex-wrap: wrap;
|
|
1167
|
+
align-items: flex-start;
|
|
1168
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
1169
|
+
min-height: 0;
|
|
1170
|
+
opacity: 1;
|
|
1171
|
+
transition:
|
|
1172
|
+
opacity var(--astryx-duration-medium, 300ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)) var(--astryx-duration-fast, 125ms);
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.astryx-chat-drawer__content[data-collapsed] {
|
|
1176
|
+
opacity: 0;
|
|
1177
|
+
transition-delay: 0ms;
|
|
1178
|
+
transition-duration: var(--astryx-duration-fast, 125ms);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.astryx-chat-dictation {
|
|
1182
|
+
position: relative;
|
|
1183
|
+
display: inline-flex;
|
|
1184
|
+
align-items: center;
|
|
1185
|
+
justify-content: center;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.astryx-chat-dictation__bars {
|
|
1189
|
+
position: absolute;
|
|
1190
|
+
display: flex;
|
|
1191
|
+
align-items: center;
|
|
1192
|
+
justify-content: center;
|
|
1193
|
+
pointer-events: none;
|
|
1194
|
+
z-index: 1;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.astryx-chat-dictation__bar {
|
|
1198
|
+
height: 100%;
|
|
1199
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
1200
|
+
transform-origin: center;
|
|
1201
|
+
transition: transform 0.06s ease-out, background-color 0.06s ease-out;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.astryx-chat-paste {
|
|
1205
|
+
display: flex;
|
|
1206
|
+
flex-direction: column;
|
|
1207
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
1208
|
+
max-width: 480px;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.astryx-chat-paste__text {
|
|
1212
|
+
max-height: 240px;
|
|
1213
|
+
overflow-y: auto;
|
|
1214
|
+
font-family: var(--astryx-font-family-code);
|
|
1215
|
+
font-size: var(--astryx-text-supporting-size);
|
|
1216
|
+
line-height: var(--astryx-text-supporting-leading);
|
|
1217
|
+
color: var(--astryx-color-text-primary);
|
|
1218
|
+
white-space: pre-wrap;
|
|
1219
|
+
word-break: break-word;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.astryx-chat-paste__footer {
|
|
1223
|
+
display: flex;
|
|
1224
|
+
align-items: center;
|
|
1225
|
+
justify-content: space-between;
|
|
1226
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.astryx-chat-paste__meta {
|
|
1230
|
+
font-size: var(--astryx-text-supporting-size);
|
|
1231
|
+
color: var(--astryx-color-text-secondary);
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.astryx-chat-trigger {
|
|
1235
|
+
min-width: 180px;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.astryx-chat-trigger__list {
|
|
1239
|
+
box-sizing: border-box;
|
|
1240
|
+
max-height: 240px;
|
|
1241
|
+
min-width: 180px;
|
|
1242
|
+
overflow-y: auto;
|
|
1243
|
+
padding: var(--astryx-spacing-1, 4px);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.astryx-chat-trigger__item {
|
|
1247
|
+
box-sizing: border-box;
|
|
1248
|
+
display: flex;
|
|
1249
|
+
align-items: center;
|
|
1250
|
+
width: 100%;
|
|
1251
|
+
padding: var(--astryx-spacing-2, 8px);
|
|
1252
|
+
border: 0;
|
|
1253
|
+
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
1254
|
+
outline: none;
|
|
1255
|
+
background-color: transparent;
|
|
1256
|
+
color: var(--astryx-color-text-primary);
|
|
1257
|
+
font-family: var(--astryx-font-family-body);
|
|
1258
|
+
font-size: var(--astryx-text-body-size);
|
|
1259
|
+
line-height: var(--astryx-text-body-leading);
|
|
1260
|
+
text-align: start;
|
|
1261
|
+
cursor: pointer;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.astryx-chat-trigger__item[data-highlighted] {
|
|
1265
|
+
background-color: var(--astryx-color-overlay-hover);
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.astryx-chat-trigger__label {
|
|
1269
|
+
flex: 1;
|
|
1270
|
+
min-width: 0;
|
|
1271
|
+
overflow: hidden;
|
|
1272
|
+
text-overflow: ellipsis;
|
|
1273
|
+
white-space: nowrap;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.astryx-chat-trigger__status {
|
|
1277
|
+
padding: var(--astryx-spacing-3, 12px);
|
|
1278
|
+
color: var(--astryx-color-text-secondary);
|
|
1279
|
+
font-size: var(--astryx-text-supporting-size);
|
|
1280
|
+
text-align: center;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.astryx-chat-trigger__heading {
|
|
1284
|
+
padding-inline: var(--astryx-spacing-2, 8px);
|
|
1285
|
+
padding-block: var(--astryx-spacing-2, 8px) var(--astryx-spacing-1, 4px);
|
|
1286
|
+
color: var(--astryx-color-text-secondary);
|
|
1287
|
+
font-size: var(--astryx-text-supporting-size);
|
|
1288
|
+
line-height: var(--astryx-text-supporting-leading);
|
|
1289
|
+
user-select: none;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
831
1292
|
@media (prefers-reduced-motion: reduce) {
|
|
832
1293
|
.astryx-chat-scroll-button__pill,
|
|
833
1294
|
.astryx-chat-tool-calls__chevron,
|
|
834
1295
|
.astryx-chat-tool-calls__panel,
|
|
835
|
-
.astryx-chat-reasoning__panel
|
|
1296
|
+
.astryx-chat-reasoning__panel,
|
|
1297
|
+
.astryx-chat-composer__body,
|
|
1298
|
+
.astryx-chat-drawer__summary,
|
|
1299
|
+
.astryx-chat-drawer__handle,
|
|
1300
|
+
.astryx-chat-drawer__label,
|
|
1301
|
+
.astryx-chat-drawer__grid,
|
|
1302
|
+
.astryx-chat-drawer__content,
|
|
1303
|
+
.astryx-chat-dictation__bar {
|
|
836
1304
|
transition: none;
|
|
837
1305
|
}
|
|
838
1306
|
|
package/styles/icon.css
CHANGED
|
@@ -221,5 +221,25 @@
|
|
|
221
221
|
.astryx-icon--image {
|
|
222
222
|
--astryx-icon-artwork: var(--astryx-icon-image, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2M8.5 13.5l2.5 3 3.5-4.5 4.5 6H5l3.5-5.5z' /%3E%3C/svg%3E"));
|
|
223
223
|
}
|
|
224
|
+
/* search */
|
|
225
|
+
.astryx-icon--search {
|
|
226
|
+
--astryx-icon-artwork: var(--astryx-icon-search, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"));
|
|
227
|
+
}
|
|
228
|
+
/* stop */
|
|
229
|
+
.astryx-icon--stop {
|
|
230
|
+
--astryx-icon-artwork: var(--astryx-icon-stop, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E"));
|
|
231
|
+
}
|
|
232
|
+
/* microphone */
|
|
233
|
+
.astryx-icon--microphone {
|
|
234
|
+
--astryx-icon-artwork: var(--astryx-icon-microphone, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V6a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1'/%3E%3Cpath d='M12 18v3'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E"));
|
|
235
|
+
}
|
|
236
|
+
/* warning */
|
|
237
|
+
.astryx-icon--warning {
|
|
238
|
+
--astryx-icon-artwork: var(--astryx-icon-warning, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"));
|
|
239
|
+
}
|
|
240
|
+
/* error */
|
|
241
|
+
.astryx-icon--error {
|
|
242
|
+
--astryx-icon-artwork: var(--astryx-icon-error, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E"));
|
|
243
|
+
}
|
|
224
244
|
/* ARTWORK: generated end */
|
|
225
245
|
}
|