@astryx-vue/core 0.7.8 → 0.7.10
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/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-2kgXe9Jj.js → Carousel-N9tDxozW.js} +2 -4
- package/dist/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DJSLPA79.js → DateInput-CV89ERaj.js} +31 -10
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-D-umWs1s.js → DateRangeInput-D3jP9z4r.js} +13 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-C6ByL-we.js → DateTimeInput-BnHAbjCI.js} +7 -7
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- 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/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Cly4KBZj.js → PowerSearch-DTYnT98Z.js} +4 -4
- package/dist/ProgressBar/index.d.ts +1 -1
- 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/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/SideNav/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DPEFYsGD.js → Table-Jo75zpXc.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-BMY5fg2e.js → TimeField-DO7_Q3jZ.js} +11 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-Cq_4V0Yd.js → TimeInput-B8_SQ3Xs.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-CA9Nneq_.d.ts → index-BKtv1cQj.d.ts} +3 -3
- package/dist/{index-DsaP4-eB.d.ts → index-BNaRK-s5.d.ts} +1 -1
- package/dist/{index-DFLPv9io.d.ts → index-BOCb89V9.d.ts} +2 -2
- package/dist/{index-B2kcUxGA.d.ts → index-BhLLG-Gi.d.ts} +1 -1
- package/dist/{index-B3yTdknp.d.ts → index-C1zwvxPH.d.ts} +1 -1
- package/dist/{index-Dl4Kx5Pl.d.ts → index-C7sam-SB.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-ChOyJzJh.d.ts → index-Ca8VIE4l.d.ts} +2 -2
- package/dist/{index-GpET2_oj.d.ts → index-Cq31D3fJ.d.ts} +1 -1
- package/dist/{index-B449gOMC.d.ts → index-Cy1rEWC-.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-DAMHLkmd.d.ts → index-DB2tQa0s.d.ts} +1 -1
- package/dist/{index-DAIPHHM-.d.ts → index-DQGjIpoD.d.ts} +5 -5
- package/dist/{index-B8EnP-PB.d.ts → index-DbiZvj1P.d.ts} +1 -1
- package/dist/{index-B6eL2gOK.d.ts → index-EvhMa33P.d.ts} +1 -1
- package/dist/{index-DeDHdS-f.d.ts → index-RA9A8Plx.d.ts} +43 -43
- package/dist/{index-BngdKVro.d.ts → index-UFlyBbRd.d.ts} +1 -1
- package/dist/{index-C3dirxkN.d.ts → index-fHZNanjH.d.ts} +2 -2
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.js +7 -7
- package/package.json +1 -1
- package/styles/complex-selector.css +4 -3
- package/styles/date-range-input.css +12 -3
- package/styles/date-time-input.css +16 -0
- package/styles/selector.css +6 -0
- package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@media (hover: hover) {
|
|
58
|
-
.astryx-complex-selector[data-variant='ghost']:not(:disabled):hover {
|
|
58
|
+
.astryx-complex-selector[data-variant='ghost']:not(:disabled, [aria-disabled='true']):hover {
|
|
59
59
|
background: var(--astryx-color-overlay-hover, #0000000d);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@media (hover: hover) {
|
|
85
|
-
.astryx-complex-selector[data-variant='secondary']:not(:disabled):hover {
|
|
85
|
+
.astryx-complex-selector[data-variant='secondary']:not(:disabled, [aria-disabled='true']):hover {
|
|
86
86
|
background-image: linear-gradient(var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)), var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -92,7 +92,8 @@
|
|
|
92
92
|
outline-offset: var(--astryx-focus-outline-offset, 2px);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.astryx-complex-selector:disabled
|
|
95
|
+
.astryx-complex-selector:disabled,
|
|
96
|
+
.astryx-complex-selector[aria-disabled='true'] {
|
|
96
97
|
opacity: 0.5;
|
|
97
98
|
cursor: default;
|
|
98
99
|
}
|
|
@@ -21,7 +21,16 @@
|
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.astryx-date-range-
|
|
24
|
+
.astryx-date-range-input[data-disabled='true'] {
|
|
25
|
+
transition: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.astryx-date-range-input[data-disabled='true']:focus-within {
|
|
29
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
30
|
+
box-shadow: inset 0 0 0 2px var(--astryx-color-accent-muted, color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.astryx-date-range-trigger[aria-disabled='true'] {
|
|
25
34
|
cursor: default;
|
|
26
35
|
}
|
|
27
36
|
|
|
@@ -78,12 +87,12 @@
|
|
|
78
87
|
}
|
|
79
88
|
|
|
80
89
|
@media (hover: hover) {
|
|
81
|
-
.astryx-date-range-preset:hover:not(
|
|
90
|
+
.astryx-date-range-preset:hover:not([aria-disabled='true']) {
|
|
82
91
|
background: var(--astryx-dropdown-menu-hover-background, light-dark(#0536590c, #ffffff0c));
|
|
83
92
|
}
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
.astryx-date-range-preset
|
|
95
|
+
.astryx-date-range-preset[aria-disabled='true'] {
|
|
87
96
|
opacity: 0.4;
|
|
88
97
|
cursor: default;
|
|
89
98
|
}
|
|
@@ -27,6 +27,22 @@
|
|
|
27
27
|
min-width: 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
.astryx-date-time-input .astryx-date-input-wrapper[data-disabled='true'],
|
|
31
|
+
.astryx-date-time-input .astryx-bordered-control[data-disabled='true'] {
|
|
32
|
+
transition: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.astryx-date-time-input .astryx-date-input-wrapper[data-disabled='true']:focus-within,
|
|
36
|
+
.astryx-date-time-input .astryx-bordered-control[data-disabled='true']:focus-within {
|
|
37
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
38
|
+
box-shadow: inset 0 0 0 2px var(--astryx-color-accent-muted, color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.astryx-date-time-fields[data-presentation='bottom-sheet']:focus-within .astryx-date-touch-segment:focus-visible {
|
|
42
|
+
outline: 2px solid var(--astryx-input-focus, #262626);
|
|
43
|
+
outline-offset: 2px;
|
|
44
|
+
}
|
|
45
|
+
|
|
30
46
|
/* Original segments use a 196px basis, so the row wraps below 399px
|
|
31
47
|
even when the placeholders still fit. Measured placeholders are about
|
|
32
48
|
82px; with the icon and padding they stay on one row down to 16rem.
|
package/styles/selector.css
CHANGED
|
@@ -371,6 +371,7 @@
|
|
|
371
371
|
.astryx-selector-option {
|
|
372
372
|
box-sizing: border-box;
|
|
373
373
|
display: flex;
|
|
374
|
+
min-width: 0;
|
|
374
375
|
flex-direction: row;
|
|
375
376
|
align-items: center;
|
|
376
377
|
justify-content: space-between;
|
|
@@ -465,6 +466,11 @@
|
|
|
465
466
|
|
|
466
467
|
.astryx-selector-option-label {
|
|
467
468
|
display: block;
|
|
469
|
+
min-width: 0;
|
|
470
|
+
max-width: 100%;
|
|
471
|
+
overflow: hidden;
|
|
472
|
+
text-overflow: ellipsis;
|
|
473
|
+
white-space: nowrap;
|
|
468
474
|
}
|
|
469
475
|
|
|
470
476
|
.astryx-selector-option-description {
|
|
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
46
|
labelHidden: boolean;
|
|
47
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
48
47
|
disabled: boolean;
|
|
48
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
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>;
|