@astryx-vue/core 0.2.1 → 0.2.3
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/THIRD_PARTY_NOTICES.md +2 -0
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-1wNIEtK_.js → AppShell-Dd-D4bA2.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.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-C97HmjkC.js → Breadcrumbs-CWGfgLNK.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-CnOsSjMY.js +656 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BGUnskjo.js → Carousel-JA7ilqI_.js} +2 -2
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +2 -2
- package/dist/Chat-C7WrCOE4.js +3148 -0
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DunoAqVH.js → Citation-CtwrU33I.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
- package/dist/{CodeBlock-CAF-VJnh.js → CodeBlock-BZGzYeoL.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DvMiYJp7.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-xfm9ldUI.js → CommandPalette-BNbM9T9y.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-B6lBTRhP.js → ComplexSelector-LtbLlrcj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-DUkED3Z3.js → ContextMenu-DVQl0xL5.js} +204 -56
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-zm8sNc0t.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-e9KSxBBK.js → DateRangeInput-DlVFzrf7.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-fSOfuLex.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-8G0B1UND.js → DropdownMenu-BoZChdev.js} +308 -63
- package/dist/DropdownMenu-u1psFjis.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D-fchyQH.js → FileInput-QdlZn7qK.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-Bku25g_K.js → Icon-bteSId7T.js} +114 -14
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-uuVGgHxW.js → Lightbox-BSzfqZ-u.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DLICa3db.js → Markdown-B6tSqenv.js} +8 -5
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-h492rqEN.js → MetadataList-aN1tRn6W.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BMj3Wtuq.js → MobileNavToggle-fqcSafkc.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DkYi5az5.js → MoreMenu-B3brqdK_.js} +1 -1
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C2IS-EaU.js → MultiSelector-BD5PMgez.js} +303 -121
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CjfAsFwj.js → NumberInput-CBeU4lEl.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BTmrtvXR.js → Outline--HVMSB6i.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CRE8BE7V.js → OverflowList-FMh7r-r_.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BpGXPmc7.js → Pagination-DlIvESjx.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +2 -0
- package/dist/PowerSearch/index.js +2 -0
- package/dist/PowerSearch-CMG7Rb69.js +2386 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-CE8XQDL2.js → Resizable-CXpvj1TZ.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-BpPnuWH3.js +618 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DcDWBnXJ.js → SideNav-D4TupqgE.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DZKaqEoz.js → Stepper-H-6-T5Ps.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-hm06QPiW.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/Table-nqA_njNz.js +1982 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +2 -1
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CAOYds8t.js → Thumbnail-CXb3m_Hv.js} +2 -2
- package/dist/{TimeField-BGbxCoKU.js → TimeField-B3cndWb0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJP3l4ZS.js → TimeInput-BHQ_LKGm.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BzRp8uWc.js → Timestamp-Cfuxbb3i.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CjocuhzE.js → Token-CdVLH0_H.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mYES5SPM.js → Tokenizer-DlD-S_8-.js} +4 -4
- 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-DzV874G7.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-THJ0KamE.js → TreeList-DEwvlZRV.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-D7VnvRpK.js → Typeahead-DQ3tmqYe.js} +4 -4
- package/dist/{useTypeaheadMenu-Ba7XpcZl.js → TypeaheadMenu-CGvo0Tud.js} +107 -107
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +4 -4
- package/dist/composables/index.js +10 -5
- package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{context-DzcK4T_C.js → context-DmOLCubj.js} +262 -12
- package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
- package/dist/index-B9WzWqzk.d.ts +18 -0
- package/dist/index-B9f1rUEv.d.ts +77 -0
- package/dist/{index-DnSrjbjP.d.ts → index-BB5yVIN-.d.ts} +2 -2
- package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
- package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
- package/dist/{index-DeOftUMq.d.ts → index-BTAgQRP0.d.ts} +762 -114
- package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
- package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
- package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
- package/dist/{index-I4J7gwa1.d.ts → index-C2sfHfBw.d.ts} +31 -5
- package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
- package/dist/{index-DnEh-HA0.d.ts → index-C_2Z65Rp.d.ts} +1 -1
- package/dist/{index-cG1E0U2s.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
- package/dist/{index-CBym0hSq.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-DXSs3rwa.d.ts → index-CngORuiq.d.ts} +137 -2
- package/dist/index-Ctu32CLv.d.ts +902 -0
- package/dist/{index-DQAnGHu7.d.ts → index-D1Twv_fL.d.ts} +65 -6
- package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
- package/dist/index-DMQG6kdM.d.ts +416 -0
- package/dist/index-D_UEJIU5.d.ts +83 -0
- package/dist/{index-D2bSSSBP.d.ts → index-DkVEBdWa.d.ts} +2 -2
- package/dist/{index-SMh42NI8.d.ts → index-DxsKyAxq.d.ts} +118 -46
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-Clmz00IK.d.ts → index-LIyvJTW3.d.ts} +63 -0
- package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
- package/dist/{index-Z_onS2lR.d.ts → index-f4NGT-e2.d.ts} +3 -3
- package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
- package/dist/{index-1uRMrk63.d.ts → index-nCEmW6wa.d.ts} +1 -1
- package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
- package/dist/{index-3p2BDVHq.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
- package/dist/index.d.ts +81 -78
- package/dist/index.js +122 -106
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
- package/dist/power-search-DrDfcoL1.d.ts +68 -0
- package/dist/searchResultMessage-DN0HeRRB.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/{types-JktRxujg.d.ts → types-Cp4liug-.d.ts} +66 -3
- package/dist/{types-BKcxXW--.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/types-DIYwbkpe.d.ts +33 -0
- package/dist/types-jmqqnkKA.d.ts +163 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/{useResizable-CeESZS1v.d.ts → useResizable-CUoNPmUw.d.ts} +1 -1
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/package.json +9 -1
- package/styles/calendar.css +38 -3
- package/styles/chat.css +469 -1
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/icon.css +69 -1
- package/styles/input-group.css +32 -3
- package/styles/multi-selector.css +26 -0
- package/styles/power-search.css +303 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles/table.css +304 -1
- package/styles.css +3 -0
- package/dist/Calendar-DqC3EDN1.js +0 -352
- package/dist/Chat-DCjXRiOF.js +0 -1051
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-Crcg-CCj.js +0 -376
- package/dist/DropdownMenu-XvW4BJob.js +0 -164
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Selector-DkJOLZSR.js +0 -468
- package/dist/Table-DwehtMap.js +0 -967
- package/dist/index-BLOEjvaM.d.ts +0 -398
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-CuFLztiI.d.ts +0 -49
- package/dist/index-DJo-BmXZ.d.ts +0 -431
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
package/styles/calendar.css
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
color: var(--astryx-color-text-secondary, #525252);
|
|
80
80
|
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
81
81
|
font-weight: 400;
|
|
82
|
+
text-align: center;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.astryx-calendar-grid {
|
|
@@ -114,15 +115,49 @@
|
|
|
114
115
|
box-shadow: inset 0 0 0 1px var(--astryx-color-border-emphasized, #d4d4d4);
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
.astryx-calendar
|
|
118
|
+
.astryx-calendar-months {
|
|
118
119
|
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
119
121
|
gap: var(--astryx-spacing-4, 16px);
|
|
120
122
|
}
|
|
121
123
|
|
|
122
|
-
.astryx-calendar[data-
|
|
124
|
+
.astryx-calendar-grid[data-week-numbers] .astryx-calendar-weekdays,
|
|
125
|
+
.astryx-calendar-grid[data-week-numbers] .astryx-calendar-row {
|
|
126
|
+
grid-template-columns: var(--astryx-spacing-6, 24px) repeat(7, var(--astryx-input-height-md, 32px));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.astryx-calendar-week-number {
|
|
123
130
|
display: flex;
|
|
124
131
|
align-items: center;
|
|
125
|
-
justify-content:
|
|
132
|
+
justify-content: center;
|
|
133
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
134
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.astryx-calendar-gridcell {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.astryx-calendar-cell.is-in-range.is-round-start {
|
|
144
|
+
border-start-start-radius: var(--astryx-radius-full, 9999px);
|
|
145
|
+
border-end-start-radius: var(--astryx-radius-full, 9999px);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.astryx-calendar-cell.is-in-range.is-round-end {
|
|
149
|
+
border-start-end-radius: var(--astryx-radius-full, 9999px);
|
|
150
|
+
border-end-end-radius: var(--astryx-radius-full, 9999px);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.astryx-calendar-cell:focus-visible {
|
|
154
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentColor);
|
|
155
|
+
outline-offset: 1px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.astryx-calendar-nav-button:focus-visible {
|
|
159
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentColor);
|
|
160
|
+
outline-offset: 1px;
|
|
126
161
|
}
|
|
127
162
|
|
|
128
163
|
.astryx-calendar-cell.is-in-range {
|
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
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-check-indicator {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
flex: none;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
width: 1rem;
|
|
10
|
+
height: 1rem;
|
|
11
|
+
color: var(--astryx-icon-accent-foreground, var(--astryx-color-accent, #262626));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.astryx-check-indicator[data-disabled='true'] {
|
|
15
|
+
color: var(--astryx-icon-disabled-foreground, var(--astryx-color-icon-disabled, #a3a3a3));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
width: 24px;
|
|
11
11
|
height: 24px;
|
|
12
|
-
border:
|
|
13
|
-
border-
|
|
14
|
-
color: var(--astryx-checkbox-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
border-style: solid;
|
|
13
|
+
border-width: var(--astryx-border-width, 1px);
|
|
14
|
+
border-color: var(--astryx-checkbox-border, var(--astryx-color-border-emphasized, #d4d4d4));
|
|
15
|
+
border-radius: var(--astryx-radius-inner, 0.375rem);
|
|
16
|
+
color: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
17
|
+
background: var(--astryx-checkbox-background, var(--astryx-color-background-surface, #fff));
|
|
18
|
+
transition-property: background-color, border-color;
|
|
19
|
+
transition-duration: var(--astryx-duration-fast, 125ms);
|
|
20
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.astryx-checkbox-indicator[data-size='sm'] {
|
|
@@ -22,17 +26,18 @@
|
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
.astryx-checkbox-indicator:not([data-state='unchecked']) {
|
|
25
|
-
color: var(--astryx-checkbox-on-accent, #fff);
|
|
26
|
-
background: var(--astryx-checkbox-accent, #262626);
|
|
27
|
-
border-color: var(--astryx-checkbox-accent, #262626);
|
|
29
|
+
color: var(--astryx-checkbox-on-accent, var(--astryx-color-on-accent, #fff));
|
|
30
|
+
background: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
31
|
+
border-color: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
.astryx-checkbox-indicator[data-disabled='true'] {
|
|
31
35
|
opacity: 0.5;
|
|
36
|
+
border-color: var(--astryx-color-border, var(--astryx-checkbox-border, #d4d4d4));
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
.astryx-checkbox-indicator[data-disabled='true'][data-state='unchecked'] {
|
|
35
|
-
background: var(--astryx-checkbox-disabled-background, #f5f5f5);
|
|
40
|
+
background: var(--astryx-checkbox-disabled-background, var(--astryx-color-background-muted, #f5f5f5));
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
.astryx-checkbox-indicator-check {
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
display: none;
|
|
46
51
|
width: 12px;
|
|
47
52
|
height: 2px;
|
|
48
|
-
border-radius: 9999px;
|
|
53
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
49
54
|
background: currentcolor;
|
|
50
55
|
}
|
|
51
56
|
|
|
@@ -63,6 +68,18 @@
|
|
|
63
68
|
display: block;
|
|
64
69
|
}
|
|
65
70
|
|
|
71
|
+
@media (hover: hover) {
|
|
72
|
+
.astryx-indicator-scope:hover .astryx-checkbox-indicator[data-state='unchecked']:not([data-disabled='true']) {
|
|
73
|
+
border-color: color-mix(in srgb, var(--astryx-checkbox-border, var(--astryx-color-border-emphasized, #d4d4d4)), var(--astryx-color-tint-hover, black) 20%);
|
|
74
|
+
background-color: color-mix(in srgb, var(--astryx-checkbox-background, var(--astryx-color-background-surface, #fff)), var(--astryx-color-tint-hover, black) 5%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.astryx-indicator-scope:hover .astryx-checkbox-indicator:not([data-state='unchecked']):not([data-disabled='true']) {
|
|
78
|
+
border-color: color-mix(in srgb, var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626)), var(--astryx-color-tint-hover, black) 15%);
|
|
79
|
+
background-color: color-mix(in srgb, var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626)), var(--astryx-color-tint-hover, black) 15%);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
66
83
|
@media (prefers-reduced-motion: reduce) {
|
|
67
84
|
.astryx-checkbox-indicator { transition: none; }
|
|
68
85
|
}
|
|
@@ -74,10 +91,12 @@
|
|
|
74
91
|
border-color: CanvasText;
|
|
75
92
|
background: Canvas;
|
|
76
93
|
}
|
|
94
|
+
|
|
77
95
|
.astryx-checkbox-indicator-dash {
|
|
78
96
|
forced-color-adjust: none;
|
|
79
97
|
background: CanvasText;
|
|
80
98
|
}
|
|
99
|
+
|
|
81
100
|
.astryx-checkbox-indicator[data-disabled='true'] {
|
|
82
101
|
color: GrayText;
|
|
83
102
|
border-color: GrayText;
|
|
@@ -45,17 +45,6 @@
|
|
|
45
45
|
.astryx-checkbox-input[data-blocked='true'] .astryx-checkbox-native,
|
|
46
46
|
.astryx-checkbox-input[data-blocked='true'] .astryx-field-label { cursor: default; }
|
|
47
47
|
|
|
48
|
-
@media (hover: hover) {
|
|
49
|
-
.astryx-checkbox-input:not([data-blocked='true']) .astryx-checkbox-row:hover .astryx-checkbox-indicator {
|
|
50
|
-
background: color-mix(in srgb, var(--astryx-checkbox-background, #fff), var(--astryx-checkbox-accent, #262626) 5%);
|
|
51
|
-
border-color: color-mix(in srgb, var(--astryx-checkbox-border, #d4d4d4), var(--astryx-checkbox-accent, #262626) 20%);
|
|
52
|
-
}
|
|
53
|
-
.astryx-checkbox-input:not([data-blocked='true']) .astryx-checkbox-row:hover .astryx-checkbox-indicator:not([data-state='unchecked']) {
|
|
54
|
-
background: color-mix(in srgb, var(--astryx-checkbox-accent, #262626), var(--astryx-checkbox-on-accent, #fff) 15%);
|
|
55
|
-
border-color: transparent;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
48
|
.astryx-checkbox-spinner {
|
|
60
49
|
box-sizing: border-box;
|
|
61
50
|
width: 12px;
|