@mrpelz/uikit-ish 7.26.2 → 7.29.1
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/components/accordion/style.css +0 -3
- package/dist/components/activity-view/style.css +17 -17
- package/dist/components/alert/style.css +12 -10
- package/dist/components/avatar/style.css +2 -2
- package/dist/components/badge/style.css +1 -1
- package/dist/components/button/style.css +12 -12
- package/dist/components/card/buttons.d.ts +35 -0
- package/dist/components/card/buttons.d.ts.map +1 -0
- package/dist/components/card/buttons.js +60 -0
- package/dist/components/card/buttons.js.map +1 -0
- package/dist/components/card/channels.d.ts +43 -0
- package/dist/components/card/channels.d.ts.map +1 -0
- package/dist/components/card/channels.js +321 -0
- package/dist/components/card/channels.js.map +1 -0
- package/dist/components/card/color.d.ts +21 -0
- package/dist/components/card/color.d.ts.map +1 -0
- package/dist/components/card/color.js +100 -0
- package/dist/components/card/color.js.map +1 -0
- package/dist/components/card/main.d.ts +67 -39
- package/dist/components/card/main.d.ts.map +1 -1
- package/dist/components/card/main.js +79 -274
- package/dist/components/card/main.js.map +1 -1
- package/dist/components/card/parts.css +769 -0
- package/dist/components/card/press.d.ts +25 -0
- package/dist/components/card/press.d.ts.map +1 -0
- package/dist/components/card/press.js +111 -0
- package/dist/components/card/press.js.map +1 -0
- package/dist/components/card/progress.d.ts +43 -0
- package/dist/components/card/progress.d.ts.map +1 -0
- package/dist/components/card/progress.js +122 -0
- package/dist/components/card/progress.js.map +1 -0
- package/dist/components/card/props.d.ts +324 -14
- package/dist/components/card/props.d.ts.map +1 -1
- package/dist/components/card/root.d.ts +100 -0
- package/dist/components/card/root.d.ts.map +1 -0
- package/dist/components/card/root.js +388 -0
- package/dist/components/card/root.js.map +1 -0
- package/dist/components/card/rows.d.ts +19 -0
- package/dist/components/card/rows.d.ts.map +1 -0
- package/dist/components/card/rows.js +185 -0
- package/dist/components/card/rows.js.map +1 -0
- package/dist/components/card/segmented.d.ts +61 -0
- package/dist/components/card/segmented.d.ts.map +1 -0
- package/dist/components/card/segmented.js +289 -0
- package/dist/components/card/segmented.js.map +1 -0
- package/dist/components/card/shared.d.ts +55 -0
- package/dist/components/card/shared.d.ts.map +1 -0
- package/dist/components/card/shared.js +80 -0
- package/dist/components/card/shared.js.map +1 -0
- package/dist/components/card/slider.d.ts +16 -0
- package/dist/components/card/slider.d.ts.map +1 -0
- package/dist/components/card/slider.js +48 -0
- package/dist/components/card/slider.js.map +1 -0
- package/dist/components/card/stages.d.ts +18 -0
- package/dist/components/card/stages.d.ts.map +1 -0
- package/dist/components/card/stages.js +37 -0
- package/dist/components/card/stages.js.map +1 -0
- package/dist/components/card/style.css +125 -66
- package/dist/components/checkbox/style.css +10 -5
- package/dist/components/collapsible/style.css +0 -3
- package/dist/components/color-picker/color.d.ts +2 -2
- package/dist/components/color-picker/color.d.ts.map +1 -1
- package/dist/components/color-picker/color.js +7 -7
- package/dist/components/color-picker/color.js.map +1 -1
- package/dist/components/color-picker/main.d.ts +11 -5
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +128 -57
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +216 -6
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +8 -8
- package/dist/components/control-cards/main.d.ts +6 -17
- package/dist/components/control-cards/main.d.ts.map +1 -1
- package/dist/components/control-cards/main.js +119 -758
- package/dist/components/control-cards/main.js.map +1 -1
- package/dist/components/control-cards/props.d.ts +79 -250
- package/dist/components/control-cards/props.d.ts.map +1 -1
- package/dist/components/control-cards/style.css +2 -492
- package/dist/components/date-picker/main.d.ts +8 -3
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +71 -29
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/pager.d.ts.map +1 -1
- package/dist/components/date-picker/pager.js +9 -2
- package/dist/components/date-picker/pager.js.map +1 -1
- package/dist/components/date-picker/props.d.ts +81 -5
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +24 -16
- package/dist/components/edit-menu/style.css +2 -2
- package/dist/components/glass/style.css +38 -5
- package/dist/components/grid/main.d.ts +1 -1
- package/dist/components/grid/main.d.ts.map +1 -1
- package/dist/components/grid/main.js +104 -21
- package/dist/components/grid/main.js.map +1 -1
- package/dist/components/grid/props.d.ts +75 -5
- package/dist/components/grid/props.d.ts.map +1 -1
- package/dist/components/grid/style.css +68 -38
- package/dist/components/header/style.css +12 -6
- package/dist/components/index.d.ts +10 -8
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +6 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/style.css +0 -3
- package/dist/components/list/main.d.ts +5 -3
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +42 -5
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +5 -0
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +34 -0
- package/dist/components/list/reorder.d.ts.map +1 -1
- package/dist/components/list/reorder.js +40 -17
- package/dist/components/list/reorder.js.map +1 -1
- package/dist/components/list/style.css +135 -72
- package/dist/components/menu/style.css +38 -30
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +35 -13
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/style.css +7 -0
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +32 -15
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/props.d.ts +6 -0
- package/dist/components/page-control/props.d.ts.map +1 -1
- package/dist/components/page-control/style.css +36 -0
- package/dist/components/pager/main.d.ts +12 -0
- package/dist/components/pager/main.d.ts.map +1 -0
- package/dist/components/pager/main.js +368 -0
- package/dist/components/pager/main.js.map +1 -0
- package/dist/components/pager/props.d.ts +36 -0
- package/dist/components/pager/props.d.ts.map +1 -0
- package/dist/components/pager/props.js +2 -0
- package/dist/components/pager/props.js.map +1 -0
- package/dist/components/pager/style.css +42 -0
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +3 -2
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/style.css +4 -10
- package/dist/components/roll/style.css +2 -2
- package/dist/components/segmented/style.css +16 -7
- package/dist/components/settings/main.d.ts +35 -1
- package/dist/components/settings/main.d.ts.map +1 -1
- package/dist/components/settings/main.js +297 -68
- package/dist/components/settings/main.js.map +1 -1
- package/dist/components/settings/props.d.ts +45 -4
- package/dist/components/settings/props.d.ts.map +1 -1
- package/dist/components/settings/region.d.ts +3 -0
- package/dist/components/settings/region.d.ts.map +1 -0
- package/dist/components/settings/region.js +120 -0
- package/dist/components/settings/region.js.map +1 -0
- package/dist/components/settings/style.css +2 -2
- package/dist/components/sheet/snap.d.ts.map +1 -1
- package/dist/components/sheet/snap.js +13 -5
- package/dist/components/sheet/snap.js.map +1 -1
- package/dist/components/sheet/style.css +48 -3
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +5 -2
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/style.css +6 -6
- package/dist/components/stack/main.d.ts +8 -0
- package/dist/components/stack/main.d.ts.map +1 -0
- package/dist/components/stack/main.js +25 -0
- package/dist/components/stack/main.js.map +1 -0
- package/dist/components/stack/props.d.ts +42 -0
- package/dist/components/stack/props.d.ts.map +1 -0
- package/dist/components/stack/props.js +2 -0
- package/dist/components/stack/props.js.map +1 -0
- package/dist/components/stack/style.css +68 -0
- package/dist/components/stepper/main.d.ts +3 -1
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +4 -0
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +2 -2
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +5 -1
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +4 -1
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +36 -13
- package/dist/components/text-field/style.css +28 -17
- package/dist/components/toolbar/main.d.ts +5 -2
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +18 -0
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +15 -0
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +126 -10
- package/dist/components/tooltip/style.css +2 -2
- package/dist/components/typography/main.d.ts +1 -0
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +1 -0
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/sizes.css +456 -0
- package/dist/components/typography/style.css +24 -456
- package/dist/components/utils/main.d.ts +23 -6
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +60 -7
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/viewport/edge-effect.d.ts.map +1 -1
- package/dist/components/viewport/edge-effect.js +6 -2
- package/dist/components/viewport/edge-effect.js.map +1 -1
- package/dist/components/viewport/focus-scroll.d.ts.map +1 -1
- package/dist/components/viewport/focus-scroll.js +2 -1
- package/dist/components/viewport/focus-scroll.js.map +1 -1
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +34 -2
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/style.css +7 -13
- package/dist/styles.css +287 -120
- package/package.json +1 -1
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
/* Grid (see main.tsx). */
|
|
2
|
+
|
|
3
|
+
/* (A corner symbol's share shown, 0 to 1 (see below): its icon's colors at
|
|
4
|
+
that share, faded by it alone. Registered to transition, not inherited.) */
|
|
5
|
+
@property --uikit-grid-corner-shown {
|
|
6
|
+
inherits: false;
|
|
7
|
+
initial-value: 1;
|
|
8
|
+
syntax: '<number>';
|
|
9
|
+
}
|
|
10
|
+
|
|
2
11
|
@layer uikit-ish {
|
|
3
12
|
/* Square units: its columns and unit measured (see main.tsx), its rows
|
|
4
13
|
as tall as a column is wide; placed by CSS grid, in order (`dense`:
|
|
@@ -15,9 +24,6 @@
|
|
|
15
24
|
overflow-anchor: none;
|
|
16
25
|
transition: padding-inline-end 300ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
17
26
|
|
|
18
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
19
|
-
transition: none;
|
|
20
|
-
}
|
|
21
27
|
|
|
22
28
|
&[data-dense] {
|
|
23
29
|
grid-auto-flow: row dense;
|
|
@@ -47,9 +53,6 @@
|
|
|
47
53
|
grid-template-columns: repeat(var(--uikit-grid-columns), minmax(0, 1fr));
|
|
48
54
|
transition: padding-inline-end 300ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
49
55
|
|
|
50
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
51
|
-
transition: none;
|
|
52
|
-
}
|
|
53
56
|
|
|
54
57
|
&:has(> .uikit-grid-header) {
|
|
55
58
|
grid-template-rows: auto;
|
|
@@ -685,9 +688,6 @@
|
|
|
685
688
|
width 300ms cubic-bezier(0.32, 0.72, 0, 1),
|
|
686
689
|
height 300ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
687
690
|
|
|
688
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
689
|
-
transition: none;
|
|
690
|
-
}
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
/* (A tile's in its area: its place there changing with its size, as
|
|
@@ -699,9 +699,6 @@
|
|
|
699
699
|
inset-block-start 300ms cubic-bezier(0.32, 0.72, 0, 1),
|
|
700
700
|
inset-inline-start 300ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
701
701
|
|
|
702
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
703
|
-
transition: none;
|
|
704
|
-
}
|
|
705
702
|
}
|
|
706
703
|
|
|
707
704
|
/* (A full width's: through the end-of-line column.) */
|
|
@@ -822,9 +819,6 @@
|
|
|
822
819
|
scale: -1 -1;
|
|
823
820
|
}
|
|
824
821
|
|
|
825
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
826
|
-
transition: none;
|
|
827
|
-
}
|
|
828
822
|
}
|
|
829
823
|
|
|
830
824
|
/* (A full width's, still one: its shape as it'd be (see main.tsx,
|
|
@@ -863,12 +857,25 @@
|
|
|
863
857
|
.uikit-grid-corner-icon {
|
|
864
858
|
display: block;
|
|
865
859
|
overflow: visible;
|
|
866
|
-
fill:
|
|
860
|
+
fill: color-mix(
|
|
861
|
+
in srgb,
|
|
862
|
+
currentcolor calc(var(--uikit-grid-corner-shown) * 100%),
|
|
863
|
+
transparent
|
|
864
|
+
);
|
|
867
865
|
paint-order: stroke;
|
|
868
|
-
stroke:
|
|
866
|
+
stroke: color-mix(
|
|
867
|
+
in srgb,
|
|
868
|
+
var(--uikit-grid-corner-backing, transparent)
|
|
869
|
+
calc(var(--uikit-grid-corner-shown) * 100%),
|
|
870
|
+
transparent
|
|
871
|
+
);
|
|
869
872
|
stroke-linejoin: round;
|
|
870
873
|
stroke-width: 3px;
|
|
871
|
-
|
|
874
|
+
|
|
875
|
+
/* (Fading in and out by its share shown (see the top), nothing else:
|
|
876
|
+
its colors change at once, as its surroundings' do, e.g. its card
|
|
877
|
+
lit.) */
|
|
878
|
+
transition: --uikit-grid-corner-shown 200ms;
|
|
872
879
|
}
|
|
873
880
|
|
|
874
881
|
/* A corner button (see main.tsx; the grid's controls, a card's): a 44px
|
|
@@ -892,7 +899,6 @@
|
|
|
892
899
|
font-size: var(--uikit-grid-corner-icon-size, 15px);
|
|
893
900
|
line-height: 0;
|
|
894
901
|
place-items: center;
|
|
895
|
-
transition: color 200ms;
|
|
896
902
|
|
|
897
903
|
&[data-grid-corner^='top'] {
|
|
898
904
|
inset-block-start: 0;
|
|
@@ -1161,14 +1167,13 @@
|
|
|
1161
1167
|
}
|
|
1162
1168
|
}
|
|
1163
1169
|
|
|
1164
|
-
/* A corner button hidden (see main.tsx; inert): faded out
|
|
1165
|
-
|
|
1170
|
+
/* A corner button hidden (see main.tsx; inert): its icon faded out, its
|
|
1171
|
+
backing with it (see the top). */
|
|
1166
1172
|
.uikit-grid-corner-button[data-grid-corner][data-grid-hidden] {
|
|
1167
|
-
color: transparent;
|
|
1168
1173
|
pointer-events: none;
|
|
1169
1174
|
|
|
1170
1175
|
> .uikit-grid-corner-icon {
|
|
1171
|
-
|
|
1176
|
+
--uikit-grid-corner-shown: 0;
|
|
1172
1177
|
}
|
|
1173
1178
|
}
|
|
1174
1179
|
|
|
@@ -1260,34 +1265,59 @@
|
|
|
1260
1265
|
move, by its color, as hidden ones fade (see above); one shown (e.g.
|
|
1261
1266
|
its x) coming once at its end (an animation: shown, only then); its
|
|
1262
1267
|
color otherwise changing at once, as its text's (e.g. lit).) */
|
|
1263
|
-
.uikit-grid-item-body[data-grid-open]
|
|
1268
|
+
.uikit-grid-item-body[data-grid-open]
|
|
1269
|
+
.uikit-grid-corner-button
|
|
1270
|
+
> .uikit-grid-corner-icon {
|
|
1264
1271
|
transition-duration: 0s;
|
|
1272
|
+
}
|
|
1265
1273
|
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1274
|
+
.uikit-grid-item-body[data-grid-open]
|
|
1275
|
+
.uikit-grid-corner-button[data-grid-hidden]
|
|
1276
|
+
> .uikit-grid-corner-icon {
|
|
1277
|
+
transition-duration: 80ms;
|
|
1269
1278
|
}
|
|
1270
1279
|
|
|
1271
1280
|
.uikit-grid-item-body[data-grid-open='open']
|
|
1272
|
-
.uikit-grid-corner-button:not([data-grid-hidden])
|
|
1281
|
+
.uikit-grid-corner-button:not([data-grid-hidden])
|
|
1282
|
+
> .uikit-grid-corner-icon {
|
|
1273
1283
|
animation: 120ms 200ms backwards uikit-grid-corner-appear;
|
|
1274
1284
|
|
|
1275
|
-
|
|
1276
|
-
|
|
1285
|
+
/* Motion reduced (see styles.css): there at once, as its tile. */
|
|
1286
|
+
:where([data-uikit-reduced-motion='true'])
|
|
1287
|
+
&:not(:where([data-uikit-reduced-motion='false']) *) {
|
|
1288
|
+
animation: none;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1292
|
+
&:where([data-uikit-settings], [data-uikit-settings] *):not(:where([data-uikit-reduced-motion='false']) *) {
|
|
1293
|
+
animation: none;
|
|
1294
|
+
}
|
|
1277
1295
|
}
|
|
1278
1296
|
}
|
|
1279
|
-
}
|
|
1280
1297
|
|
|
1281
|
-
/* A corner button
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1298
|
+
/* (A tile's own corner button there while editing (its `whileEditing`,
|
|
1299
|
+
e.g. a card's settings): its move sign stepping aside, the tile moved
|
|
1300
|
+
from anywhere all the same, from that button too. An area's sign, at
|
|
1301
|
+
the area's corner, stays.) */
|
|
1302
|
+
.uikit-grid-item-body:has(
|
|
1303
|
+
.uikit-grid-corner-button[data-grid-corner='top-trailing'][data-grid-editing]:not([data-grid-hidden], [data-card-copy])
|
|
1304
|
+
)
|
|
1305
|
+
> .uikit-grid-move-sign {
|
|
1306
|
+
display: none;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.uikit-grid-item:not([data-grid-room]):has(
|
|
1310
|
+
.uikit-grid-corner-button[data-grid-corner='top-trailing'][data-grid-editing]:not([data-grid-hidden], [data-card-copy])
|
|
1311
|
+
)
|
|
1312
|
+
> .uikit-grid-move-sign {
|
|
1313
|
+
display: none;
|
|
1286
1314
|
}
|
|
1287
1315
|
}
|
|
1288
1316
|
|
|
1289
|
-
|
|
1317
|
+
/* A corner button shown (see above): its icon from none shown, its backing
|
|
1318
|
+
with it (its colors' share, no opacity: in a scroller, iOS). */
|
|
1319
|
+
@keyframes uikit-grid-corner-appear {
|
|
1290
1320
|
from {
|
|
1291
|
-
|
|
1321
|
+
--uikit-grid-corner-shown: 0;
|
|
1292
1322
|
}
|
|
1293
1323
|
}
|
|
@@ -59,14 +59,20 @@
|
|
|
59
59
|
font-size: var(--font-ui-large-title-size);
|
|
60
60
|
font-style: normal;
|
|
61
61
|
font-variation-settings: 'wght'
|
|
62
|
-
var(--font-ui-large-title-weight-emphasized);
|
|
62
|
+
calc(var(--font-ui-large-title-weight-emphasized) + var(--uikit-font-weight-boost, 0));
|
|
63
63
|
font-weight: round(
|
|
64
64
|
down,
|
|
65
|
-
var(--font-ui-large-title-weight-emphasized),
|
|
65
|
+
calc(var(--font-ui-large-title-weight-emphasized) + var(--uikit-font-weight-boost, 0)),
|
|
66
66
|
100
|
|
67
67
|
);
|
|
68
|
+
|
|
69
|
+
/* Never past the screen's side (at the larger text sizes, one long
|
|
70
|
+
word wider than it): wrapped between words, else within one,
|
|
71
|
+
hyphenated in its language (`lang`, e.g. a settings provider's). */
|
|
72
|
+
hyphens: auto;
|
|
68
73
|
letter-spacing: var(--font-ui-large-title-tracking);
|
|
69
74
|
line-height: var(--font-ui-large-title-line-height);
|
|
75
|
+
overflow-wrap: break-word;
|
|
70
76
|
|
|
71
77
|
& > [data-toolbar-part='subtitle'] {
|
|
72
78
|
color: color-mix(
|
|
@@ -75,11 +81,11 @@
|
|
|
75
81
|
calc(var(--uikit-header-large-title-fade, 1) * 100%),
|
|
76
82
|
transparent
|
|
77
83
|
);
|
|
78
|
-
font-size:
|
|
79
|
-
font-variation-settings: 'wght' 510;
|
|
80
|
-
font-weight: round(down, 510, 100);
|
|
84
|
+
font-size: var(--font-ui-subheadline-size);
|
|
85
|
+
font-variation-settings: 'wght' calc(510 + var(--uikit-font-weight-boost, 0));
|
|
86
|
+
font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
81
87
|
letter-spacing: -0.25px;
|
|
82
|
-
line-height:
|
|
88
|
+
line-height: var(--font-ui-subheadline-line-height);
|
|
83
89
|
}
|
|
84
90
|
}
|
|
85
91
|
}
|
|
@@ -5,14 +5,14 @@ export { Popover, type PopoverAlign, type PopoverHandle, type PopoverArrowProps,
|
|
|
5
5
|
export { ActivityIndicator, type ActivityIndicatorProps, Progress, type ProgressLabelProps, type ProgressPlacement, type ProgressRootProps, type ProgressValueProps, type ActivityIndicatorMovement, type ActivityIndicatorDisplay, } from './progress/main.js';
|
|
6
6
|
export { Sheet, type SheetContentProps, type SheetGrabberProps, type SheetHeaderProps, type SheetSnapGroupProps, type SheetTriggerProps, type SheetDetent, type SheetRegular, type SheetHandle, type SheetPopupProps, useCreateSheetHandle, type SheetRootProps, type SheetSwipeDirection, } from './sheet/main.js';
|
|
7
7
|
export { Island, type IslandContentProps, type IslandGrabberProps, type IslandHeaderProps, type IslandRootProps, type IslandSnapGroupProps, type IslandSnapPointChangeDetails, } from './island/main.js';
|
|
8
|
-
export { Settings, type SettingsContrast, type SettingsPortalProps, type SettingsProviderProps, type SettingsValues, useSettings, useSettingsPortalProps, } from './settings/main.js';
|
|
8
|
+
export { matchLanguage, refreshSettings, Settings, type SettingsContrast, type SettingsPortalProps, type SettingsProviderProps, type SettingsValues, useLanguage, useSettings, useSettingsPortalProps, } from './settings/main.js';
|
|
9
9
|
export { Tooltip, type TooltipHandle, type TooltipPositionerProps, type TooltipTriggerProps, useCreateTooltipHandle, } from './tooltip/main.js';
|
|
10
10
|
export { Avatar, type AvatarFallbackProps, type AvatarGroupProps, type AvatarImageProps, type AvatarRootProps, } from './avatar/main.js';
|
|
11
11
|
export { Badge, type BadgePlacement, type BadgeProps } from './badge/main.js';
|
|
12
|
-
export { ColorPicker, type ColorPickerChangeEventDetails, type ColorPickerCodeCopyProps, type ColorPickerCodeProps, type ColorPickerEyedropperProps, type ColorPickerModeProps, type ColorPickerModesProps, type ColorPickerNamedColorProps, type ColorPickerNamedProps, type ColorPickerPanelProps, type ColorPickerRootProps, type ColorPickerSavedColorsChangeEventDetails, type ColorPickerSlidersModel, type ColorPickerSlidersProps, type ColorPickerSlidersRange, type ColorPickerSwatchesProps, type ColorPickerSystemColorsProps, type ColorPickerViewProps, type ColorWellProps, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
|
|
12
|
+
export { ColorPicker, type ColorPickerChangeEventDetails, type ColorPickerCodeCopyLabels, type ColorPickerCodeCopyProps, type ColorPickerCodeLabels, type ColorPickerCodeProps, type ColorPickerEyedropperProps, type ColorPickerLabels, colorPickerLabels, type ColorPickerModeProps, type ColorPickerModesProps, type ColorPickerNamedColorProps, type ColorPickerNamedLabels, type ColorPickerNamedProps, type ColorPickerOpacityLabels, type ColorPickerOpacityProps, type ColorPickerOwnLabels, type ColorPickerPanelProps, type ColorPickerRootProps, type ColorPickerSavedColorsChangeEventDetails, type ColorPickerSlidersLabels, type ColorPickerSlidersModel, type ColorPickerSlidersProps, type ColorPickerSlidersRange, type ColorPickerSwatchesLabels, type ColorPickerSwatchesProps, type ColorPickerSystemColorsProps, type ColorPickerViewProps, type ColorWellProps, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
|
|
13
13
|
export { Button, type ButtonRootProps } from './button/main.js';
|
|
14
14
|
export { Checkbox, CheckboxGroup, type CheckboxRootProps, Radio, RadioGroup, type RadioRootProps, } from './checkbox/main.js';
|
|
15
|
-
export { type CalendarFooter, type CalendarMessageProps, type CalendarProps, type CalendarSwipe, DatePicker, type DatePickerChangeEventDetails, type DatePickerExpandableProps, DatePickerHandle, type DatePickerMode, type DatePickerOpen, type DatePickerOpenChangeEventDetails, type DatePickerProps, type DatePickerStyle, type DateRange, type DayHighlight, type DayHighlights, type HourCycle, type TimeRollProps, useCreateDatePickerHandle, } from './date-picker/main.js';
|
|
15
|
+
export { type CalendarFooter, type CalendarMessageProps, type CalendarProps, type CalendarSwipe, DatePicker, type DatePickerCalendarLabels, type DatePickerChangeEventDetails, type DatePickerExpandableProps, DatePickerHandle, type DatePickerLabels, datePickerLabels, type DatePickerMode, type DatePickerOpen, type DatePickerOpenChangeEventDetails, type DatePickerOwnLabels, type DatePickerProps, type DatePickerStyle, type DatePickerTimeLabels, type DateRange, type DayHighlight, type DayHighlights, type HourCycle, type TimeRollProps, useCreateDatePickerHandle, } from './date-picker/main.js';
|
|
16
16
|
export { Field, Fieldset, type FieldsetLegendProps, Form, } from './form/main.js';
|
|
17
17
|
export { TextField } from './text-field/main.js';
|
|
18
18
|
export { Roll, type RollChangeEventDetails, type RollColumnProps, type RollItemProps, type RollValue, } from './roll/main.js';
|
|
@@ -20,7 +20,7 @@ export { Segmented, type SegmentedItemProps, type SegmentedRootProps, } from './
|
|
|
20
20
|
export { Slider, type SliderLabelProps, type SliderPlacement, type SliderRootProps, type SliderSymbolProps, type SliderTicksProps, type SliderValueProps, } from './slider/main.js';
|
|
21
21
|
export { Stepper } from './stepper/main.js';
|
|
22
22
|
export { Switch, type SwitchRootProps } from './switch/main.js';
|
|
23
|
-
export { forwardClick, List, type ListAllowSwipe, type ListBlockProps, type ListButtonProps, type ListEditButtonProps, type ListEditing, type ListAccordionItemProps, type ListAccordionRootProps, type ListCollapsibleChangeEventDetails, type ListCollapsiblePanelProps, type ListCollapsibleRootProps, type ListDropGroupProps, type ListDropTargetProps, type ListHeaderProps, type ListImageProps, type ListIndexItemProps, type ListIndexProps, type ListItemProps, type ListReorderChange, type ListReorderEventDetails, ListReorderHandle, type ListReorderItem, type ListReorderOptions, type ListReorderPart, type ListReorderReason, type ListReorderTarget, type ListRootProps, type ListSectionProps, type ListStyle, type ListSwipeActionProps, ListSwipeActionsHandle, type ListSwipeActionsProps, type ListSwipeActionsTriggerProps, type ListGroupProps, type ListTextProps, type ListWhileEditing, useCreateReorderHandle, useCreateSwipeActionsHandle, } from './list/main.js';
|
|
23
|
+
export { forwardClick, List, type ListAllowSwipe, type ListBlockProps, type ListButtonProps, type ListEditButtonProps, type ListEditing, type ListAccordionItemProps, type ListAccordionRootProps, type ListCollapsibleChangeEventDetails, type ListCollapsiblePanelProps, type ListCollapsibleRootProps, type ListDropGroupProps, type ListDropTargetProps, type ListHeaderProps, type ListImageProps, type ListIndexItemProps, type ListIndexProps, type ListItemProps, listReorderAnnouncement, type ListReorderAnnouncement, type ListReorderChange, type ListReorderEventDetails, ListReorderHandle, type ListReorderItem, type ListReorderOptions, type ListReorderPart, type ListReorderReason, type ListReorderTarget, type ListRootProps, type ListSectionProps, type ListStyle, type ListSwipeActionProps, ListSwipeActionsHandle, type ListSwipeActionsProps, type ListSwipeActionsTriggerProps, type ListGroupProps, type ListTextProps, type ListWhileEditing, useCreateReorderHandle, useCreateSwipeActionsHandle, } from './list/main.js';
|
|
24
24
|
export { Accordion } from './accordion/main.js';
|
|
25
25
|
export { Collapsible } from './collapsible/main.js';
|
|
26
26
|
export { ContextualMenu, type ContextualMenuHandle, type ContextualMenuPopupProps, type ContextualMenuPortalProps, type ContextualMenuPositionerProps, type ContextualMenuPreviewProps, type ContextualMenuRootProps, type ContextualMenuTriggerProps, useCreateContextualMenuHandle, } from './contextual-menu/main.js';
|
|
@@ -28,10 +28,10 @@ export { EditMenu, type SelectionAnchor, useSelectionAnchor, type EditMenuPositi
|
|
|
28
28
|
export { Menu, type MenuHandle, type MenuRootProps, type Size as MenuSize, type MenuPopupProps, type MenuPositionerProps, type MenuTriggerProps, useCreateMenuHandle, } from './menu/main.js';
|
|
29
29
|
export { Header, type HeaderAccessoryProps, type HeaderLargeTitleProps, type HeaderRootProps, } from './header/main.js';
|
|
30
30
|
export { PageControl, type PageControlChangeEventDetails, type PageControlProps, } from './page-control/main.js';
|
|
31
|
-
export { Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarRootProps, type ToolbarSideProps, type ToolbarTitleProps, } from './toolbar/main.js';
|
|
32
|
-
export { Grid, type GridAreaButtonProps, type GridAreaProps, type GridAreaState, type GridBreakProps, type GridBreakRows, type GridDropGroupProps, type GridHeaderProps, type GridItemLayoutChange, type GridItemLayoutHandlers, type GridItemProps, type GridItemState, type GridOpenChangeDetails, type GridOpenChangeReason, type GridPlacement, type GridCorner, type GridCornerButtonProps, gridIcons, type GridReorderChange, type GridReorderEventDetails, GridReorderHandle, type GridReorderHandleOptions, type GridReorderCells, type GridReorderInsert, type GridReorderItem, type GridReorderPart, type GridReorderReason, type GridReorderTarget, type GridRemoveButtonProps, type GridResizeHandleProps, type GridRootProps, type GridSectionProps, type GridSize, type GridSizeChangeDetails, type GridSizeFit, type GridSpacerProps, type GridSpawnProps, useGridArea, useGridItem, useGridItemLayout, } from './grid/main.js';
|
|
33
|
-
export { Card, type CardActions, type CardCornerButtonProps, type CardOrientation, type CardRootProps, type CardSizes, cardSizes, type CardSwitchProps, type CardSymbolProps, type CardTitleProps, type CardValueProps, useCardOrientation, } from './card/main.js';
|
|
34
|
-
export { type ControlCardButtonProps, type
|
|
31
|
+
export { Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarRootProps, type ToolbarSideProps, type ToolbarStackProps, type ToolbarTitleProps, } from './toolbar/main.js';
|
|
32
|
+
export { Grid, type GridAreaButtonProps, type GridAreaProps, type GridAreaState, type GridBreakProps, type GridBreakRows, type GridDropGroupProps, type GridExpandedChangeDetails, type GridExpandedChangeReason, type GridHeaderProps, type GridItemLayoutChange, type GridItemLayoutHandlers, type GridItemProps, type GridItemState, type GridOpenChangeDetails, type GridOpenChangeReason, type GridPlacement, type GridCorner, type GridCornerButtonProps, type GridWhileEditing, gridIcons, type GridReorderChange, type GridReorderEventDetails, GridReorderHandle, type GridReorderHandleOptions, type GridReorderCells, type GridReorderInsert, type GridReorderItem, type GridReorderPart, type GridReorderReason, type GridReorderTarget, type GridRemoveButtonProps, type GridResizeHandleProps, type GridRootProps, type GridSectionProps, type GridSize, type GridSizeChangeDetails, type GridSizeFit, type GridSpacerProps, type GridSpawnProps, useGridArea, useGridItem, useGridItemLayout, } from './grid/main.js';
|
|
33
|
+
export { Card, type CardActions, type CardChannelProps, type CardChannelsProps, type CardCloseButtonProps, type CardCornerButtonProps, type CardExpandButtonProps, type CardFormat, type CardLight, type CardOpenButtonProps, type CardOrientation, type CardProgressBarProps, type CardProgressDetailProps, type CardProgressLabelProps, type CardProgressProps, type CardProgressValueProps, type CardRootProps, type CardRowProps, type CardRowsProps, type CardSegmentedItemProps, type CardSegmentedProps, type CardSizes, cardSizes, type CardSliderProps, type CardStageListProps, type CardStageProps, type CardSubtitleProps, type CardSwitchProps, type CardSymbolProps, type CardTitleProps, type CardTrendProps, type CardValueProps, useCardOrientation, } from './card/main.js';
|
|
34
|
+
export { type ControlCardButtonProps, type ControlCardGetValueText, type ControlCardLightProps, type ControlCardListProps, type ControlCardProgressProps, type ControlCardProps, ControlCards, type ControlCardSegmentedProps, type ControlCardSliderProps, type ControlCardStagesProps, type ControlCardStateProps, type ControlCardStates, type ControlCardSwitchProps, type ControlCardValueProps, type ControlCardValueTextDetails, } from './control-cards/main.js';
|
|
35
35
|
export { Layout, type LayoutColumnOpenChangeDetails, type LayoutColumnProps, type LayoutRootProps, } from './layout/main.js';
|
|
36
36
|
export { Drawer, type DrawerHandle, type DrawerPopupProps, type DrawerRootProps, type DrawerSide, type DrawerSwipeAreaProps, useCreateDrawerHandle, } from './drawer/main.js';
|
|
37
37
|
export { Sidebar, type SidebarRootProps, type SidebarToolbarGroupProps, type SidebarToolbarProps, } from './sidebar/main.js';
|
|
@@ -39,6 +39,8 @@ export { Page, type PageRootProps } from './page/main.js';
|
|
|
39
39
|
export { Navigation, type NavigationBackEventDetails, type NavigationBackProps, type NavigationPersistentProps, type NavigationRootProps, type NavigationPageProps, type NavigationStackProps, type NavigationSwipeAreaProps, } from './navigation/main.js';
|
|
40
40
|
export { type AccessoryVisibility, type CollapsedContent, type CollapsedGroupSelection, type CollapsedPosition, collapsedSelection, TabBar, type TabBarAccessoryProps, type TabBarGroupProps, type TabBarListProps, type TabBarRootProps, type TabBarTabProps, } from './tab-bar/main.js';
|
|
41
41
|
export { type ElementGeometry, type ElementGeometryOptions, type ElementVisibilityOptions, type FocusScrollMode, preventFocusShift, preventInputZoom, preventTextActions, trackStatusBarTaps, useElementGeometry, useElementVisibility, useFocusScroll, useFocusShiftPrevention, useCurrentScroller, useInputZoomPrevention, useScrollDirection, useSizeClass, useStatusBarTaps, useTextActionsPrevention, useViewportEdgeElement, useViewportScroll, useVisualViewport, useAnchorSize, useCreateViewportAnchorHandle, ios27Attribute, isIos27, Viewport, ViewportAnchorHandle, ViewportScopeContext, type ViewportAnchorProps, type ViewportBackgroundProps, type ViewportContentProps, type ViewportKeyboardAccessoryProps, type ViewportContentSafeArea, type ViewportEdge, type ViewportEdgeEffect, type ViewportOverscrollProps, type ViewportPaddingProps, type ViewportProviderProps, type ViewportSafeArea, type SizeClass, type ViewportScrollEvent, type ViewportScrollOptions, type VisualViewportState, } from './viewport/main.js';
|
|
42
|
+
export { Pager, type PagerChangeEventDetails, type PagerOrientation, type PagerPageProps, type PagerRootProps, } from './pager/main.js';
|
|
43
|
+
export { Stack, type StackAxis, type StackProps, type StackSpacing, } from './stack/main.js';
|
|
42
44
|
export { Symbol, type SymbolIcon, type SymbolProps } from './symbol/main.js';
|
|
43
45
|
export { type TextSize, type TextColor, type TextStyle, Typography, type TypographyProps, } from './typography/main.js';
|
|
44
46
|
export { type BackdropArea, backdropGridOf, type BackdropMarkerValue, type BackdropTone, type BackdropToneOptions, contentToneProps, ContentToneScope, type ImageBackdropMarkerOptions, resampleBackdrops, useBackdropMarker, useBackdropTone, useContentTone, useImageBackdropMarker, } from './glass/main.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eA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AK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,0BAA0B,GAC3B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,EACvB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,EACL,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,YAAY,GAClB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,SAAS,EACd,UAAU,EACV,KAAK,eAAe,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,0BAA0B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,sBAAsB,GACvB,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EACV,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,cAAc,GACf,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -6,15 +6,15 @@ export { Popover, useCreatePopoverHandle, } from './popover/main.js';
|
|
|
6
6
|
export { ActivityIndicator, Progress, } from './progress/main.js';
|
|
7
7
|
export { Sheet, useCreateSheetHandle, } from './sheet/main.js';
|
|
8
8
|
export { Island, } from './island/main.js';
|
|
9
|
-
export { Settings, useSettings, useSettingsPortalProps, } from './settings/main.js';
|
|
9
|
+
export { matchLanguage, refreshSettings, Settings, useLanguage, useSettings, useSettingsPortalProps, } from './settings/main.js';
|
|
10
10
|
export { Tooltip, useCreateTooltipHandle, } from './tooltip/main.js';
|
|
11
11
|
// Buttons & inputs
|
|
12
12
|
export { Avatar, } from './avatar/main.js';
|
|
13
13
|
export { Badge } from './badge/main.js';
|
|
14
|
-
export { ColorPicker, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
|
|
14
|
+
export { ColorPicker, colorPickerLabels, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
|
|
15
15
|
export { Button } from './button/main.js';
|
|
16
16
|
export { Checkbox, CheckboxGroup, Radio, RadioGroup, } from './checkbox/main.js';
|
|
17
|
-
export { DatePicker, DatePickerHandle, useCreateDatePickerHandle, } from './date-picker/main.js';
|
|
17
|
+
export { DatePicker, DatePickerHandle, datePickerLabels, useCreateDatePickerHandle, } from './date-picker/main.js';
|
|
18
18
|
export { Field, Fieldset, Form, } from './form/main.js';
|
|
19
19
|
export { TextField } from './text-field/main.js';
|
|
20
20
|
export { Roll, } from './roll/main.js';
|
|
@@ -23,7 +23,7 @@ export { Slider, } from './slider/main.js';
|
|
|
23
23
|
export { Stepper } from './stepper/main.js';
|
|
24
24
|
export { Switch } from './switch/main.js';
|
|
25
25
|
// Lists
|
|
26
|
-
export { forwardClick, List, ListReorderHandle, ListSwipeActionsHandle, useCreateReorderHandle, useCreateSwipeActionsHandle, } from './list/main.js';
|
|
26
|
+
export { forwardClick, List, listReorderAnnouncement, ListReorderHandle, ListSwipeActionsHandle, useCreateReorderHandle, useCreateSwipeActionsHandle, } from './list/main.js';
|
|
27
27
|
export { Accordion } from './accordion/main.js';
|
|
28
28
|
export { Collapsible } from './collapsible/main.js';
|
|
29
29
|
// Menus
|
|
@@ -47,6 +47,8 @@ export { Navigation, } from './navigation/main.js';
|
|
|
47
47
|
export { collapsedSelection, TabBar, } from './tab-bar/main.js';
|
|
48
48
|
// Viewport
|
|
49
49
|
export { preventFocusShift, preventInputZoom, preventTextActions, trackStatusBarTaps, useElementGeometry, useElementVisibility, useFocusScroll, useFocusShiftPrevention, useCurrentScroller, useInputZoomPrevention, useScrollDirection, useSizeClass, useStatusBarTaps, useTextActionsPrevention, useViewportEdgeElement, useViewportScroll, useVisualViewport, useAnchorSize, useCreateViewportAnchorHandle, ios27Attribute, isIos27, Viewport, ViewportAnchorHandle, ViewportScopeContext, } from './viewport/main.js';
|
|
50
|
+
export { Pager, } from './pager/main.js';
|
|
51
|
+
export { Stack, } from './stack/main.js';
|
|
50
52
|
// Typography
|
|
51
53
|
export { Symbol } from './symbol/main.js';
|
|
52
54
|
export { Typography, } from './typography/main.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EACL,YAAY,GAGb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EAKX,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EAML,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EAOP,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EAEjB,QAAQ,GAOT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,EAUL,oBAAoB,GAGrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,MAAM,GAOP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,QAAQ,EAKR,WAAW,EACX,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,OAAO,EAIP,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;A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@ -74,9 +74,6 @@
|
|
|
74
74
|
margin-inline-start, margin-inline-end, translate, visibility;
|
|
75
75
|
transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
|
|
76
76
|
|
|
77
|
-
@container style(--uikit-settings-reduced-motion: 1) {
|
|
78
|
-
transition: none;
|
|
79
|
-
}
|
|
80
77
|
}
|
|
81
78
|
|
|
82
79
|
/* Closed: out of the layout (a floating one off its edge, see below),
|
|
@@ -7,7 +7,7 @@ import { RadioRootProps } from '../checkbox/main.js';
|
|
|
7
7
|
import type { CollapsibleContextValue, ListAccordionItemProps, ListAccordionRootProps, ListBlockProps, ListButtonProps, ListCollapsiblePanelProps, ListCollapsibleRootProps, ListDropGroupProps, ListDropTargetProps, ListEditButtonProps, ListGroupProps, ListHeaderProps, ListImageProps, ListIndexItemProps, ListIndexProps, ListItemProps, ListRootProps, ListSectionProps, ListSwipeActionProps, ListSwipeActionsProps, ListSwipeActionsTriggerProps, ListTextProps, PartProps, WhileEditingProps } from './props.js';
|
|
8
8
|
export type { ListAllowSwipe, ListBlockProps, ListButtonProps, ListEditButtonProps, ListEditing, ListAccordionItemProps, ListAccordionRootProps, ListCollapsibleChangeEventDetails, ListCollapsiblePanelProps, ListCollapsibleRootProps, ListDropGroupProps, ListDropTargetProps, ListGroupProps, ListHeaderProps, ListImageProps, ListIndexItemProps, ListIndexProps, ListItemProps, ListRootProps, ListSectionProps, ListStyle, ListSwipeActionProps, ListSwipeActionsProps, ListSwipeActionsTriggerProps, ListTextProps, ListWhileEditing, } from './props.js';
|
|
9
9
|
import { ListReorderHandle, reorder } from './reorder.js';
|
|
10
|
-
export { type ListReorderChange, type ListReorderEventDetails, ListReorderHandle, type ListReorderItem, type ListReorderOptions, type ListReorderPart, type ListReorderReason, type ListReorderTarget, useCreateReorderHandle, } from './reorder.js';
|
|
10
|
+
export { listReorderAnnouncement, type ListReorderAnnouncement, type ListReorderChange, type ListReorderEventDetails, ListReorderHandle, type ListReorderItem, type ListReorderOptions, type ListReorderPart, type ListReorderReason, type ListReorderTarget, useCreateReorderHandle, } from './reorder.js';
|
|
11
11
|
export { ListSwipeActionsHandle, useCreateSwipeActionsHandle, } from './swipe-actions-handle.js';
|
|
12
12
|
/**
|
|
13
13
|
* The collapsible around (a `CollapsibleRoot`, an `AccordionItem`; not in
|
|
@@ -24,8 +24,10 @@ export declare const useExpandedOpen: () => boolean | undefined;
|
|
|
24
24
|
/**
|
|
25
25
|
* A row's click handler passing the click on to the control in it
|
|
26
26
|
* (`selector`, e.g. `[role=switch]`), as native rows do, unless it was the
|
|
27
|
-
* control's own
|
|
28
|
-
*
|
|
27
|
+
* control's own, or another one's in it (a button, a radio, a slider…, or
|
|
28
|
+
* what's marked `data-card-own-press`: e.g. a card's channels, its
|
|
29
|
+
* choice): `<List.Item onClick={forwardClick('[role=switch]')}>`. As the
|
|
30
|
+
* click it is: a pointer's (`detail` > 0) or a keyboard's (a control's
|
|
29
31
|
* `click()` would be a keyboard's, so menus would open with their first
|
|
30
32
|
* item highlighted).
|
|
31
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/list/main.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAKL,iBAAiB,EAEjB,UAAU,EAEV,SAAS,EAWV,MAAM,OAAO,CAAC;AAGf,OAAO,EAKL,cAAc,EACf,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/list/main.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAKL,iB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,MAAM,cAAc,QACzB,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAG,SAAS,CAAC,GAAG,SACxB,CAAC;AAEjC;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,OAAO,GAAG,SACX,CAAC;AA+4DnC;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,GACtB,UAAU,MAAM,MAChB,OAAO,UAAU,CAAC,WAAW,CAAC,KAAG,IAWjC,CAAC;AAEJ,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA//DM,KAAK,oFAOzB,sBAAsB,CAAC,KAAK,CAAC,KAAG,SAAS;oBAgCrB,KAAK,yEAKzB,sBAAsB,CAAC,KAAK,CAAC,KAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkgE3C,CAAC"}
|
|
@@ -6,11 +6,11 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
6
6
|
import { createContext, forwardRef, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, } from 'react';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { Check, Checkbox as CheckboxBase, Radio as RadioBase, } from '../checkbox/main.js';
|
|
9
|
-
import { cn, useForwardedRef, usePointerDrag, useSecondaryClick, withStyle, } from '../utils/main.js';
|
|
9
|
+
import { cn, reducedMotionOf, useForwardedRef, usePointerDrag, useSecondaryClick, withStyle, } from '../utils/main.js';
|
|
10
10
|
import { createReorderHandle, ListReorderHandle, reorder, reorderByKey, setItemEntry, startReorderDrag, } from './reorder.js';
|
|
11
11
|
import { dragToSelect } from './select.js';
|
|
12
12
|
import { createSwipeActionsHandle } from './swipe-actions-handle.js';
|
|
13
|
-
export { ListReorderHandle, useCreateReorderHandle, } from './reorder.js';
|
|
13
|
+
export { listReorderAnnouncement, ListReorderHandle, useCreateReorderHandle, } from './reorder.js';
|
|
14
14
|
export { ListSwipeActionsHandle, useCreateSwipeActionsHandle, } from './swipe-actions-handle.js';
|
|
15
15
|
// Rows (regular and tall), images, trailing accessories, edit buttons,
|
|
16
16
|
// grabbers, separators, button rows, swipe actions, headers (with trailing
|
|
@@ -778,6 +778,11 @@ const useExpandedRow = (itemRef, idProp) => {
|
|
|
778
778
|
settle();
|
|
779
779
|
const to = isOpen ? box(item) : closed;
|
|
780
780
|
item.inert = !isOpen;
|
|
781
|
+
// (Motion reduced: open or closed at once.)
|
|
782
|
+
if (reducedMotionOf(item).matches) {
|
|
783
|
+
settle();
|
|
784
|
+
return undefined;
|
|
785
|
+
}
|
|
781
786
|
item.style.overflow = 'clip';
|
|
782
787
|
const animation = item.animate([
|
|
783
788
|
{
|
|
@@ -2042,9 +2047,10 @@ const Footer = forwardRef(({ className, render, ...props }, ref) => useRender({
|
|
|
2042
2047
|
render,
|
|
2043
2048
|
}));
|
|
2044
2049
|
// Framework7 “Content Block” (`block.less`): text aligned with the rows'.
|
|
2045
|
-
const Block = forwardRef(({ className, render, strong, ...props }, ref) => useRender({
|
|
2050
|
+
const Block = forwardRef(({ className, flush, render, strong, ...props }, ref) => useRender({
|
|
2046
2051
|
defaultTagName: 'div',
|
|
2047
2052
|
props: {
|
|
2053
|
+
'data-flush': flush ? '' : undefined,
|
|
2048
2054
|
'data-list-part': 'block',
|
|
2049
2055
|
'data-strong': strong ? '' : undefined,
|
|
2050
2056
|
className: cn('uikit-list-block', className),
|
|
@@ -2191,11 +2197,38 @@ const IndexItem = forwardRef(({ children, className, onClick, render, value, ...
|
|
|
2191
2197
|
render,
|
|
2192
2198
|
});
|
|
2193
2199
|
});
|
|
2200
|
+
/**
|
|
2201
|
+
* What takes its own presses in a row or a card (see `forwardClick`): a
|
|
2202
|
+
* control (a button, a link, a field, a radio, a slider…), or what's
|
|
2203
|
+
* marked so (`data-card-own-press`, e.g. a card's channels, its choice).
|
|
2204
|
+
*/
|
|
2205
|
+
const ownPressSelector = [
|
|
2206
|
+
'a[href]',
|
|
2207
|
+
'button',
|
|
2208
|
+
'input',
|
|
2209
|
+
'label',
|
|
2210
|
+
'select',
|
|
2211
|
+
'textarea',
|
|
2212
|
+
'[contenteditable=""]',
|
|
2213
|
+
'[contenteditable="true"]',
|
|
2214
|
+
'[role=button]',
|
|
2215
|
+
'[role=checkbox]',
|
|
2216
|
+
'[role=link]',
|
|
2217
|
+
'[role=menuitem]',
|
|
2218
|
+
'[role=option]',
|
|
2219
|
+
'[role=radio]',
|
|
2220
|
+
'[role=slider]',
|
|
2221
|
+
'[role=switch]',
|
|
2222
|
+
'[role=tab]',
|
|
2223
|
+
'[data-card-own-press]',
|
|
2224
|
+
].join(', ');
|
|
2194
2225
|
/**
|
|
2195
2226
|
* A row's click handler passing the click on to the control in it
|
|
2196
2227
|
* (`selector`, e.g. `[role=switch]`), as native rows do, unless it was the
|
|
2197
|
-
* control's own
|
|
2198
|
-
*
|
|
2228
|
+
* control's own, or another one's in it (a button, a radio, a slider…, or
|
|
2229
|
+
* what's marked `data-card-own-press`: e.g. a card's channels, its
|
|
2230
|
+
* choice): `<List.Item onClick={forwardClick('[role=switch]')}>`. As the
|
|
2231
|
+
* click it is: a pointer's (`detail` > 0) or a keyboard's (a control's
|
|
2199
2232
|
* `click()` would be a keyboard's, so menus would open with their first
|
|
2200
2233
|
* item highlighted).
|
|
2201
2234
|
*/
|
|
@@ -2205,6 +2238,10 @@ export const forwardClick = (selector) => (event) => {
|
|
|
2205
2238
|
if (!control || (target instanceof Node && control.contains(target))) {
|
|
2206
2239
|
return;
|
|
2207
2240
|
}
|
|
2241
|
+
// (Another control's press, in it: that one's own.)
|
|
2242
|
+
const own = target instanceof Element ? target.closest(ownPressSelector) : null;
|
|
2243
|
+
if (own && own !== currentTarget && currentTarget.contains(own))
|
|
2244
|
+
return;
|
|
2208
2245
|
control.dispatchEvent(new globalThis.MouseEvent('click', event));
|
|
2209
2246
|
};
|
|
2210
2247
|
export const List = {
|