laif-ds 1.1.3 → 1.1.5
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/CHANGELOG.md +27 -0
- package/dist/agent-docs/adoption-report.json +39 -45
- package/dist/agent-docs/components/AppSelect.md +305 -90
- package/dist/agent-docs/components/FilePreview.md +24 -0
- package/dist/agent-docs/manifest.json +35 -18
- package/dist/components/ui/app-select.js +566 -366
- package/dist/components/ui/file-preview/index.js +262 -218
- package/dist/index.d.ts +52 -27
- package/dist/styles.css +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +2 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ All notable technical changes to the laif-ds core will be documented in this fil
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [laif-ds@1.1.5]
|
|
9
|
+
|
|
10
|
+
### 🚀 Added
|
|
11
|
+
|
|
12
|
+
- **FilePreview**: Added a `loading` prop that replaces the thumbnail with a same-size spinner, sets `aria-busy`, and disables container activation and the action menu, while keeping the inline remove button active so an in-progress upload can still be cancelled
|
|
13
|
+
- **FilePreview**: Image thumbnails now show a spinner until the image has loaded, then fade in
|
|
14
|
+
|
|
15
|
+
## [laif-ds@1.1.4]
|
|
16
|
+
|
|
17
|
+
### 🚀 Added
|
|
18
|
+
|
|
19
|
+
- **AppSelect**: Added `keywords` to `AppSelectOption` so JSX-labelled options can be searched by text the label itself can't provide
|
|
20
|
+
- **AppSelect**: Added `required` and `aria-invalid` support to the label, matching `Input` — `required` shows a `*` and sets `aria-required`, `aria-invalid` adds the destructive border/ring and a red `*`, and clicking the label focuses the trigger
|
|
21
|
+
|
|
22
|
+
### 🔧 Changed
|
|
23
|
+
|
|
24
|
+
- **AppSelect**: The multi-select popover now opens over the trigger so the selected badges line up with the trigger chips at every size, with a placeholder row shown when nothing is selected
|
|
25
|
+
- **AppSelect**: Group headings now render on a muted background with rounded corners so they read as section separators
|
|
26
|
+
|
|
27
|
+
### 🐛 Fixed
|
|
28
|
+
|
|
29
|
+
- **AppSelect**: Fixed the dropdown list being unscrollable by wheel or touch when opened inside a Dialog, Sheet or Drawer
|
|
30
|
+
- **AppSelect**: An empty string value no longer counts as a selection unless an option actually has value `""`, so the placeholder shows correctly and the single clear button only appears for a real selection; the trigger now forwards extra HTML attributes
|
|
31
|
+
- **AppSelect**: Reworked multi-select chips — they stay on one line, overflow fades out and becomes inert (click opens the dropdown instead), and a chip is only removed from its own clear button
|
|
32
|
+
- **AppSelect**: The select-all toggle no longer shifts down when pressed
|
|
33
|
+
- **AppSelect**: Options sharing the same label across different groups are now identified by value instead of label, so they highlight and keyboard-navigate independently (#100)
|
|
34
|
+
|
|
8
35
|
## [laif-ds@1.1.3]
|
|
9
36
|
|
|
10
37
|
### 🚀 Added
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-21T07:11:32.035Z",
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "laif-ds",
|
|
6
|
-
"version": "1.1.
|
|
6
|
+
"version": "1.1.5"
|
|
7
7
|
},
|
|
8
8
|
"summary": {
|
|
9
|
-
"scannedFiles":
|
|
9
|
+
"scannedFiles": 504,
|
|
10
10
|
"deprecatedComponentsCount": 5,
|
|
11
11
|
"deprecatedComponentsUsedCount": 3,
|
|
12
12
|
"componentsWithoutExamplesCount": 5,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
{
|
|
22
22
|
"component": "DataTable",
|
|
23
23
|
"replacement": "AppDataGrid",
|
|
24
|
-
"totalOccurrences":
|
|
24
|
+
"totalOccurrences": 23,
|
|
25
25
|
"usages": [
|
|
26
26
|
{
|
|
27
27
|
"file": "src/components/ui/app-data-grid/parts/grid-filter-editor.tsx",
|
|
@@ -79,10 +79,6 @@
|
|
|
79
79
|
"file": "src/components/ui/app-data-grid/parts/grid-selection-bar.tsx",
|
|
80
80
|
"occurrences": 1
|
|
81
81
|
},
|
|
82
|
-
{
|
|
83
|
-
"file": "src/components/ui/app-select.tsx",
|
|
84
|
-
"occurrences": 1
|
|
85
|
-
},
|
|
86
82
|
{
|
|
87
83
|
"file": "src/components/ui/tables/data-table/data-table.utils.ts",
|
|
88
84
|
"occurrences": 1
|
|
@@ -611,6 +607,21 @@
|
|
|
611
607
|
"src/components/stories/app-radio-group.stories.tsx"
|
|
612
608
|
]
|
|
613
609
|
},
|
|
610
|
+
{
|
|
611
|
+
"className": "text-d-muted-foreground text-xs",
|
|
612
|
+
"occurrences": 9,
|
|
613
|
+
"files": [
|
|
614
|
+
"src/components/editor/plugins/mention-plugin.tsx",
|
|
615
|
+
"src/components/stories/app-card.stories.tsx",
|
|
616
|
+
"src/components/stories/app-select.stories.tsx",
|
|
617
|
+
"src/components/stories/app-select.test.stories.tsx",
|
|
618
|
+
"src/components/stories/input.stories.tsx",
|
|
619
|
+
"src/components/ui/app-data-grid/parts/grid-filter-editor.tsx",
|
|
620
|
+
"src/components/ui/tables/data-cross-table/cell-editor-dialog.tsx",
|
|
621
|
+
"src/components/ui/tables/data-cross-table/data-cross-table.tsx",
|
|
622
|
+
"src/components/ui/tables/data-cross-table/editable-input.tsx"
|
|
623
|
+
]
|
|
624
|
+
},
|
|
614
625
|
{
|
|
615
626
|
"className": "text-d-muted-foreground max-w-prose text-sm",
|
|
616
627
|
"occurrences": 9,
|
|
@@ -636,6 +647,16 @@
|
|
|
636
647
|
"src/components/stories/tabs.stories.tsx"
|
|
637
648
|
]
|
|
638
649
|
},
|
|
650
|
+
{
|
|
651
|
+
"className": "flex flex-wrap gap-2",
|
|
652
|
+
"occurrences": 8,
|
|
653
|
+
"files": [
|
|
654
|
+
"src/components/stories/app-card.stories.tsx",
|
|
655
|
+
"src/components/stories/app-data-grid-filtri-custom.stories.tsx",
|
|
656
|
+
"src/components/stories/file-preview.stories.tsx",
|
|
657
|
+
"src/components/stories/toaster.stories.tsx"
|
|
658
|
+
]
|
|
659
|
+
},
|
|
639
660
|
{
|
|
640
661
|
"className": "text-muted-foreground text-xs",
|
|
641
662
|
"occurrences": 8,
|
|
@@ -648,32 +669,7 @@
|
|
|
648
669
|
]
|
|
649
670
|
},
|
|
650
671
|
{
|
|
651
|
-
"className": "
|
|
652
|
-
"occurrences": 8,
|
|
653
|
-
"files": [
|
|
654
|
-
"src/components/ui/app-multiple-select-dropdown.tsx",
|
|
655
|
-
"src/components/ui/app-select.tsx",
|
|
656
|
-
"src/components/ui/app-time-picker.tsx",
|
|
657
|
-
"src/components/ui/async-select.tsx",
|
|
658
|
-
"src/components/ui/date-picker.tsx",
|
|
659
|
-
"src/components/ui/multiple-selector.tsx"
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"className": "text-d-muted-foreground text-xs",
|
|
664
|
-
"occurrences": 7,
|
|
665
|
-
"files": [
|
|
666
|
-
"src/components/editor/plugins/mention-plugin.tsx",
|
|
667
|
-
"src/components/stories/app-card.stories.tsx",
|
|
668
|
-
"src/components/stories/input.stories.tsx",
|
|
669
|
-
"src/components/ui/app-data-grid/parts/grid-filter-editor.tsx",
|
|
670
|
-
"src/components/ui/tables/data-cross-table/cell-editor-dialog.tsx",
|
|
671
|
-
"src/components/ui/tables/data-cross-table/data-cross-table.tsx",
|
|
672
|
-
"src/components/ui/tables/data-cross-table/editable-input.tsx"
|
|
673
|
-
]
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"className": "bg-muted/50 rounded p-4 text-sm",
|
|
672
|
+
"className": "flex w-80 flex-col gap-6",
|
|
677
673
|
"occurrences": 7,
|
|
678
674
|
"files": [
|
|
679
675
|
"src/components/stories/app-select.stories.tsx"
|
|
@@ -714,17 +710,6 @@
|
|
|
714
710
|
"src/components/editor/plugins/toolbar/block-format/format-quote.tsx"
|
|
715
711
|
]
|
|
716
712
|
},
|
|
717
|
-
{
|
|
718
|
-
"className": "flex items-center gap-1",
|
|
719
|
-
"occurrences": 6,
|
|
720
|
-
"files": [
|
|
721
|
-
"src/components/editor/plugins/toolbar/history-toolbar-plugin.tsx",
|
|
722
|
-
"src/components/stories/app-select.stories.tsx",
|
|
723
|
-
"src/components/ui/app-data-grid/parts/grid-group-row.tsx",
|
|
724
|
-
"src/components/ui/app-kanban.tsx",
|
|
725
|
-
"src/components/ui/calendar.tsx"
|
|
726
|
-
]
|
|
727
|
-
},
|
|
728
713
|
{
|
|
729
714
|
"className": "text-sm font-semibold",
|
|
730
715
|
"occurrences": 6,
|
|
@@ -735,6 +720,15 @@
|
|
|
735
720
|
"src/components/stories/truncated-cell.stories.tsx",
|
|
736
721
|
"src/components/ui/weekly-calendar/appointment-card.tsx"
|
|
737
722
|
]
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"className": "text-lg font-semibold",
|
|
726
|
+
"occurrences": 6,
|
|
727
|
+
"files": [
|
|
728
|
+
"src/components/stories/app-kanban.stories.tsx",
|
|
729
|
+
"src/components/stories/changelog.stories.tsx",
|
|
730
|
+
"src/components/stories/playground.stories.tsx"
|
|
731
|
+
]
|
|
738
732
|
}
|
|
739
733
|
]
|
|
740
734
|
}
|