pixelplay 1.1.1 → 1.1.3

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 CHANGED
@@ -6,6 +6,60 @@ This project adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
7
  ---
8
8
 
9
+ ## [1.1.3] — 2026-04-06
10
+
11
+ ### Added
12
+
13
+ - **`SectionHeader` chat variant** (`widgets/section-header`): New `variant="chat"` - sticky header for chat detail panels with large avatar, name, status badge, action buttons, and trailing menu
14
+ - **`InfoCard` chat-list variant** (`widgets/info-card`): New `variant="chat-list"` - scrollable conversation list panel with search input, unread indicators, avatar with online status, message preview, and timestamp
15
+ - **`InfoCard` showcase variant** (`widgets/info-card`): New `variant="showcase"` - case-study card with image, stats grid, and link overlay (replaces `WebsiteCaseStudyCard`)
16
+ - **`HeroSection` showcase variant** (`widgets/hero-section`): New `variant="showcase"` - case-study hero with large title, subtitle, description, stat chips, and full-bleed background image (replaces `WebsiteCaseStudyHero`)
17
+ - **New generic widgets**: `content-section`, `text-block`, `media-section` (exports `MediaFullImage`, `MediaDualImage`, `MediaVideo`), `diagram-section`, `showcase-grid` - generic reusable widgets extracted from case-study-specific components
18
+ - **Messaging example page** (`messaging-01`): Full chat application layout with sidebar nav, chat list (`InfoCard variant="chat-list"`), chat detail panel (`SectionHeader variant="chat"`), `ChatMessage` bubbles, typing indicator, file attachments, reactions, and day dividers
19
+ - **Listing example pages** (`listing-03`, `listing-04`, `listing-05`): Three new listing layouts - listing-03 (team member directory table with avatar, role, and status columns), listing-04 (blog/article grid with category filters and featured post), listing-05 (team directory with search, role filters, and detailed member cards)
20
+ - **Messaging examples docs page** (`/ui-kit/examples/messaging`): Docs page listing and previewing the messaging example
21
+ - **Messaging nav entry**: "Email & Messaging" link added to the Examples section in the docs sidebar (`DocsLayoutShell`)
22
+
23
+ ### Changed
24
+
25
+ - **Deprecated widget consolidation**: Removed 9 standalone widget folders (`website-case-study-hero`, `website-case-study-card`, `website-case-study-content`, `website-case-study-text-block`, `website-case-study-images`, `website-case-study-diagram`, `website-case-studies-grid`, `chat-header`, `chat-list`) - functionality merged into generic widgets and variant-based components
26
+ - **Case study pages**: All 3 case-study pages (`digital-diagramming`, `no-code-app-builder`, `personal-finance-webapp`) updated to use new generic widgets (`HeroSection`, `ContentSection`, `TextBlock`, `MediaFullImage`, `MediaDualImage`, `MediaVideo`, `DiagramSection`)
27
+ - **Work pages**: All 4 work pages (`core-fitness-app`, `brainstorming-app`, `gelato-glam-delivery-app`, `kish-coach`) updated to use new generic widget names
28
+ - **Homepage**: `WebsiteCaseStudiesGrid` replaced with `ShowcaseGrid`
29
+ - **Docs demo pages**: All case-study component docs updated to import from new widget paths
30
+
31
+ ---
32
+
33
+ ## [1.1.2] — 2026-04-06
34
+
35
+ ### Added
36
+
37
+ - **`CompanyLogo` component** (`shared/ui/company-logo`): New shared component for company/brand marks — renders a logo image with a coloured initials fallback. Supports 5 sizes (`xs`–`xl`), two shapes (`square`/`rectangle`), 4 radius options, and 12 colour variants (including `--graphic-1` through `--graphic-8` categorical tokens). Exported from `shared/ui/index.ts`
38
+ - **`InfoCard` widget** (`widgets/info-card`): New multi-variant card widget. Variants: `default` (section card with header/body/footer slots and optional menu button), `horizontal` (property listing card with image, star rating, amenities, and price — vertical on mobile, row at xl), `post` (blog/article card with gradient/image banner, author, tags, and social action buttons), `action` (compact pressable card with icon button and description), `stat` (icon + label + value stat card with optional footer slot)
39
+ - **`MapEmbed` widget** (`widgets/map`): New `MapEmbed` component that wraps an `<iframe>` map embed with dark-mode support — auto-applies a CSS invert filter when no `darkSrc` is provided
40
+ - **Listing example pages**: Two new full-page listing layouts — `listing-01` (property search results with sticky sidebar nav, filter bar, horizontal `InfoCard` listing cards, sticky map panel, and pagination) and `listing-02` (remote job board with slim icon sidebar, search/filter controls, scrollable job card list with `CompanyLogo` and `Badge`, and a sticky job detail panel)
41
+ - **Listing examples docs page** (`/ui-kit/examples/listing`): Docs page listing and previewing both listing examples with descriptions
42
+ - **Listing nav entry**: "Listing" link added to the Examples section in the docs sidebar (`DocsLayoutShell`)
43
+ - **`CompanyLogo` docs page** (`/ui-kit/components/company-logo`): Full component documentation — real logos, initials fallback, sizes, shapes, and radius options; also added "Company logo" nav entry in docs sidebar
44
+ - **`Card` docs page expanded**: New sections for Horizontal layout (`InfoCard variant="horizontal"`), Action card, Post card, Gradient header, Card grid, and Compact card patterns; also added "Card" nav entry in docs sidebar
45
+
46
+ ### Changed
47
+
48
+ - **`Tag` lg size**: Updated typography — `text-base font-medium leading-6` (was `text-sm`), `rounded-lg` (was `rounded-md`), `px-3.5` (was `px-3`), dot `h-2.5 w-2.5` (was `h-2 w-2`)
49
+ - **`Card` default shadow**: Changed default `shadow` prop from `"md"` to `"xs"` for a subtler card elevation
50
+ - **`Checkbox` hit area**: Input element repositioned from `inset-0` to `top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2` with `min-h-10 min-w-10` (sm) / `min-h-12 min-w-12` for reliable 44px+ touch targets
51
+ - **`Toggle` hit area**: Added `before:` pseudo-element inset (`-inset-[10px]` for sm, `-inset-3` for default) to expand the tap/click area to minimum touch target size
52
+ - **`dashboards-01`**: Replaced inline `<Card>` + raw action/post markup with `InfoCard variant="action"` and `InfoCard variant="post"` widget
53
+ - **`dashboards-04`**: Replaced manual chart card header markup with `InfoCard variant="default"` widget for all four chart sections
54
+ - **`dashboards-05`**: Replaced manual card markup for "Active users", "How do you acquire users?", and "Channel breakdown" sections with `InfoCard variant="default"`
55
+ - **`dashboards-06`**: Replaced local `SavingsGoalCard` sub-component and inline chart card markup with `InfoCard variant="stat"` and `InfoCard variant="default"`; `SavingsGoalCard` function removed
56
+ - **Surface container tokens** (`build-custom-theme.ts`): Adjusted container level step sizes for both light and dark modes — `low/mid/high/highest` now each step one shade further from the base surface, giving better visual layering across container elevation levels
57
+ - **`calendar-01` / `calendar-03` sticky header**: Removed `border-b border-[var(--outline-variant)]` from the sticky `<header>` element
58
+ - **`calendar-02` profile page header**: Wrapped `PageHeader` in `px-2 pt-2` container; updated tab row to add `lg:pb-4` bottom padding
59
+ - **`next.config.ts`**: Added `i.pravatar.cc` to allowed Next.js image hostnames
60
+
61
+ ---
62
+
9
63
  ## [1.1.1] — 2026-04-04
10
64
 
11
65
  ### Added
package/dist/index.js CHANGED
@@ -956,10 +956,10 @@ var SIZE_MAP = {
956
956
  checkbox: "h-3.5 w-3.5"
957
957
  },
958
958
  lg: {
959
- outer: "gap-2 rounded-md px-3 py-1.5",
960
- text: "text-sm font-medium leading-5",
959
+ outer: "gap-2 rounded-lg px-3.5 py-1.5",
960
+ text: "text-base font-medium leading-6",
961
961
  iconWrapper: "h-5 w-5",
962
- dot: "h-2 w-2",
962
+ dot: "h-2.5 w-2.5",
963
963
  dismissSize: 14,
964
964
  checkbox: "h-4 w-4"
965
965
  }
@@ -1051,7 +1051,7 @@ var Card = import_react5.default.forwardRef(
1051
1051
  className,
1052
1052
  isPressable = false,
1053
1053
  isBlurred = false,
1054
- shadow = "md",
1054
+ shadow = "xs",
1055
1055
  radius = "lg",
1056
1056
  fullWidth = false,
1057
1057
  onClick
@@ -2188,6 +2188,7 @@ function Toggle({
2188
2188
  !isChecked && !isDisabled && "hover:bg-[var(--surface-container-high)]",
2189
2189
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--primary-container)]",
2190
2190
  isDisabled ? "cursor-not-allowed" : "cursor-pointer",
2191
+ size === "sm" ? "before:content-[''] before:absolute before:-inset-[10px]" : "before:content-[''] before:absolute before:-inset-3",
2191
2192
  !label && !description && className
2192
2193
  ),
2193
2194
  children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
@@ -2363,7 +2364,10 @@ function Checkbox({
2363
2364
  onChange: handleChange,
2364
2365
  disabled: isDisabled,
2365
2366
  "aria-checked": indeterminate ? "mixed" : isChecked,
2366
- className: "peer absolute inset-0 h-full w-full cursor-pointer opacity-0 disabled:cursor-not-allowed"
2367
+ className: cn(
2368
+ "peer absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 cursor-pointer opacity-0 disabled:cursor-not-allowed",
2369
+ size === "sm" ? "min-h-10 min-w-10" : "min-h-12 min-w-12"
2370
+ )
2367
2371
  }
2368
2372
  ),
2369
2373
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(