pixelplay 1.1.3 → 1.1.4
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/CHANGELOG.md +32 -1
- package/dist/index.js +84 -84
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +84 -84
- package/dist/index.mjs.map +1 -1
- package/dist/server.js +84 -84
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +84 -84
- package/dist/server.mjs.map +1 -1
- package/dist/styles.css +164 -164
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,38 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [1.1.
|
|
9
|
+
## [1.1.4] - 2026-04-07
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **21 new shared/ui components**: `Accordion`, `AlertDialog`, `AspectRatio`, `Carousel`, `Collapsible`, `ContextMenu`, `Drawer`, `HoverCard`, `InputOTP`, `Kbd`, `Label`, `Menubar`, `NavigationMenu`, `Popover`, `RadioGroup`, `Resizable`, `ScrollArea`, `Separator`, `Sheet`, `Skeleton`, `ToggleGroup` - all in `shared/ui/<folder>` with full types and barrel exports
|
|
14
|
+
- **21 new demo pages**: Dedicated docs pages under `/ui-kit/components/` for each new component with interactive previews and code snippets
|
|
15
|
+
- **Sidebar nav entries**: All 21 new components added to the docs sidebar navigation (`DocsLayoutShell`)
|
|
16
|
+
- **`InputOTP` component** (`shared/ui/input-otp`): Dedicated OTP/PIN input with grouped cells, separator support, configurable length, and auto-focus advance - replaces the previous `MegaInput` section on the Input docs page
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **Color token scales**: Shifted `800`-`975` stops one step darker across all color scales (primary, error, warning, success, red, orange, amber, yellow, lime, green, emerald, teal, cyan, blueLight, blue, indigo, violet, purple, fuchsia, pink, rose) for improved dark-mode contrast
|
|
21
|
+
- **Input docs page**: Removed `MegaInput` section (replaced by standalone `InputOTP` docs page), cleaned up import paths to use `pixelplay` shorthand
|
|
22
|
+
- **Menubar demos**: Replaced non-existent `MenubarShortcut` import with `shortcut` prop on `MenubarItem`; `MenubarSubTrigger` auto-renders chevron icon
|
|
23
|
+
- **NavigationMenu demos**: Simplified dropdown content from wide `w-[400px]` description cards to compact `w-52`/`w-80` link lists
|
|
24
|
+
- **Resizable component**: Fixed multi-instance bug where module-level panel/handle counters were shared across all `ResizablePanelGroup` instances - counters now scoped per group via context
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **Sheet/Popover/Drawer/AlertDialog demos**: Added `asChild` to trigger components to prevent nested `<button>` hydration errors
|
|
29
|
+
- **Demo type errors**: Replaced `variant="outline"` with `"bordered"` and `color="error"` with `"danger"` in AlertDialog, Sheet, Drawer, and Popover demo pages to match `StyleVariant`/`ColorVariant` types
|
|
30
|
+
- **HoverCard**: Fixed `useRef()` calls missing required initial value for React 19 compatibility (`useRef<T>()` -> `useRef<T | undefined>(undefined)`)
|
|
31
|
+
- **ScrollArea**: Same `useRef()` React 19 fix
|
|
32
|
+
- **Collapsible**: Fixed `scrollHeight` ref timing issue
|
|
33
|
+
- **Carousel**: Fixed vertical sizing
|
|
34
|
+
- **ContextMenu**: Fixed missing exports and incorrect API usage in demos
|
|
35
|
+
- **Drawer**: Fixed nested button hydration error and improved demo content
|
|
36
|
+
- **AspectRatio**: Fixed broken demo images
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## [1.1.3] - 2026-04-06
|
|
10
41
|
|
|
11
42
|
### Added
|
|
12
43
|
|
package/dist/index.js
CHANGED
|
@@ -22508,10 +22508,10 @@ var colors = {
|
|
|
22508
22508
|
500: "#9E77ED",
|
|
22509
22509
|
600: "#7F56D9",
|
|
22510
22510
|
700: "#6941C6",
|
|
22511
|
-
800: "#
|
|
22512
|
-
900: "#
|
|
22513
|
-
950: "#
|
|
22514
|
-
975: "#
|
|
22511
|
+
800: "#42307D",
|
|
22512
|
+
900: "#26145A",
|
|
22513
|
+
950: "#160C34",
|
|
22514
|
+
975: "#0B061A"
|
|
22515
22515
|
},
|
|
22516
22516
|
error: {
|
|
22517
22517
|
25: "#FFFBFA",
|
|
@@ -22523,10 +22523,10 @@ var colors = {
|
|
|
22523
22523
|
500: "#F04438",
|
|
22524
22524
|
600: "#D92D20",
|
|
22525
22525
|
700: "#B42318",
|
|
22526
|
-
800: "#
|
|
22527
|
-
900: "#
|
|
22528
|
-
950: "#
|
|
22529
|
-
975: "#
|
|
22526
|
+
800: "#7A271A",
|
|
22527
|
+
900: "#4C1108",
|
|
22528
|
+
950: "#2B0904",
|
|
22529
|
+
975: "#160502"
|
|
22530
22530
|
},
|
|
22531
22531
|
warning: {
|
|
22532
22532
|
25: "#FFFCF5",
|
|
@@ -22538,10 +22538,10 @@ var colors = {
|
|
|
22538
22538
|
500: "#F79009",
|
|
22539
22539
|
600: "#DC6803",
|
|
22540
22540
|
700: "#B54708",
|
|
22541
|
-
800: "#
|
|
22542
|
-
900: "#
|
|
22543
|
-
950: "#
|
|
22544
|
-
975: "#
|
|
22541
|
+
800: "#7A2E0E",
|
|
22542
|
+
900: "#491A06",
|
|
22543
|
+
950: "#291003",
|
|
22544
|
+
975: "#150802"
|
|
22545
22545
|
},
|
|
22546
22546
|
success: {
|
|
22547
22547
|
25: "#F6FEF9",
|
|
@@ -22553,10 +22553,10 @@ var colors = {
|
|
|
22553
22553
|
500: "#12B76A",
|
|
22554
22554
|
600: "#039855",
|
|
22555
22555
|
700: "#027A48",
|
|
22556
|
-
800: "#
|
|
22557
|
-
900: "#
|
|
22558
|
-
950: "#
|
|
22559
|
-
975: "#
|
|
22556
|
+
800: "#054F31",
|
|
22557
|
+
900: "#03301E",
|
|
22558
|
+
950: "#021C11",
|
|
22559
|
+
975: "#010E09"
|
|
22560
22560
|
},
|
|
22561
22561
|
// ── Neutrals ──────────────────────────────────────────────────────────────
|
|
22562
22562
|
gray: {
|
|
@@ -22630,10 +22630,10 @@ var colors = {
|
|
|
22630
22630
|
500: "#EF4444",
|
|
22631
22631
|
600: "#DC2626",
|
|
22632
22632
|
700: "#B91C1C",
|
|
22633
|
-
800: "#
|
|
22634
|
-
900: "#
|
|
22635
|
-
950: "#
|
|
22636
|
-
975: "#
|
|
22633
|
+
800: "#7F1D1D",
|
|
22634
|
+
900: "#4C1111",
|
|
22635
|
+
950: "#2B0909",
|
|
22636
|
+
975: "#160505"
|
|
22637
22637
|
},
|
|
22638
22638
|
orange: {
|
|
22639
22639
|
25: "#FFFAF5",
|
|
@@ -22645,10 +22645,10 @@ var colors = {
|
|
|
22645
22645
|
500: "#FB6514",
|
|
22646
22646
|
600: "#EC4A0A",
|
|
22647
22647
|
700: "#C4320A",
|
|
22648
|
-
800: "#
|
|
22649
|
-
900: "#
|
|
22650
|
-
950: "#
|
|
22651
|
-
975: "#
|
|
22648
|
+
800: "#7E2410",
|
|
22649
|
+
900: "#4C1509",
|
|
22650
|
+
950: "#2B0C05",
|
|
22651
|
+
975: "#160603"
|
|
22652
22652
|
},
|
|
22653
22653
|
amber: {
|
|
22654
22654
|
25: "#FFFDF5",
|
|
@@ -22660,10 +22660,10 @@ var colors = {
|
|
|
22660
22660
|
500: "#F59E0B",
|
|
22661
22661
|
600: "#D97706",
|
|
22662
22662
|
700: "#B45309",
|
|
22663
|
-
800: "#
|
|
22664
|
-
900: "#
|
|
22665
|
-
950: "#
|
|
22666
|
-
975: "#
|
|
22663
|
+
800: "#78350F",
|
|
22664
|
+
900: "#471E07",
|
|
22665
|
+
950: "#280F03",
|
|
22666
|
+
975: "#140802"
|
|
22667
22667
|
},
|
|
22668
22668
|
yellow: {
|
|
22669
22669
|
25: "#FEFEF2",
|
|
@@ -22675,10 +22675,10 @@ var colors = {
|
|
|
22675
22675
|
500: "#EAB308",
|
|
22676
22676
|
600: "#CA8A04",
|
|
22677
22677
|
700: "#A16207",
|
|
22678
|
-
800: "#
|
|
22679
|
-
900: "#
|
|
22680
|
-
950: "#
|
|
22681
|
-
975: "#
|
|
22678
|
+
800: "#713F12",
|
|
22679
|
+
900: "#44250A",
|
|
22680
|
+
950: "#261505",
|
|
22681
|
+
975: "#130B03"
|
|
22682
22682
|
},
|
|
22683
22683
|
// ── Greens ────────────────────────────────────────────────────────────────
|
|
22684
22684
|
lime: {
|
|
@@ -22691,10 +22691,10 @@ var colors = {
|
|
|
22691
22691
|
500: "#84CC16",
|
|
22692
22692
|
600: "#65A30D",
|
|
22693
22693
|
700: "#4D7C0F",
|
|
22694
|
-
800: "#
|
|
22695
|
-
900: "#
|
|
22696
|
-
950: "#
|
|
22697
|
-
975: "#
|
|
22694
|
+
800: "#365314",
|
|
22695
|
+
900: "#20320C",
|
|
22696
|
+
950: "#121C06",
|
|
22697
|
+
975: "#090E03"
|
|
22698
22698
|
},
|
|
22699
22699
|
green: {
|
|
22700
22700
|
25: "#F2FDF5",
|
|
@@ -22706,10 +22706,10 @@ var colors = {
|
|
|
22706
22706
|
500: "#22C55E",
|
|
22707
22707
|
600: "#16A34A",
|
|
22708
22708
|
700: "#15803D",
|
|
22709
|
-
800: "#
|
|
22710
|
-
900: "#
|
|
22711
|
-
950: "#
|
|
22712
|
-
975: "#
|
|
22709
|
+
800: "#14532D",
|
|
22710
|
+
900: "#0C321B",
|
|
22711
|
+
950: "#061C0F",
|
|
22712
|
+
975: "#030E08"
|
|
22713
22713
|
},
|
|
22714
22714
|
emerald: {
|
|
22715
22715
|
25: "#F3FDF8",
|
|
@@ -22721,10 +22721,10 @@ var colors = {
|
|
|
22721
22721
|
500: "#10B981",
|
|
22722
22722
|
600: "#059669",
|
|
22723
22723
|
700: "#047857",
|
|
22724
|
-
800: "#
|
|
22725
|
-
900: "#
|
|
22726
|
-
950: "#
|
|
22727
|
-
975: "#
|
|
22724
|
+
800: "#064E3B",
|
|
22725
|
+
900: "#032F23",
|
|
22726
|
+
950: "#021A13",
|
|
22727
|
+
975: "#010D0A"
|
|
22728
22728
|
},
|
|
22729
22729
|
teal: {
|
|
22730
22730
|
25: "#F0FCFB",
|
|
@@ -22736,10 +22736,10 @@ var colors = {
|
|
|
22736
22736
|
500: "#14B8A6",
|
|
22737
22737
|
600: "#0D9488",
|
|
22738
22738
|
700: "#0F766E",
|
|
22739
|
-
800: "#
|
|
22740
|
-
900: "#
|
|
22741
|
-
950: "#
|
|
22742
|
-
975: "#
|
|
22739
|
+
800: "#134E4A",
|
|
22740
|
+
900: "#0A302E",
|
|
22741
|
+
950: "#061C1A",
|
|
22742
|
+
975: "#030E0D"
|
|
22743
22743
|
},
|
|
22744
22744
|
// ── Blues ─────────────────────────────────────────────────────────────────
|
|
22745
22745
|
cyan: {
|
|
@@ -22752,10 +22752,10 @@ var colors = {
|
|
|
22752
22752
|
500: "#06B6D4",
|
|
22753
22753
|
600: "#0891B2",
|
|
22754
22754
|
700: "#0E7490",
|
|
22755
|
-
800: "#
|
|
22756
|
-
900: "#
|
|
22757
|
-
950: "#
|
|
22758
|
-
975: "#
|
|
22755
|
+
800: "#164E63",
|
|
22756
|
+
900: "#0C2F3C",
|
|
22757
|
+
950: "#071A22",
|
|
22758
|
+
975: "#040D11"
|
|
22759
22759
|
},
|
|
22760
22760
|
blueLight: {
|
|
22761
22761
|
25: "#F5FBFF",
|
|
@@ -22767,10 +22767,10 @@ var colors = {
|
|
|
22767
22767
|
500: "#0BA5EC",
|
|
22768
22768
|
600: "#0086C9",
|
|
22769
22769
|
700: "#026AA2",
|
|
22770
|
-
800: "#
|
|
22771
|
-
900: "#
|
|
22772
|
-
950: "#
|
|
22773
|
-
975: "#
|
|
22770
|
+
800: "#0B4A6F",
|
|
22771
|
+
900: "#062C43",
|
|
22772
|
+
950: "#031826",
|
|
22773
|
+
975: "#020C13"
|
|
22774
22774
|
},
|
|
22775
22775
|
blue: {
|
|
22776
22776
|
25: "#F5FAFF",
|
|
@@ -22782,10 +22782,10 @@ var colors = {
|
|
|
22782
22782
|
500: "#2E90FA",
|
|
22783
22783
|
600: "#1570EF",
|
|
22784
22784
|
700: "#175CD3",
|
|
22785
|
-
800: "#
|
|
22786
|
-
900: "#
|
|
22787
|
-
950: "#
|
|
22788
|
-
975: "#
|
|
22785
|
+
800: "#194185",
|
|
22786
|
+
900: "#0E2669",
|
|
22787
|
+
950: "#08153B",
|
|
22788
|
+
975: "#040B1E"
|
|
22789
22789
|
},
|
|
22790
22790
|
blueGray: {
|
|
22791
22791
|
25: "#FCFCFD",
|
|
@@ -22813,10 +22813,10 @@ var colors = {
|
|
|
22813
22813
|
500: "#6172F3",
|
|
22814
22814
|
600: "#444CE7",
|
|
22815
22815
|
700: "#3538CD",
|
|
22816
|
-
800: "#
|
|
22817
|
-
900: "#
|
|
22818
|
-
950: "#
|
|
22819
|
-
975: "#
|
|
22816
|
+
800: "#2D3282",
|
|
22817
|
+
900: "#1B1F52",
|
|
22818
|
+
950: "#10122F",
|
|
22819
|
+
975: "#080918"
|
|
22820
22820
|
},
|
|
22821
22821
|
violet: {
|
|
22822
22822
|
25: "#FAFAFF",
|
|
@@ -22828,10 +22828,10 @@ var colors = {
|
|
|
22828
22828
|
500: "#8B5CF6",
|
|
22829
22829
|
600: "#7C3AED",
|
|
22830
22830
|
700: "#6D28D9",
|
|
22831
|
-
800: "#
|
|
22832
|
-
900: "#
|
|
22833
|
-
950: "#
|
|
22834
|
-
975: "#
|
|
22831
|
+
800: "#4C1D95",
|
|
22832
|
+
900: "#2D1159",
|
|
22833
|
+
950: "#190932",
|
|
22834
|
+
975: "#0D0519"
|
|
22835
22835
|
},
|
|
22836
22836
|
purple: {
|
|
22837
22837
|
25: "#FAFAFF",
|
|
@@ -22843,10 +22843,10 @@ var colors = {
|
|
|
22843
22843
|
500: "#7A5AF8",
|
|
22844
22844
|
600: "#6938EF",
|
|
22845
22845
|
700: "#5925DC",
|
|
22846
|
-
800: "#
|
|
22847
|
-
900: "#
|
|
22848
|
-
950: "#
|
|
22849
|
-
975: "#
|
|
22846
|
+
800: "#3E1C96",
|
|
22847
|
+
900: "#25105A",
|
|
22848
|
+
950: "#140932",
|
|
22849
|
+
975: "#0A0519"
|
|
22850
22850
|
},
|
|
22851
22851
|
fuchsia: {
|
|
22852
22852
|
25: "#FEF8FF",
|
|
@@ -22858,10 +22858,10 @@ var colors = {
|
|
|
22858
22858
|
500: "#D946EF",
|
|
22859
22859
|
600: "#C026D3",
|
|
22860
22860
|
700: "#A21CAF",
|
|
22861
|
-
800: "#
|
|
22862
|
-
900: "#
|
|
22863
|
-
950: "#
|
|
22864
|
-
975: "#
|
|
22861
|
+
800: "#701A75",
|
|
22862
|
+
900: "#430F46",
|
|
22863
|
+
950: "#250827",
|
|
22864
|
+
975: "#130414"
|
|
22865
22865
|
},
|
|
22866
22866
|
pink: {
|
|
22867
22867
|
25: "#FEF6FB",
|
|
@@ -22873,10 +22873,10 @@ var colors = {
|
|
|
22873
22873
|
500: "#EE46BC",
|
|
22874
22874
|
600: "#DD2590",
|
|
22875
22875
|
700: "#C11574",
|
|
22876
|
-
800: "#
|
|
22877
|
-
900: "#
|
|
22878
|
-
950: "#
|
|
22879
|
-
975: "#
|
|
22876
|
+
800: "#851651",
|
|
22877
|
+
900: "#4F0C30",
|
|
22878
|
+
950: "#2C071A",
|
|
22879
|
+
975: "#16040D"
|
|
22880
22880
|
},
|
|
22881
22881
|
rose: {
|
|
22882
22882
|
25: "#FFF5F6",
|
|
@@ -22888,10 +22888,10 @@ var colors = {
|
|
|
22888
22888
|
500: "#F63D68",
|
|
22889
22889
|
600: "#E31B54",
|
|
22890
22890
|
700: "#C01048",
|
|
22891
|
-
800: "#
|
|
22892
|
-
900: "#
|
|
22893
|
-
950: "#
|
|
22894
|
-
975: "#
|
|
22891
|
+
800: "#89123E",
|
|
22892
|
+
900: "#520A25",
|
|
22893
|
+
950: "#2E0514",
|
|
22894
|
+
975: "#17030A"
|
|
22895
22895
|
}
|
|
22896
22896
|
};
|
|
22897
22897
|
var textScale = {
|