@stll/ui 0.75.0 → 0.77.0
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/button-classes.d.ts +66 -0
- package/dist/components/button-classes.js +62 -0
- package/dist/components/button.d.ts +11 -4
- package/dist/components/button.js +8 -48
- package/dist/components/checkbox.js +1 -1
- package/dist/components/command.js +1 -1
- package/dist/components/composer-tokens.d.ts +9 -1
- package/dist/components/composer-tokens.js +9 -1
- package/dist/components/composer.d.ts +2 -2
- package/dist/components/composer.js +4 -4
- package/dist/components/control-face.d.ts +158 -0
- package/dist/components/control-face.js +192 -0
- package/dist/components/court-badge.d.ts +4 -2
- package/dist/components/court-badge.js +5 -3
- package/dist/components/details-grid.d.ts +8 -3
- package/dist/components/details-grid.js +28 -15
- package/dist/components/details-list-face.d.ts +7 -0
- package/dist/components/details-list-face.js +25 -0
- package/dist/components/document-mark.shared.d.ts +149 -0
- package/dist/components/document-mark.shared.js +62 -0
- package/dist/components/field-classes.d.ts +4 -0
- package/dist/components/field-classes.js +6 -0
- package/dist/components/field.js +5 -3
- package/dist/components/frame.d.ts +5 -1
- package/dist/components/frame.js +2 -2
- package/dist/components/input-otp-face.d.ts +4 -0
- package/dist/components/input-otp-face.js +15 -0
- package/dist/components/input-otp.d.ts +1 -1
- package/dist/components/input-otp.js +3 -8
- package/dist/components/label-classes.d.ts +20 -0
- package/dist/components/label-classes.js +21 -0
- package/dist/components/label.d.ts +2 -20
- package/dist/components/label.js +2 -19
- package/dist/components/landing-shell.d.ts +64 -0
- package/dist/components/landing-shell.js +189 -0
- package/dist/components/landing.d.ts +2 -39
- package/dist/components/landing.js +2 -66
- package/dist/components/list-shell.d.ts +39 -0
- package/dist/components/list-shell.js +99 -0
- package/dist/components/list.d.ts +3 -24
- package/dist/components/list.js +2 -49
- package/dist/components/outcome-screen-core.d.ts +25 -0
- package/dist/components/outcome-screen-core.js +76 -0
- package/dist/components/outcome-screen-face.d.ts +3 -0
- package/dist/components/outcome-screen-face.js +6 -0
- package/dist/components/outcome-screen-view.d.ts +9 -21
- package/dist/components/outcome-screen-view.js +36 -101
- package/dist/components/segmented-icon-toggle.d.ts +4 -1
- package/dist/components/segmented-icon-toggle.js +5 -4
- package/dist/components/select-classes.d.ts +10 -0
- package/dist/components/select-classes.js +13 -0
- package/dist/components/select.js +3 -7
- package/dist/components/skeleton.d.ts +3 -1
- package/dist/components/skeleton.js +9 -2
- package/dist/components/split-button.d.ts +2 -1
- package/dist/components/split-button.js +6 -14
- package/dist/components/switch.d.ts +1 -5
- package/dist/components/switch.js +2 -5
- package/dist/components/table-cell.d.ts +35 -0
- package/dist/components/table-cell.js +26 -0
- package/dist/components/table-shell.d.ts +131 -0
- package/dist/components/table-shell.js +141 -0
- package/dist/components/table.d.ts +4 -88
- package/dist/components/table.js +21 -70
- package/dist/components/tabs-classes.d.ts +8 -0
- package/dist/components/tabs-classes.js +10 -0
- package/dist/components/tabs.js +4 -3
- package/dist/components/toggle-classes.d.ts +13 -0
- package/dist/components/toggle-classes.js +10 -0
- package/dist/components/toggle-group-classes.d.ts +12 -0
- package/dist/components/toggle-group-classes.js +13 -0
- package/dist/components/toggle-group.js +3 -2
- package/dist/components/truncated-text-face.d.ts +33 -0
- package/dist/components/truncated-text-face.js +30 -0
- package/dist/components/truncated-text.d.ts +1 -6
- package/dist/components/truncated-text.js +1 -15
- package/dist/components/view-toolbar-classes.d.ts +13 -0
- package/dist/components/view-toolbar-classes.js +15 -0
- package/dist/components/view-toolbar-shell.d.ts +24 -0
- package/dist/components/view-toolbar-shell.js +43 -0
- package/dist/components/view-toolbar.d.ts +2 -15
- package/dist/components/view-toolbar.js +8 -26
- package/dist/data-table/table.js +2 -1
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +2 -2
- package/dist/index.d.ts +15 -9
- package/dist/index.js +11 -8
- package/dist/kanban/card-shell.js +1 -1
- package/dist/kanban/column-bands.d.ts +0 -8
- package/dist/kanban/column-bands.js +1 -18
- package/dist/kanban/column-header-shell.d.ts +39 -0
- package/dist/kanban/column-header-shell.js +48 -0
- package/dist/kanban/column-header.js +9 -12
- package/dist/kanban/index.d.ts +2 -2
- package/dist/kanban/index.js +3 -3
- package/dist/kanban/layout-tokens.d.ts +18 -1
- package/dist/kanban/layout-tokens.js +18 -1
- package/dist/kanban/sticky-lane.d.ts +2 -7
- package/dist/kanban/sticky-lane.js +1 -6
- package/dist/kanban/subgroup-board.js +2 -2
- package/dist/lib/{menu-row.js → list-row-metric.js} +1 -1
- package/package.json +52 -4
- /package/dist/lib/{menu-row.d.ts → list-row-metric.d.ts} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import { KANBAN_CARD_STICKY_TOP_CLASS } from "./layout-tokens.js";
|
|
2
3
|
/**
|
|
3
4
|
* A lane's controls while its cells scroll.
|
|
4
5
|
*
|
|
@@ -27,12 +28,6 @@ export type KanbanStickyTopStyle = CSSProperties & {
|
|
|
27
28
|
* own pinned action turned out and how far it translated that row.
|
|
28
29
|
*/
|
|
29
30
|
export declare const KANBAN_CARD_STICKY_TOP_VAR: "--kanban-card-sticky-top";
|
|
30
|
-
/**
|
|
31
|
-
* Sticks a card's identity row under everything pinned above it. The fallback
|
|
32
|
-
* keeps the row usable inside a card rendered outside a cell that publishes the
|
|
33
|
-
* offset, where nothing is pinned above it at all.
|
|
34
|
-
*/
|
|
35
|
-
export declare const KANBAN_CARD_STICKY_TOP_CLASS = "top-(--kanban-card-sticky-top,0px)";
|
|
36
31
|
export type KanbanCardStickyTopStyle = CSSProperties & {
|
|
37
32
|
[KANBAN_CARD_STICKY_TOP_VAR]?: string;
|
|
38
33
|
};
|
|
@@ -69,4 +64,4 @@ export type KanbanCollapsedBandCaptionProps = {
|
|
|
69
64
|
* A host rendering its own collapsed cell composes this inside that cell.
|
|
70
65
|
*/
|
|
71
66
|
export declare const KanbanCollapsedBandCaption: ({ className, label, meta }: KanbanCollapsedBandCaptionProps) => import("react").JSX.Element;
|
|
72
|
-
export {};
|
|
67
|
+
export { KANBAN_CARD_STICKY_TOP_CLASS };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TruncatedText } from "../components/truncated-text.js";
|
|
2
2
|
import { cn } from "../lib/utils.js";
|
|
3
|
+
import { KANBAN_CARD_STICKY_TOP_CLASS } from "./layout-tokens.js";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
// src/kanban/sticky-lane.tsx
|
|
5
6
|
/**
|
|
@@ -28,12 +29,6 @@ const KANBAN_STICKY_TOP_CLASS = "top-(--kanban-sticky-top,0px)";
|
|
|
28
29
|
*/
|
|
29
30
|
const KANBAN_CARD_STICKY_TOP_VAR = "--kanban-card-sticky-top";
|
|
30
31
|
/**
|
|
31
|
-
* Sticks a card's identity row under everything pinned above it. The fallback
|
|
32
|
-
* keeps the row usable inside a card rendered outside a cell that publishes the
|
|
33
|
-
* offset, where nothing is pinned above it at all.
|
|
34
|
-
*/
|
|
35
|
-
const KANBAN_CARD_STICKY_TOP_CLASS = "top-(--kanban-card-sticky-top,0px)";
|
|
36
|
-
/**
|
|
37
32
|
* The offset a card's identity row sticks at, in the row's own coordinates.
|
|
38
33
|
*
|
|
39
34
|
* A virtualized row is translated into place, and a transform between a sticky
|
|
@@ -3,9 +3,9 @@ import { ChevronDownIcon } from "../icons.js";
|
|
|
3
3
|
import { cn } from "../lib/utils.js";
|
|
4
4
|
import { createBandPeekController } from "./band-peek.js";
|
|
5
5
|
import { KanbanColumnBandHeader } from "./column-band-header.js";
|
|
6
|
-
import {
|
|
6
|
+
import { resolveKanbanColumnBands } from "./column-bands.js";
|
|
7
7
|
import { KANBAN_CARD_DRAG_MIME } from "./drag-interactions.js";
|
|
8
|
-
import { KANBAN_CHROME_TOGGLE_COARSE_TARGET_CLASS } from "./layout-tokens.js";
|
|
8
|
+
import { KANBAN_CHROME_TOGGLE_COARSE_TARGET_CLASS, KANBAN_COLLAPSED_BAND_WIDTH_CLASS, KANBAN_COLUMN_WIDTH_CLASS } from "./layout-tokens.js";
|
|
9
9
|
import { KANBAN_STICKY_TOP_CLASS, KANBAN_STICKY_TOP_VAR, KanbanCollapsedBandCaption } from "./sticky-lane.js";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useEffect, useMemo, useRef, useState } from "react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Stella's design system: bidi-aware React primitives built on Base UI, the dockable inspector pane, and the Tailwind v4 theme they are styled with.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"base-ui",
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
"types": "./dist/components/view-toolbar.d.ts",
|
|
47
47
|
"import": "./dist/components/view-toolbar.js"
|
|
48
48
|
},
|
|
49
|
+
"./view-toolbar-shell": {
|
|
50
|
+
"types": "./dist/components/view-toolbar-shell.d.ts",
|
|
51
|
+
"import": "./dist/components/view-toolbar-shell.js"
|
|
52
|
+
},
|
|
49
53
|
"./accordion": {
|
|
50
54
|
"types": "./dist/components/accordion.d.ts",
|
|
51
55
|
"import": "./dist/components/accordion.js"
|
|
@@ -118,6 +122,10 @@
|
|
|
118
122
|
"types": "./dist/components/composer-tokens.d.ts",
|
|
119
123
|
"import": "./dist/components/composer-tokens.js"
|
|
120
124
|
},
|
|
125
|
+
"./control-face": {
|
|
126
|
+
"types": "./dist/components/control-face.d.ts",
|
|
127
|
+
"import": "./dist/components/control-face.js"
|
|
128
|
+
},
|
|
121
129
|
"./context-menu": {
|
|
122
130
|
"types": "./dist/components/context-menu.d.ts",
|
|
123
131
|
"import": "./dist/components/context-menu.js"
|
|
@@ -202,6 +210,10 @@
|
|
|
202
210
|
"types": "./dist/components/details-grid.d.ts",
|
|
203
211
|
"import": "./dist/components/details-grid.js"
|
|
204
212
|
},
|
|
213
|
+
"./details-list-face": {
|
|
214
|
+
"types": "./dist/components/details-list-face.d.ts",
|
|
215
|
+
"import": "./dist/components/details-list-face.js"
|
|
216
|
+
},
|
|
205
217
|
"./destructive-action-confirmation": {
|
|
206
218
|
"types": "./dist/components/destructive-action-confirmation.d.ts",
|
|
207
219
|
"import": "./dist/components/destructive-action-confirmation.js"
|
|
@@ -282,10 +294,18 @@
|
|
|
282
294
|
"types": "./dist/components/input-otp.d.ts",
|
|
283
295
|
"import": "./dist/components/input-otp.js"
|
|
284
296
|
},
|
|
297
|
+
"./input-otp-face": {
|
|
298
|
+
"types": "./dist/components/input-otp-face.d.ts",
|
|
299
|
+
"import": "./dist/components/input-otp-face.js"
|
|
300
|
+
},
|
|
285
301
|
"./list": {
|
|
286
302
|
"types": "./dist/components/list.d.ts",
|
|
287
303
|
"import": "./dist/components/list.js"
|
|
288
304
|
},
|
|
305
|
+
"./list-shell": {
|
|
306
|
+
"types": "./dist/components/list-shell.d.ts",
|
|
307
|
+
"import": "./dist/components/list-shell.js"
|
|
308
|
+
},
|
|
289
309
|
"./kbd": {
|
|
290
310
|
"types": "./dist/components/kbd.d.ts",
|
|
291
311
|
"import": "./dist/components/kbd.js"
|
|
@@ -298,6 +318,10 @@
|
|
|
298
318
|
"types": "./dist/components/landing.d.ts",
|
|
299
319
|
"import": "./dist/components/landing.js"
|
|
300
320
|
},
|
|
321
|
+
"./landing-shell": {
|
|
322
|
+
"types": "./dist/components/landing-shell.d.ts",
|
|
323
|
+
"import": "./dist/components/landing-shell.js"
|
|
324
|
+
},
|
|
301
325
|
"./document-mark": {
|
|
302
326
|
"react-native": {
|
|
303
327
|
"types": "./dist/components/document-mark.native.d.ts",
|
|
@@ -502,6 +526,10 @@
|
|
|
502
526
|
"types": "./dist/components/outcome-screen.d.ts",
|
|
503
527
|
"import": "./dist/components/outcome-screen.js"
|
|
504
528
|
},
|
|
529
|
+
"./outcome-screen-face": {
|
|
530
|
+
"types": "./dist/components/outcome-screen-face.d.ts",
|
|
531
|
+
"import": "./dist/components/outcome-screen-face.js"
|
|
532
|
+
},
|
|
505
533
|
"./skeleton": {
|
|
506
534
|
"types": "./dist/components/skeleton.d.ts",
|
|
507
535
|
"import": "./dist/components/skeleton.js"
|
|
@@ -534,6 +562,10 @@
|
|
|
534
562
|
"types": "./dist/components/table.d.ts",
|
|
535
563
|
"import": "./dist/components/table.js"
|
|
536
564
|
},
|
|
565
|
+
"./table-shell": {
|
|
566
|
+
"types": "./dist/components/table-shell.d.ts",
|
|
567
|
+
"import": "./dist/components/table-shell.js"
|
|
568
|
+
},
|
|
537
569
|
"./table-chart": {
|
|
538
570
|
"types": "./dist/components/table-chart.d.ts",
|
|
539
571
|
"import": "./dist/components/table-chart.js"
|
|
@@ -582,6 +614,10 @@
|
|
|
582
614
|
"types": "./dist/components/truncated-text.d.ts",
|
|
583
615
|
"import": "./dist/components/truncated-text.js"
|
|
584
616
|
},
|
|
617
|
+
"./truncated-text-face": {
|
|
618
|
+
"types": "./dist/components/truncated-text-face.d.ts",
|
|
619
|
+
"import": "./dist/components/truncated-text-face.js"
|
|
620
|
+
},
|
|
585
621
|
"./typed-character": {
|
|
586
622
|
"types": "./dist/lib/typed-character.d.ts",
|
|
587
623
|
"import": "./dist/lib/typed-character.js"
|
|
@@ -634,6 +670,18 @@
|
|
|
634
670
|
"types": "./dist/kanban/index.d.ts",
|
|
635
671
|
"import": "./dist/kanban/index.js"
|
|
636
672
|
},
|
|
673
|
+
"./kanban-card-shell": {
|
|
674
|
+
"types": "./dist/kanban/card-shell.d.ts",
|
|
675
|
+
"import": "./dist/kanban/card-shell.js"
|
|
676
|
+
},
|
|
677
|
+
"./kanban-column-header-shell": {
|
|
678
|
+
"types": "./dist/kanban/column-header-shell.d.ts",
|
|
679
|
+
"import": "./dist/kanban/column-header-shell.js"
|
|
680
|
+
},
|
|
681
|
+
"./kanban-grouping": {
|
|
682
|
+
"types": "./dist/kanban/grouping.d.ts",
|
|
683
|
+
"import": "./dist/kanban/grouping.js"
|
|
684
|
+
},
|
|
637
685
|
"./theme.css": "./dist/styles/theme.css",
|
|
638
686
|
"./components/accordion": {
|
|
639
687
|
"types": "./dist/components/accordion.d.ts",
|
|
@@ -946,7 +994,7 @@
|
|
|
946
994
|
"class-variance-authority": "^0.7.1",
|
|
947
995
|
"clsx": "^2.1.1",
|
|
948
996
|
"input-otp": "^1.5.0",
|
|
949
|
-
"lucide-react": "1.
|
|
997
|
+
"lucide-react": "1.73.0",
|
|
950
998
|
"tailwind-merge": "^3.7.0",
|
|
951
999
|
"temporal-polyfill": "1.0.8"
|
|
952
1000
|
},
|
|
@@ -957,7 +1005,7 @@
|
|
|
957
1005
|
"@dnd-kit/core": "^6.3.1",
|
|
958
1006
|
"@dnd-kit/sortable": "^10.0.0",
|
|
959
1007
|
"@happy-dom/global-registrator": "21.0.4",
|
|
960
|
-
"@playwright/test": "^1.65.
|
|
1008
|
+
"@playwright/test": "^1.65.1",
|
|
961
1009
|
"@stll/playwright-tools": "0.0.0",
|
|
962
1010
|
"@stll/property-testing": "0.0.0",
|
|
963
1011
|
"@stll/typescript-config": "0.0.0",
|
|
@@ -974,7 +1022,7 @@
|
|
|
974
1022
|
"tailwindcss": "4.3.5",
|
|
975
1023
|
"tsdown": "0.23.7",
|
|
976
1024
|
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
977
|
-
"vite": "8.3.
|
|
1025
|
+
"vite": "8.3.8"
|
|
978
1026
|
},
|
|
979
1027
|
"peerDependencies": {
|
|
980
1028
|
"@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
|
|
File without changes
|