@stll/ui 0.75.0 → 0.76.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 +45 -0
- package/dist/components/button-classes.js +49 -0
- package/dist/components/button.d.ts +1 -3
- package/dist/components/button.js +8 -43
- package/dist/components/checkbox.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 +132 -0
- package/dist/components/control-face.js +168 -0
- package/dist/components/court-badge.d.ts +4 -2
- package/dist/components/court-badge.js +5 -3
- package/dist/components/document-mark.shared.d.ts +149 -0
- package/dist/components/document-mark.shared.js +62 -0
- 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/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 +126 -0
- package/dist/components/table-shell.js +136 -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/package.json +44 -4
|
@@ -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.76.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"
|
|
@@ -282,10 +290,18 @@
|
|
|
282
290
|
"types": "./dist/components/input-otp.d.ts",
|
|
283
291
|
"import": "./dist/components/input-otp.js"
|
|
284
292
|
},
|
|
293
|
+
"./input-otp-face": {
|
|
294
|
+
"types": "./dist/components/input-otp-face.d.ts",
|
|
295
|
+
"import": "./dist/components/input-otp-face.js"
|
|
296
|
+
},
|
|
285
297
|
"./list": {
|
|
286
298
|
"types": "./dist/components/list.d.ts",
|
|
287
299
|
"import": "./dist/components/list.js"
|
|
288
300
|
},
|
|
301
|
+
"./list-shell": {
|
|
302
|
+
"types": "./dist/components/list-shell.d.ts",
|
|
303
|
+
"import": "./dist/components/list-shell.js"
|
|
304
|
+
},
|
|
289
305
|
"./kbd": {
|
|
290
306
|
"types": "./dist/components/kbd.d.ts",
|
|
291
307
|
"import": "./dist/components/kbd.js"
|
|
@@ -298,6 +314,10 @@
|
|
|
298
314
|
"types": "./dist/components/landing.d.ts",
|
|
299
315
|
"import": "./dist/components/landing.js"
|
|
300
316
|
},
|
|
317
|
+
"./landing-shell": {
|
|
318
|
+
"types": "./dist/components/landing-shell.d.ts",
|
|
319
|
+
"import": "./dist/components/landing-shell.js"
|
|
320
|
+
},
|
|
301
321
|
"./document-mark": {
|
|
302
322
|
"react-native": {
|
|
303
323
|
"types": "./dist/components/document-mark.native.d.ts",
|
|
@@ -534,6 +554,10 @@
|
|
|
534
554
|
"types": "./dist/components/table.d.ts",
|
|
535
555
|
"import": "./dist/components/table.js"
|
|
536
556
|
},
|
|
557
|
+
"./table-shell": {
|
|
558
|
+
"types": "./dist/components/table-shell.d.ts",
|
|
559
|
+
"import": "./dist/components/table-shell.js"
|
|
560
|
+
},
|
|
537
561
|
"./table-chart": {
|
|
538
562
|
"types": "./dist/components/table-chart.d.ts",
|
|
539
563
|
"import": "./dist/components/table-chart.js"
|
|
@@ -582,6 +606,10 @@
|
|
|
582
606
|
"types": "./dist/components/truncated-text.d.ts",
|
|
583
607
|
"import": "./dist/components/truncated-text.js"
|
|
584
608
|
},
|
|
609
|
+
"./truncated-text-face": {
|
|
610
|
+
"types": "./dist/components/truncated-text-face.d.ts",
|
|
611
|
+
"import": "./dist/components/truncated-text-face.js"
|
|
612
|
+
},
|
|
585
613
|
"./typed-character": {
|
|
586
614
|
"types": "./dist/lib/typed-character.d.ts",
|
|
587
615
|
"import": "./dist/lib/typed-character.js"
|
|
@@ -634,6 +662,18 @@
|
|
|
634
662
|
"types": "./dist/kanban/index.d.ts",
|
|
635
663
|
"import": "./dist/kanban/index.js"
|
|
636
664
|
},
|
|
665
|
+
"./kanban-card-shell": {
|
|
666
|
+
"types": "./dist/kanban/card-shell.d.ts",
|
|
667
|
+
"import": "./dist/kanban/card-shell.js"
|
|
668
|
+
},
|
|
669
|
+
"./kanban-column-header-shell": {
|
|
670
|
+
"types": "./dist/kanban/column-header-shell.d.ts",
|
|
671
|
+
"import": "./dist/kanban/column-header-shell.js"
|
|
672
|
+
},
|
|
673
|
+
"./kanban-grouping": {
|
|
674
|
+
"types": "./dist/kanban/grouping.d.ts",
|
|
675
|
+
"import": "./dist/kanban/grouping.js"
|
|
676
|
+
},
|
|
637
677
|
"./theme.css": "./dist/styles/theme.css",
|
|
638
678
|
"./components/accordion": {
|
|
639
679
|
"types": "./dist/components/accordion.d.ts",
|
|
@@ -946,7 +986,7 @@
|
|
|
946
986
|
"class-variance-authority": "^0.7.1",
|
|
947
987
|
"clsx": "^2.1.1",
|
|
948
988
|
"input-otp": "^1.5.0",
|
|
949
|
-
"lucide-react": "1.
|
|
989
|
+
"lucide-react": "1.73.0",
|
|
950
990
|
"tailwind-merge": "^3.7.0",
|
|
951
991
|
"temporal-polyfill": "1.0.8"
|
|
952
992
|
},
|
|
@@ -957,7 +997,7 @@
|
|
|
957
997
|
"@dnd-kit/core": "^6.3.1",
|
|
958
998
|
"@dnd-kit/sortable": "^10.0.0",
|
|
959
999
|
"@happy-dom/global-registrator": "21.0.4",
|
|
960
|
-
"@playwright/test": "^1.65.
|
|
1000
|
+
"@playwright/test": "^1.65.1",
|
|
961
1001
|
"@stll/playwright-tools": "0.0.0",
|
|
962
1002
|
"@stll/property-testing": "0.0.0",
|
|
963
1003
|
"@stll/typescript-config": "0.0.0",
|
|
@@ -974,7 +1014,7 @@
|
|
|
974
1014
|
"tailwindcss": "4.3.5",
|
|
975
1015
|
"tsdown": "0.23.7",
|
|
976
1016
|
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
977
|
-
"vite": "8.3.
|
|
1017
|
+
"vite": "8.3.8"
|
|
978
1018
|
},
|
|
979
1019
|
"peerDependencies": {
|
|
980
1020
|
"@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
|