@astryx-vue/core 0.42.4 → 0.42.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/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-sk5DEUX7.js → AlertDialog-CQxV1x0M.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BQz-P6TD.js → Avatar-Dl2oiG7t.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-BbPS_49c.js → Badge-D3ZreOKp.js} +12 -7
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CW4g5z40.js → Banner-u7GJQV3O.js} +33 -16
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CzEe4fKS.js → Breadcrumbs-B6UW2BdV.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-CTVXQgV3.js → Button-D8vn_DnZ.js} +41 -10
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CknFA9IA.js → ButtonGroup-Bt7UZF_U.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-B0ZOSlPH.js → Carousel-BE-PqpOJ.js} +48 -14
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DqwHn6hi.js → Chat-D_CxKvTw.js} +4 -4
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-ChbqO3Hp.js → CheckboxInput-CiSb9VDk.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-3y4ehVhz.js → CheckboxListItem-BwGzAz8V.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BbjuJYk5.js → Code-Cnk4QmuK.js} +1 -1
- package/dist/{CodeBlock-BpjzHtSR.js → CodeBlock-PuLo1vOn.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CIpvefL3.js → CommandPalette-DX9qEl8X.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CipXIUa4.js → ComplexSelector-DtewMXzB.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-F315dVbZ.js → ContextMenu-Bs77yiLi.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D0TJlbEE.js → DateInput-BQ_q7nbT.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CcNQTdtg.js → DateRangeInput-lun9lX7q.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BjtzVqV5.js → DateTimeInput-Dm8lyQlG.js} +5 -5
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-rLh39zHH.js → DialogHeader-BpQQMQcb.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-Dw1wyfvQ.js → Drawer-C82o6bdA.js} +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-B6lOBGrw.js → DropdownMenu-BiYgf2YY.js} +4 -4
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DOMOEsvj.js → EmptyState-B57OV1V_.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DJGFZuwh.js → Field-jM0Ithrd.js} +1 -1
- package/dist/{FieldInfoTip-l_ke1Zlh.js → FieldInfoTip-BrxcbuTn.js} +1 -1
- package/dist/{FieldLabel-BZiHqHsQ.js → FieldLabel-BmjvZVOQ.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BOT35CQc.js → FileInput-Bb6LdXY1.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CsSZgiqn.js → Heading-Cymy5utP.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-89mASa8g.js → IconButton-BdXfxjCD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-B_7kJX7x.js → InfoTip-BCOxwsJ4.js} +1 -1
- package/dist/{InputClearButton-BC1ytQT5.js → InputClearButton-Dp87bq1c.js} +3 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-M3mSe3lV.js → InputGroup-CsEB0Ufk.js} +2 -2
- package/dist/{Item-DznHXYbG.js → Item-DOATMVXE.js} +4 -4
- package/dist/Kbd/index.js +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-TatgdqWu.js → Lightbox-DpZLzzTZ.js} +7 -7
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-5KuMIFYl.js → Link-CRNgZw--.js} +14 -4
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-BVpWTW6J.js → List-CsumsvTg.js} +2 -2
- package/dist/{ListItem-BzOD8HbS.js → ListItem-DHpWkhT9.js} +2 -2
- package/dist/{LongPressGestureRecognizer-C1JQQdg-.js → LongPressGestureRecognizer-V_iVvLNU.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-B1gt3Uq4.js → Markdown-DwCAq1ds.js} +4 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CsPdGjuE.js → MoreMenu-BJqN4qQ6.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BBetuRV7.js → MultiSelector-s09q_Lot.js} +4 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BuQf0mvj.js → NumberInput-DIgfEtYW.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-9ZlklMvN.js → Pagination-CvPQ6Xvk.js} +2 -2
- package/dist/{PanGestureRecognizer-_yCWSqMD.js → PanGestureRecognizer-Crc0PhW0.js} +1 -1
- package/dist/{PickerWheel-DJqK1f2w.js → PickerWheel-WEFgBW8I.js} +4 -4
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BXB3DaAJ.js → Popover-VGJEMOBl.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BHs855Bg.js → PowerSearch-B8VKqYSb.js} +23 -23
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Otv4DLQP.js → ProgressBar-IRNmWLg-.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BYZ9mspa.js → RadioGroup-DoI7wu5m.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-BjiT8DAp.js → RadioListItem-Bb0ggwoG.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DgZ2y1ff.js → SegmentedControl-DjruBeFm.js} +2 -2
- 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-DERRZ5Hh.js → Selector-BV2L5xMI.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D-ubf-w7.js → SideNav-BYWNIIXT.js} +3 -3
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BrZeUJJF.js → Slider-pnFJ6MfZ.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-lLOYfbOY.js → Spinner-D6U81W87.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Ce31aeru.js → StatusDot-CdtauWfk.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-MeieW4dP.js → Switch-BJ9skC9r.js} +2 -2
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DCUCpmv8.js → Table-Dsf4UU08.js} +170 -31
- package/dist/{TapGestureRecognizer-CH88amVE.js → TapGestureRecognizer-Cv0y3c02.js} +2 -2
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BLPg6wdX.js → Text-9twwURuI.js} +3 -3
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DilGjhXe.js → TextArea-C66zML5G.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Dd0BHZ5n.js → TextInput-BGsRns-X.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CdAR7gMc.js → Thumbnail-iJILNRPc.js} +3 -3
- package/dist/{TimeField-6UCe0-g2.js → TimeField-a83r3-AM.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-qDkdX2tw.js → TimeInput-BiYKuVMQ.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-i3ujG9pH.js → Timer-DBujcX_B.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-Di_Ge164.js → Timestamp-Dv6_wb89.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BHbQcMjq.js → Toast-DQMcX2nf.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-D5OyWtXD.js → ToggleButton-fvo3Mxmb.js} +2 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BYl3tF1p.js → Token-B_jnJ700.js} +61 -13
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DiekBXC-.js → Tokenizer-f1byujPP.js} +10 -10
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CFQrHG0a.js → Tooltip-W32cHQH0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Db0dqCd9.js → TreeList-CGW9V6x-.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-oPhwt4z4.js → Typeahead-KXBQ4jXf.js} +5 -5
- package/dist/{accessibleName-BVk1Rzrl.js → accessibleName-Dpzu2nL1.js} +1 -1
- package/dist/{announceRenderedText-CslZ0cev.js → announceRenderedText-pHs_kfQB.js} +3 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/{composables-DeNxbB0w.js → composables-cdO2fBF6.js} +7 -18
- package/dist/{context-Cgkyk-b7.js → context-Ds4l8NtJ.js} +6 -1
- package/dist/devWarnings-DI1R0rGp.js +14 -0
- package/dist/{index-DprdUHnl.d.ts → index-B7vE2Dx8.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
- package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-CEdoNcHF.d.ts → index-BfOs5BQj.d.ts} +2 -2
- package/dist/{index-Dk50Zh3F.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-Bwh8O-v8.d.ts → index-CC9ETLL4.d.ts} +2 -2
- package/dist/{index--kbwaSXW.d.ts → index-CI-FbXLB.d.ts} +1 -1
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-C_U7qGF2.d.ts → index-CuBP0rmj.d.ts} +5 -5
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-DAz4l6Jw.d.ts → index-DD3c1ZhS.d.ts} +1 -1
- package/dist/{index-BXPadfuA.d.ts → index-DFlzXsvO.d.ts} +6 -6
- package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-J83fLEyo.d.ts → index-DgNCHxvu.d.ts} +2 -2
- package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
- package/dist/{index-P25rFY2l.d.ts → index-Upg2KRlh.d.ts} +68 -68
- package/dist/{index-CLbslOVk.d.ts → index-cxXrnuj3.d.ts} +1 -1
- package/dist/index.d.ts +22 -22
- package/dist/index.js +77 -77
- package/dist/internal/touch.js +6 -6
- package/dist/{itemSlots-CIQbrKkZ.js → itemSlots-D9aPTELK.js} +2 -2
- package/dist/rootFocusHandoff-CORyJeRP.js +25 -0
- package/dist/{snapPagingCatcher-DUb8YU3G.js → snapPagingCatcher-CQ34r-x-.js} +1 -1
- package/dist/textDirection-DJl_tYja.js +60 -0
- package/dist/{useFingerScroll-DO4LVzDf.js → useFingerScroll-CC19P9JS.js} +1 -1
- package/dist/{useGestureRecognizer-CozA1twZ.js → useGestureRecognizer-D5kNuQzG.js} +1 -1
- package/dist/{useInputStatusIcon-CNYJtEbA.js → useInputStatusIcon-BW70yd3c.js} +1 -1
- package/dist/{useResizable-CKDaU_se.d.ts → useResizable-CJFVvx_2.d.ts} +4 -0
- package/dist/{useTooltip-CdD6ivAv.js → useTooltip-D5kJD9ed.js} +1 -1
- package/dist/{useTruncationTooltip-C37kvtXu.js → useTruncationTooltip-Cx4R7Fyp.js} +12 -5
- package/dist/{useTypeaheadMenuConfig-DHX88vqs.js → useTypeaheadMenuConfig-TSkUldd9.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/button.css +7 -2
- package/styles/carousel.css +15 -0
- package/styles/citation.css +7 -2
- package/styles/cut-text.css +13 -0
- package/styles/table.css +31 -8
- package/styles/token.css +30 -0
- package/styles.css +1 -0
- package/dist/textDirection-D4ObTwbB.js +0 -32
- package/dist/{GestureHost-CRgadcBb.js → GestureHost-DXlDxyns.js} +1 -1
- package/dist/{Kbd-CbD993ig.js → Kbd-CwtGTUmB.js} +1 -1
- package/dist/{index-CuFLztiI.d.ts → index-BCqQijN1.d.ts} +0 -0
- package/dist/{index-BqhgeAT4.d.ts → index-DrIxH3YE.d.ts} +2 -2
- package/dist/{useResizable-mkUwYfmy.js → useResizable-Diq3vRVH.js} +1 -1
|
@@ -4,7 +4,7 @@ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
|
4
4
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
6
|
import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
|
|
7
|
-
import { t as _sfc_main$3 } from "./Spinner-
|
|
7
|
+
import { t as _sfc_main$3 } from "./Spinner-D6U81W87.js";
|
|
8
8
|
import { t as createStillPointerGate } from "./stillPointerGate-D15jGSjP.js";
|
|
9
9
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
package/dist/utils/index.js
CHANGED
|
@@ -5,6 +5,6 @@ import { n as observeResize, r as unobserveResize } from "../sharedResizeObserve
|
|
|
5
5
|
import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "../timeParser-nVL5sIwT.js";
|
|
6
6
|
import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "../plainDate-CaTDErKr.js";
|
|
7
7
|
import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "../inputPresentation-DES0JwkL.js";
|
|
8
|
-
import { t as useFingerScroll } from "../useFingerScroll-
|
|
8
|
+
import { t as useFingerScroll } from "../useFingerScroll-CC19P9JS.js";
|
|
9
9
|
import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers, t as parseStyleKey } from "../utils-BW62BpDR.js";
|
|
10
10
|
export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, SHARED_DATE_FORMAT_OPTIONS, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize, scrollEventTarget as unstable_scrollEventTarget, scrollportTop as unstable_scrollportTop, scrollsPage as unstable_scrollsPage, setScrollAnchoringOff as unstable_setScrollAnchoringOff, useFingerScroll as unstable_useFingerScroll };
|
package/package.json
CHANGED
package/styles/button.css
CHANGED
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
|
|
51
51
|
@layer astryx.components {
|
|
52
52
|
.astryx-button {
|
|
53
|
+
/*
|
|
54
|
+
* 按下时的缩放倍数。打开的弹层把这个按钮当锚点时,在按钮上把它设成 1,按下不缩,弹层不跟着挪。
|
|
55
|
+
* 这里写 initial,外层控件上的值传不进来。
|
|
56
|
+
*/
|
|
57
|
+
--_astryx-press-scale: initial;
|
|
53
58
|
--button-focus-offset: 3px;
|
|
54
59
|
--button-icon-only-aspect: 1 / 1;
|
|
55
60
|
/* 悬停叠层和描边都先落到这两组内部变量,变体块只改内部变量。 */
|
|
@@ -184,13 +189,13 @@
|
|
|
184
189
|
var(--astryx-button-pressed-overlay, #0000001a),
|
|
185
190
|
var(--astryx-button-pressed-overlay, #0000001a)
|
|
186
191
|
);
|
|
187
|
-
transform: scale(0.98);
|
|
192
|
+
transform: scale(var(--_astryx-press-scale, 0.98));
|
|
188
193
|
}
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
/* 和悬停、:active 同一权重,写在后面,按压盖过悬停。底色留给变体,按压只换上层图片。 */
|
|
192
197
|
.astryx-button:not(:disabled):not([aria-disabled='true'])[data-astryx-press='on'] {
|
|
193
|
-
transform: scale(0.98);
|
|
198
|
+
transform: scale(var(--_astryx-press-scale, 0.98));
|
|
194
199
|
}
|
|
195
200
|
|
|
196
201
|
.astryx-button:not(:disabled):not([aria-disabled='true'])[data-astryx-press] {
|
package/styles/carousel.css
CHANGED
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/* 主题设了 `reducedMotion: 'always'` 时同样不做平滑滚动。 */
|
|
40
|
+
[data-astryx-reduced-motion] .astryx-carousel__scroller {
|
|
41
|
+
scroll-behavior: auto;
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
/* 滚动区是焦点的主人,但它的边缘渐隐遮罩会盖住自己画的焦点环;
|
|
40
45
|
所以由外层在内容之上画一层同款焦点环,向内收一个环宽,完整落在轮播框内。 */
|
|
41
46
|
.astryx-carousel__scroller:focus-visible {
|
|
@@ -122,6 +127,16 @@
|
|
|
122
127
|
pointer-events: none;
|
|
123
128
|
}
|
|
124
129
|
|
|
130
|
+
/* 挂载后第一次测量的那一帧,按钮直接到位:淡入会让第一帧画成没有按钮。 */
|
|
131
|
+
.astryx-carousel__pill[data-unfaded] {
|
|
132
|
+
transition-property: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* 按钮也直接离开禁用态;悬停和按压照常过渡。 */
|
|
136
|
+
.astryx-carousel__pill[data-unfaded] .astryx-button {
|
|
137
|
+
transition-property: background-image, background-color, color, transform;
|
|
138
|
+
}
|
|
139
|
+
|
|
125
140
|
[dir='rtl'] .astryx-carousel__pill .astryx-icon {
|
|
126
141
|
transform: scaleX(-1);
|
|
127
142
|
}
|
package/styles/citation.css
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
flex-shrink: 0;
|
|
18
18
|
width: max-content;
|
|
19
19
|
max-width: none;
|
|
20
|
-
|
|
20
|
+
/* 默认字号下一行不比芯片高,高度不变;字号变大时芯片跟着文字长高。用 min-height 会把边框算进行高。 */
|
|
21
|
+
height: max(var(--astryx-spacing-5, 20px), 1lh);
|
|
21
22
|
margin-inline-start: var(--astryx-spacing-0-5, 2px);
|
|
22
23
|
padding-inline: var(--astryx-spacing-2, 8px);
|
|
23
24
|
overflow: visible;
|
|
@@ -44,7 +45,11 @@
|
|
|
44
45
|
align-items: center;
|
|
45
46
|
justify-content: center;
|
|
46
47
|
min-width: var(--astryx-spacing-5, 20px);
|
|
47
|
-
|
|
48
|
+
/*
|
|
49
|
+
* 默认字号下保持间距尺寸;字号变大时跟着长高,但最多 1.5em,足够装下常见界面字体的字框。
|
|
50
|
+
* 上标徽标和行一样高会把整行顶高。
|
|
51
|
+
*/
|
|
52
|
+
height: max(var(--astryx-spacing-5, 20px), min(1lh, 1.5em));
|
|
48
53
|
padding-inline: var(--astryx-spacing-1, 4px);
|
|
49
54
|
vertical-align: super;
|
|
50
55
|
border-radius: var(--astryx-radius-full, 9999px);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* 自己截短文字的元素按文字的书写方向设了 `dir`(cutTextDirection),省略号才截在文字末尾。
|
|
5
|
+
* 这个类让它仍按父元素的方向对齐:`match-parent` 按父元素的方向解析 start 和 end,
|
|
6
|
+
* Chromium 只认带前缀的写法,所以两种都写。
|
|
7
|
+
*/
|
|
8
|
+
@layer astryx.components {
|
|
9
|
+
.astryx-cut-text-page-align {
|
|
10
|
+
text-align: -webkit-match-parent;
|
|
11
|
+
text-align: match-parent;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/styles/table.css
CHANGED
|
@@ -229,6 +229,24 @@
|
|
|
229
229
|
text-overflow: ellipsis;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
+
/*
|
|
233
|
+
* 截短的纯文字标题带着自己文字的方向(dir),省略号截在结尾、开头留着;
|
|
234
|
+
* 对齐仍按页面方向走。Chromium 只认带前缀的写法。
|
|
235
|
+
*/
|
|
236
|
+
.astryx-table__header-label[dir],
|
|
237
|
+
.astryx-table__cut-heading[dir] {
|
|
238
|
+
text-align: -webkit-match-parent;
|
|
239
|
+
text-align: match-parent;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* 手写行列模式里截短的纯文字标题由自己的盒子截,方向放在这个盒子上,不动格子的内边距和分隔线。 */
|
|
243
|
+
.astryx-table__cut-heading {
|
|
244
|
+
display: block;
|
|
245
|
+
overflow: hidden;
|
|
246
|
+
text-overflow: ellipsis;
|
|
247
|
+
white-space: nowrap;
|
|
248
|
+
}
|
|
249
|
+
|
|
232
250
|
.astryx-table[data-dividers='rows'] tbody tr:not(:last-child) > td,
|
|
233
251
|
.astryx-table[data-dividers='grid'] tbody tr:not(:last-child) > td {
|
|
234
252
|
--_table-row-divider-width: var(--astryx-border-width, 1px);
|
|
@@ -688,21 +706,26 @@
|
|
|
688
706
|
|
|
689
707
|
/*
|
|
690
708
|
* The row-expansion toggle holds whatever the theme's table-row-expand slot
|
|
691
|
-
* resolves in a box the size of the default glyph, centred out of
|
|
692
|
-
* larger glyph or a hidden one keeps the toggle's baseline
|
|
693
|
-
* The box carries the turn, so any glyph turns with it.
|
|
709
|
+
* resolves in a box the size of the default glyph, centred out of the line. A
|
|
710
|
+
* larger glyph or a hidden one keeps the toggle's baseline (the box's bottom
|
|
711
|
+
* edge) and the row height. The box carries the turn, so any glyph turns with it.
|
|
712
|
+
* Safari 在行滑动的每一帧都要处理表格里每个定位或变换过的盒子,所以这个盒子静止时
|
|
713
|
+
* 不定位:浮动的 flex 盒把图标居中,又不占行内位置;收起的箭头也没有 transform。
|
|
694
714
|
*/
|
|
695
715
|
.astryx-table__chevron-icon--slot {
|
|
696
|
-
|
|
716
|
+
display: inline-block;
|
|
697
717
|
inline-size: 0.75rem;
|
|
698
718
|
block-size: 0.75rem;
|
|
699
719
|
flex-shrink: 0;
|
|
700
720
|
}
|
|
701
721
|
|
|
702
|
-
.astryx-table__chevron-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
722
|
+
.astryx-table__chevron-glyph {
|
|
723
|
+
float: inline-start;
|
|
724
|
+
display: flex;
|
|
725
|
+
align-items: center;
|
|
726
|
+
justify-content: center;
|
|
727
|
+
inline-size: 100%;
|
|
728
|
+
block-size: 100%;
|
|
706
729
|
}
|
|
707
730
|
|
|
708
731
|
.astryx-table__chevron-icon.is-expanded {
|
package/styles/token.css
CHANGED
|
@@ -107,6 +107,19 @@
|
|
|
107
107
|
border: 0;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
/*
|
|
111
|
+
* 尾部内容和标签一起被截短,长值不会把删除按钮挤出 token。
|
|
112
|
+
* 裁切框四周留出焦点环的宽度,里面的控件聚焦时环不被裁掉;同样大的负外边距保持布局不变。
|
|
113
|
+
*/
|
|
114
|
+
.astryx-token-end {
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
min-width: 0;
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
padding: calc(var(--astryx-focus-outline-width, 2px) + var(--astryx-focus-outline-offset, 3px));
|
|
120
|
+
margin: calc(-1 * (var(--astryx-focus-outline-width, 2px) + var(--astryx-focus-outline-offset, 3px)));
|
|
121
|
+
}
|
|
122
|
+
|
|
110
123
|
.astryx-token-action {
|
|
111
124
|
display: inline-flex;
|
|
112
125
|
align-items: center;
|
|
@@ -152,6 +165,23 @@
|
|
|
152
165
|
}
|
|
153
166
|
}
|
|
154
167
|
|
|
168
|
+
/* 删除按钮在自己的圆形底上画悬停和按压,和别的图标按钮同一层色。 */
|
|
169
|
+
@media (hover: hover) {
|
|
170
|
+
.astryx-token-remove:not([aria-disabled='true']):hover {
|
|
171
|
+
background-image: linear-gradient(var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c)), var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c)));
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media not all and (pointer: coarse) {
|
|
176
|
+
.astryx-token-remove:not([aria-disabled='true']):active {
|
|
177
|
+
background-image: linear-gradient(var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19)), var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19)));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.astryx-token-remove:not([aria-disabled='true'])[data-astryx-press] {
|
|
182
|
+
background-image: var(--_press-paint-image);
|
|
183
|
+
}
|
|
184
|
+
|
|
155
185
|
.astryx-token.is-disabled {
|
|
156
186
|
cursor: default;
|
|
157
187
|
opacity: 0.5;
|
package/styles.css
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
@import './styles/complex-selector.css';
|
|
29
29
|
@import './styles/container-reveal.css';
|
|
30
30
|
@import './styles/context-menu.css';
|
|
31
|
+
@import './styles/cut-text.css';
|
|
31
32
|
@import './styles/date-range-input.css';
|
|
32
33
|
@import './styles/date-time-input.css';
|
|
33
34
|
@import './styles/dialog.css';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
|
|
2
|
-
//#region src/utils/textDirection.ts
|
|
3
|
-
/**
|
|
4
|
-
* @file textDirection.ts
|
|
5
|
-
* @input 组件里装调用方文字的那段内容(字符串、数字,或别的节点)
|
|
6
|
-
* @output textDirection:纯文字里一个从右往左的字母都没有时答 `'ltr'`,
|
|
7
|
-
* 其余情况答 `undefined`,让文字沿用页面方向
|
|
8
|
-
* @position 内部工具,不从包里导出。Badge、Token、InputGroupText 把它放在
|
|
9
|
-
* 装调用方文字的元素上,和 `unicode-bidi: isolate` 搭配使用
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Unicode 双向算法里的强右到左字符(Bidi_Class `R` 和 `AL`)。在用的文字按名字列出
|
|
13
|
-
* (阿拉伯字母标记 U+061C 属于阿拉伯文),再加上右到左标记 U+200F;
|
|
14
|
-
* 两段码位范围覆盖辅助平面里的古代右到左文字和 Adlam。
|
|
15
|
-
*/
|
|
16
|
-
const STRONG_RTL = unicodeRegExp("[\\p{Script=Arabic}\\p{Script=Hebrew}\\p{Script=Mandaic}\\p{Script=Nko}\\p{Script=Samaritan}\\p{Script=Syriac}\\p{Script=Thaana}\\u200F\\u{10800}-\\u{10FFF}\\u{1E800}-\\u{1EFFF}]");
|
|
17
|
-
/** 文字里有没有任何一个强右到左字符。 */
|
|
18
|
-
function hasStrongRightToLeft(text) {
|
|
19
|
-
for (const character of text) if (STRONG_RTL.test(character)) return true;
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* 右到左页面上,左到右文字里的弱字符和中性字符会被重排(`https://` 显示成 `//:https`,
|
|
24
|
-
* `+3` 显示成 `3+`)。所以没有右到左字母的纯文字按左到右排;有的就沿用页面方向,
|
|
25
|
-
* 这样以拉丁词开头的右到左标签仍然从右往左读。别的节点不管,由调用方在自己的内容上标方向。
|
|
26
|
-
*/
|
|
27
|
-
function textDirection(content) {
|
|
28
|
-
if (typeof content !== "string" && typeof content !== "number") return void 0;
|
|
29
|
-
return hasStrongRightToLeft(String(content)) ? void 0 : "ltr";
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { textDirection as t };
|
|
@@ -5,8 +5,8 @@ import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } fro
|
|
|
5
5
|
import { n as sharedKey, t as realmValue } from "./sharedRealm-BYHklCVM.js";
|
|
6
6
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
7
7
|
import { i as UIKIT_LONG_PRESS, l as UIKIT_TAP, s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
|
|
8
|
-
import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cl58tYA6.js";
|
|
9
8
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
9
|
+
import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cl58tYA6.js";
|
|
10
10
|
import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
|
|
11
11
|
import { i as locksSelectionFor, r as lockStyles, t as isTextEntry } from "./selectionLock-BM8XEZQD.js";
|
|
12
12
|
import { a as selectRanges, c as startsOnSelectableText, i as sameRanges, n as heldRanges, o as selectionRangesOf, r as isValidRange, s as shadowRootsOfRanges } from "./selectionRanges-DB5jesLz.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
2
1
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
2
|
+
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as kbdMessages } from "./kbd-eX_twmH9.js";
|
|
5
5
|
import { Fragment, computed, createElementBlock, defineComponent, mergeProps, onMounted, openBlock, ref, renderList, toDisplayString, unref, useAttrs } from "vue";
|
|
File without changes
|
|
@@ -43,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
43
43
|
onRemove?: ((event: Event) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
|
-
labelHidden: boolean;
|
|
47
|
-
disabled: boolean;
|
|
48
46
|
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
labelHidden: boolean;
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
2
|
+
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
2
3
|
import { t as animatorFor } from "./animator-D6Buqmbt.js";
|
|
3
4
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
4
5
|
import { d as springs } from "./springs-BqW2WrS-.js";
|
|
5
|
-
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
6
6
|
import { t as project } from "./projection-BafBD5NP.js";
|
|
7
7
|
import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-C9UA4vam.js";
|
|
8
8
|
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-CE3LYEUx.js";
|