pixelplay 1.2.0 → 1.2.2
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 +196 -1
- package/dist/index.d.mts +25 -11
- package/dist/index.d.ts +25 -11
- package/dist/index.js +8960 -5095
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8974 -5103
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +9 -12
- package/dist/server.d.ts +9 -12
- package/dist/server.js +140 -120
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +140 -120
- package/dist/server.mjs.map +1 -1
- package/dist/styles.css +260 -164
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,172 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [1.2.
|
|
9
|
+
## [1.2.2] — 2026-04-21
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Vitest testing stack and scripts at workspace level**: Added `test` and `test:watch` scripts in root `package.json`, plus supporting dev dependencies (`vitest`, `jsdom`, Testing Library, and `jest-axe` tooling).
|
|
14
|
+
- **Test infrastructure configuration**: Added root `vitest.config.ts` and `vitest.setup.ts` for shared test runtime setup.
|
|
15
|
+
- **CI accessibility/test workflow**: Added `.github/workflows/ui-a11y.yml` to validate shared UI accessibility/test coverage in automation.
|
|
16
|
+
- **Large co-located test expansion**: Added 63 new `.test.tsx` files, including shared UI component tests and targeted widget/feature tests (`VectorMap` and `SearchBar`).
|
|
17
|
+
- **Full shared UI folder test coverage achieved**: Every folder under `app/ui-kit/pixelplay-ui/shared/ui` now has co-located test coverage.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **Broad shared UI behavior and semantics hardening**: Updated many interactive primitives and composites (accordion, alert-dialog, badge, button-group, calendar, carousel, collapsible, context-menu, drawer, dropdown-menu, hover-card, input, menubar, modal, navigation-menu, pagination, popover, select, sheet, tabs, toast, toggle-group, toolbar, and more) to improve consistency of interaction/state behavior and accessibility contracts.
|
|
22
|
+
- **Design-token alignment across updated controls**: Replaced remaining raw palette usage in updated surfaces/components with token-based classes to stay consistent with the PixelPlay theme system.
|
|
23
|
+
- **Docs/demo and widget adjustments**: Updated docs/demo pages and multiple PixelPlay widgets/entities/features (including dropdown/command-menu docs, component preview surfaces, and vector-map/widget navigation surfaces) to stay aligned with shared UI behavior updates.
|
|
24
|
+
- **Dependency lockfile and release metadata updates**: Regenerated lockfile and bumped package release metadata for this patch.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **Date picker dialog semantics**: Date picker triggers now consistently expose dialog linkage (`aria-haspopup`, `aria-expanded`, and `aria-controls`) to their corresponding panels across `DatePicker`, `DateTimePicker`, and `DateRangePicker`.
|
|
29
|
+
- **Button submit-safety defaults**: Shared `Button`, `SocialButton`, and `StoreButton` now default to `type="button"` unless explicitly overridden.
|
|
30
|
+
- **Tooltip trigger ARIA merging**: `TooltipTrigger` now safely merges `aria-describedby` with existing trigger attributes and binds a stable tooltip id.
|
|
31
|
+
- **Checkbox description linkage**: `Checkbox` now wires `aria-describedby` to its description text and supports explicit `aria-label`/`aria-labelledby` passthrough.
|
|
32
|
+
- **Tag control accessibility**: Tag checkbox and dismiss affordances now expose reliable accessible labels.
|
|
33
|
+
- **Progress semantics fallback**: `ProgressBar` and `CircularProgress` now provide fallback accessible names when labels are omitted.
|
|
34
|
+
- **File upload progress naming**: File upload row progressbars now expose per-file `aria-label` values.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## [1.2.1] — 2026-04-21
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- **Animation wired to `Alert`**: Enter/exit driven by the active preset's `alert` slice.
|
|
43
|
+
- **Animation wired to `Badge`**: Wrapped in `m.span` with `initial`/`animate`/`exit` from the `badge` preset slice. Supports `AnimatePresence` exit.
|
|
44
|
+
- **Animation wired to `ButtonGroupItem`**: Hover and tap states driven by the `button` preset slice.
|
|
45
|
+
- **Animation wired to `Carousel`**: Slide transitions migrated from CSS `transition-transform` to a Framer Motion `animate` (x/y) driven by the `carousel.slide.transition` preset slice.
|
|
46
|
+
- **Animation wired to `DataTable` rows**: Row `whileHover`/`transition` driven by the `dataTable.row` preset slice.
|
|
47
|
+
- **Animation wired to `DropdownMenu` and `DropdownMenuItem`**: Menu open/close (`initial`/`animate`/`exit`) and item hover driven by `dropdown.menu` and `dropdown.item` preset slices.
|
|
48
|
+
- **Animation wired to `EmptyState`**: Container enter animated via the `emptyState.container` preset slice.
|
|
49
|
+
- **Animation wired to `FileUpload` dropzone**: Dropzone `whileHover` driven by the `fileUpload.dropzone` preset slice.
|
|
50
|
+
- **Animation wired to `Input` and `Textarea`**: Outer border wrappers converted to `m.div`. Hover slant and focus scale driven by the `input.focus` preset slice.
|
|
51
|
+
- **Animation wired to `Menubar`**: `MenubarContent` and `MenubarSubContent` wrapped with `AnimatePresence`; enter/exit driven by `menubar.menu` preset slice.
|
|
52
|
+
- **Animation wired to `MessageReaction`**: Hover/tap driven by the `button` preset slice.
|
|
53
|
+
- **Animation wired to `ChatMessage`**: Message bubble container enter animated via the `messaging.bubble` preset slice.
|
|
54
|
+
- **Animation wired to `NavigationMenu`**: `NavigationMenuContent` wrapped with `AnimatePresence`; enter/exit driven by `navigationMenu.submenu` preset slice.
|
|
55
|
+
- **Animation wired to `RadioGroup` dot**: Selected dot wrapped with `AnimatePresence`; enter/exit driven by `radio.dot` preset slice.
|
|
56
|
+
- **Animation wired to `Slider` thumb**: Thumb `whileHover`/`whileTap` driven by the `slider.thumb` preset slice.
|
|
57
|
+
- **Animation wired to `Tag`**: Tag and dismiss button wrapped with `m.span`/`m.button`; tag enter/exit driven by `tag` preset, dismiss driven by `button` preset.
|
|
58
|
+
- **Animation wired to `Tooltip`**: Enter/exit driven by the `tooltip` preset slice. Playful preset `rotate` values are mirrored by placement (right-side placements get a positive sign, left/center get negative) via a `rotationSign` helper.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- **`ButtonGroup` / `ButtonGroupItem` token colours**: Replaced all raw `zinc-*`/`gray-*`/`neutral-*` Tailwind scales with `var(--*)` CSS custom property tokens (`--surface`, `--surface-container-*`, `--on-surface`, `--on-surface-variant`, `--outline-variant`).
|
|
63
|
+
- **`SidebarNavDivider`** (`widgets/sidebar-nav`): Replaced raw `<hr>` with the `Separator` shared component.
|
|
64
|
+
- **`SidebarNavSection` title colour**: Changed from `--on-surface-variant` to `--on-surface`.
|
|
65
|
+
- **`DesignThemeContext` personality persistence**: Personality override now written to `localStorage` and restored on mount. Clearing a built-in theme also removes the personality `data-` attribute and the stored personality key. Personality state is read via `useSyncExternalStore` so iframe contexts stay in sync.
|
|
66
|
+
- **`build-custom-theme.ts`**: Generated custom theme object now includes a `personality` field derived from `input.personality`.
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- **Slider thumb scale standardised across presets**: All five personalities now use `scale: 1.1` on hover and `scale: 1.3` on tap. Previous values were inconsistent (sharp: 1.05/0.95, balanced: 1.2/0.9, soft: 1.3/0.85, subtle: whileTap 0.92).
|
|
71
|
+
- **Playful preset — button**: Reduced hover scale (1.06 → 1.02) and tap scale (0.92 → 0.97) to prevent overly large movement on small buttons.
|
|
72
|
+
- **Playful preset — tooltip**: Tooltip stays tilted while visible (`animate: { rotate: -3 }`) instead of snapping back to 0, reinforcing the playful character.
|
|
73
|
+
- **Playful preset — tag**: Added `initial`/`animate` enter states (`scale: 0.8, rotate: -3` → `scale: 1, rotate: 0`) so tags animate in, not just out.
|
|
74
|
+
- **Playful preset — select / dropdown / menubar menus**: Added a `rotate` component to menu open/close (`-2` initial, `0` animate, `+1` exit) for a subtle 2D slant alongside the existing 3D `rotateX`.
|
|
75
|
+
- **Playful preset — select / dropdown items**: Added `rotate: 0.5` to `whileHover` for a micro-tilt on item highlight.
|
|
76
|
+
- **Playful preset — fileUpload dropzone**: Increased `whileHover` rotation from `0.5` to `1.5` for a more pronounced tilt.
|
|
77
|
+
- **DataTable horizontal scrollbar**: Row hover animation previously applied `x: 3` which extended the painted bounds beyond the table width. Removed the `x` transform; only `backgroundColor` is now applied on hover. (`overflow: clip` on `<tbody>`/`<tr>` is ignored by browsers.)
|
|
78
|
+
- **`Card.CardBody`**: Removed `overflow-y-auto` which was causing unintended internal scroll on card body content.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## [1.2.0] — 2026-04-21
|
|
83
|
+
|
|
84
|
+
### Added
|
|
85
|
+
|
|
86
|
+
- **Animation personality presets**: Five distinct motion personalities — `sharp` (mechanical, fast tweens, no overshoot), `subtle` (restrained, corporate polish), `balanced` (dependable spring, moderate bounce), `soft` (slow, floaty, luxurious with blur), and `playful` (bouncy springs, 3D tilts, rotations). Each personality applies cohesive motion defaults across all animated components. A `reducedMotionPreset` is also included as an automatic fallback when `prefers-reduced-motion` is active.
|
|
87
|
+
- **Card 3D perspective animations**: Pressable `Card` components now animate with `whileHover` and `whileTap` motion states driven by the active personality preset. A `perspective: 1000` style context is applied to pressable cards so playful-preset `rotateX`/`rotateY` tilts render correctly.
|
|
88
|
+
- **Progress animated fill**: The `ProgressBar` fill element now uses a Framer Motion `animate={{ width }}` transition, driven by the active personality preset's indicator transition config.
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- **Accordion/Collapsible animation**: Content enter/exit animations now correctly read from the `content` slice of the animation preset rather than the flat preset root.
|
|
93
|
+
- **Drawer/Sheet animation**: Overlay and panel transitions now correctly use `overlay.transition` and `content.transition` slices from the preset.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## [1.1.3] — 2026-04-06
|
|
98
|
+
|
|
99
|
+
### Added
|
|
100
|
+
|
|
101
|
+
- **`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
|
|
102
|
+
- **`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
|
|
103
|
+
- **`InfoCard` showcase variant** (`widgets/info-card`): New `variant="showcase"` - case-study card with image, stats grid, and link overlay (replaces `WebsiteCaseStudyCard`)
|
|
104
|
+
- **`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`)
|
|
105
|
+
- **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
|
|
106
|
+
- **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
|
|
107
|
+
- **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)
|
|
108
|
+
- **Messaging examples docs page** (`/ui-kit/examples/messaging`): Docs page listing and previewing the messaging example
|
|
109
|
+
- **Messaging nav entry**: "Email & Messaging" link added to the Examples section in the docs sidebar (`DocsLayoutShell`)
|
|
110
|
+
|
|
111
|
+
### Changed
|
|
112
|
+
|
|
113
|
+
- **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
|
|
114
|
+
- **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`)
|
|
115
|
+
- **Work pages**: All 4 work pages (`core-fitness-app`, `brainstorming-app`, `gelato-glam-delivery-app`, `kish-coach`) updated to use new generic widget names
|
|
116
|
+
- **Homepage**: `WebsiteCaseStudiesGrid` replaced with `ShowcaseGrid`
|
|
117
|
+
- **Docs demo pages**: All case-study component docs updated to import from new widget paths
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## [1.1.2] — 2026-04-06
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
|
|
125
|
+
- **`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`
|
|
126
|
+
- **`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)
|
|
127
|
+
- **`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
|
|
128
|
+
- **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)
|
|
129
|
+
- **Listing examples docs page** (`/ui-kit/examples/listing`): Docs page listing and previewing both listing examples with descriptions
|
|
130
|
+
- **Listing nav entry**: "Listing" link added to the Examples section in the docs sidebar (`DocsLayoutShell`)
|
|
131
|
+
- **`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
|
|
132
|
+
- **`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
|
|
133
|
+
|
|
134
|
+
### Changed
|
|
135
|
+
|
|
136
|
+
- **`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`)
|
|
137
|
+
- **`Card` default shadow**: Changed default `shadow` prop from `"md"` to `"xs"` for a subtler card elevation
|
|
138
|
+
- **`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
|
|
139
|
+
- **`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
|
|
140
|
+
- **`dashboards-01`**: Replaced inline `<Card>` + raw action/post markup with `InfoCard variant="action"` and `InfoCard variant="post"` widget
|
|
141
|
+
- **`dashboards-04`**: Replaced manual chart card header markup with `InfoCard variant="default"` widget for all four chart sections
|
|
142
|
+
- **`dashboards-05`**: Replaced manual card markup for "Active users", "How do you acquire users?", and "Channel breakdown" sections with `InfoCard variant="default"`
|
|
143
|
+
- **`dashboards-06`**: Replaced local `SavingsGoalCard` sub-component and inline chart card markup with `InfoCard variant="stat"` and `InfoCard variant="default"`; `SavingsGoalCard` function removed
|
|
144
|
+
- **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
|
|
145
|
+
- **`calendar-01` / `calendar-03` sticky header**: Removed `border-b border-[var(--outline-variant)]` from the sticky `<header>` element
|
|
146
|
+
- **`calendar-02` profile page header**: Wrapped `PageHeader` in `px-2 pt-2` container; updated tab row to add `lg:pb-4` bottom padding
|
|
147
|
+
- **`next.config.ts`**: Added `i.pravatar.cc` to allowed Next.js image hostnames
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## [1.1.1] — 2026-04-04
|
|
152
|
+
|
|
153
|
+
### Added
|
|
154
|
+
|
|
155
|
+
- **Calendar example pages**: Three new full-page calendar layouts — `calendar-01` (monthly view with collapsible sidebar and colour-coded event chips), `calendar-02` (weekly time-grid with rich event detail slideout), and `calendar-03` (daily time-grid for focused day planning)
|
|
156
|
+
- **Calendar examples docs page**: `/ui-kit/examples/calendar/` — docs page listing and previewing all three calendar examples with descriptions
|
|
157
|
+
- **Calendar nav entry**: "Calendar" link added to the Examples section in the docs sidebar (`DocsLayoutShell`)
|
|
158
|
+
- **Calendar examples index**: Calendar added to the examples overview page alongside Dashboards, Settings, and Auth
|
|
159
|
+
- **Rich event detail slideout** (calendar-02): Clicking any event opens a `SlideoutMenu` with colour-gradient header, tags, organiser avatar, time/location/reminder/description rows, guest list with RSVP counts and `Badge` status per guest, file attachments with type-coloured icons, and Edit/Join footer actions
|
|
160
|
+
- **Dynamic event dates** (calendar-02): Events always appear in the current week (Mon–Fri) using `getMondayOfWeek()` and `weekDay(offset)` helpers — no stale hardcoded dates
|
|
161
|
+
- **Compact event cards**: Week/day view renders short events (≤30 min) in a single-line compact layout (`py-0.5`, title · time) to prevent content overflow at small card heights
|
|
162
|
+
|
|
163
|
+
### Changed
|
|
164
|
+
|
|
165
|
+
- **Calendar event colors — dark mode**: Replaced all hardcoded `--utility-*` color tokens in `colorMap` and `cardColorMap` with theme-adaptive graphic tokens (`--graphic-N-container`, `--on-graphic-N-container`, `--graphic-N`). Event colors now correctly adapt to dark mode and custom brand themes
|
|
166
|
+
- **ViewDropdown positioning**: Changed from `absolute` to `position: fixed` with `getBoundingClientRect()` on open — escapes `overflow: hidden` on the calendar root so the dropdown is never clipped by sticky headers
|
|
167
|
+
|
|
168
|
+
### Fixed
|
|
169
|
+
|
|
170
|
+
- **Breadcrumb whitespace**: Removed extra space in `<div >` opening tag on docs page
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## [1.1.0] — 2026-04-03
|
|
10
175
|
|
|
11
176
|
### Added
|
|
12
177
|
|
|
@@ -38,6 +203,36 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
38
203
|
|
|
39
204
|
---
|
|
40
205
|
|
|
206
|
+
## [1.0.5–1.0.15] — 2026-04-01 to 2026-04-03
|
|
207
|
+
|
|
208
|
+
> These versions were published directly to npm and are not individually documented in the changelog. No git tags exist for this range.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## [1.0.4] — 2026-04-01
|
|
213
|
+
|
|
214
|
+
### Added
|
|
215
|
+
|
|
216
|
+
- **Settings examples**: Added `settings-02` (Password & Sessions), `settings-03` (Appearance), and `settings-04` (Billing) to the examples index
|
|
217
|
+
- **Settings — Billing (`settings-04`)**: Plan selector radio cards (Basic/Business/Enterprise) and invoice history DataTable with selectable rows, status badges, and per-row download actions
|
|
218
|
+
- **Auth examples**: Added `auth-05` (Verification — check your email), `auth-06` (Verification — enter OTP code), `auth-07` (Verification — email verified), `auth-08` (Forgot password — email entry), `auth-09` (Forgot password — set new password), and `auth-10` (Forgot password — password reset)
|
|
219
|
+
- **Avatar**: New `3xl` size (96 px) added to `AvatarSize` type and `SIZE_MAP`
|
|
220
|
+
- **OptionCard widget**: New widget and docs page added to component library navigation
|
|
221
|
+
|
|
222
|
+
### Changed
|
|
223
|
+
|
|
224
|
+
- **Avatar**: `AvatarSize` type expanded with `3xl`; docs updated from 7 to 8 sizes
|
|
225
|
+
- **PageHeader** (cover + left avatar variant): Removed bottom border, upgraded avatar from `2xl` to `3xl`, tightened overlap offset, and added responsive horizontal padding to the info row
|
|
226
|
+
- **SidebarNavFeatureCard**: Removed `flex-col` from container so children control their own layout independently of the close button; action buttons updated from `ghost` to `bordered` variant
|
|
227
|
+
|
|
228
|
+
### Fixed
|
|
229
|
+
|
|
230
|
+
- **SidebarNavFeatureCard**: Close button is now absolutely positioned so it never overlaps child content
|
|
231
|
+
- **SidebarNavFeatureCard**: Replaced hand-drawn SVG close icon with `X` from `react-feather`
|
|
232
|
+
- **SidebarNavFooter**: Removed stale `padding-right` workaround that was shifting all content rightward
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
41
236
|
## [1.0.3] — 2026-04-01
|
|
42
237
|
|
|
43
238
|
### Added
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import React$1, { CSSProperties,
|
|
1
|
+
import React$1, { CSSProperties, ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, SVGAttributes } from 'react';
|
|
2
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
4
5
|
|
|
6
|
+
/** Personality presets — combined radius + animation behavior */
|
|
7
|
+
type PersonalityPreset = "sharp" | "subtle" | "balanced" | "soft" | "playful";
|
|
5
8
|
/** Common size scale used across all components */
|
|
6
9
|
type SizeScale = "sm" | "md" | "lg";
|
|
7
10
|
/** Color intent variants */
|
|
@@ -19,7 +22,7 @@ interface BaseComponentProps {
|
|
|
19
22
|
style?: CSSProperties;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
interface ButtonProps extends
|
|
25
|
+
interface ButtonProps extends HTMLMotionProps<"button"> {
|
|
23
26
|
/** Visual color intent */
|
|
24
27
|
color?: ColorVariant;
|
|
25
28
|
/** Visual style variant */
|
|
@@ -42,7 +45,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
42
45
|
isIconOnly?: boolean;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
46
49
|
|
|
47
50
|
interface ButtonGroupProps {
|
|
48
51
|
children: ReactNode;
|
|
@@ -62,7 +65,11 @@ interface ButtonGroupItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
declare function ButtonGroup({ children, className }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
65
|
-
declare
|
|
68
|
+
declare const ButtonGroupItem: React$1.ForwardRefExoticComponent<ButtonGroupItemProps & {
|
|
69
|
+
buttonRef?: React$1.Ref<HTMLButtonElement>;
|
|
70
|
+
} & {
|
|
71
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement>;
|
|
72
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
66
73
|
|
|
67
74
|
type InputVariant = "bordered" | "flat" | "faded" | "underlined";
|
|
68
75
|
type TextareaResize = "none" | "vertical" | "horizontal" | "both";
|
|
@@ -204,7 +211,7 @@ declare namespace Tag {
|
|
|
204
211
|
var displayName: string;
|
|
205
212
|
}
|
|
206
213
|
|
|
207
|
-
interface CardProps extends
|
|
214
|
+
interface CardProps extends HTMLMotionProps<"div"> {
|
|
208
215
|
/** Makes the entire card a pressable/clickable surface */
|
|
209
216
|
isPressable?: boolean;
|
|
210
217
|
/** Removes default shadow */
|
|
@@ -223,7 +230,7 @@ interface CardBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
223
230
|
interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
224
231
|
}
|
|
225
232
|
|
|
226
|
-
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
233
|
+
declare const Card: React$1.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
227
234
|
declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
228
235
|
declare const CardBody: React$1.ForwardRefExoticComponent<CardBodyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
229
236
|
declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -411,11 +418,15 @@ interface CheckboxProps {
|
|
|
411
418
|
label?: string;
|
|
412
419
|
/** Supporting description rendered below the label */
|
|
413
420
|
description?: string;
|
|
421
|
+
/** Accessible name when no visible label should be rendered */
|
|
422
|
+
"aria-label"?: string;
|
|
423
|
+
/** Accessible label reference when no visible label should be rendered */
|
|
424
|
+
"aria-labelledby"?: string;
|
|
414
425
|
className?: string;
|
|
415
426
|
id?: string;
|
|
416
427
|
}
|
|
417
428
|
|
|
418
|
-
declare function Checkbox({ checked, indeterminate, defaultChecked, onChange, variant, size, isDisabled, label, description, className, id: idProp, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
429
|
+
declare function Checkbox({ checked, indeterminate, defaultChecked, onChange, variant, size, isDisabled, label, description, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className, id: idProp, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
419
430
|
declare namespace Checkbox {
|
|
420
431
|
var displayName: string;
|
|
421
432
|
}
|
|
@@ -458,8 +469,10 @@ interface CheckboxGroupProps {
|
|
|
458
469
|
/** Uncontrolled default selected values */
|
|
459
470
|
defaultValue?: string[];
|
|
460
471
|
onChange?: (values: string[]) => void;
|
|
461
|
-
/**
|
|
472
|
+
/** Visible group label — also provides accessible name via aria-labelledby */
|
|
462
473
|
label?: string;
|
|
474
|
+
/** Invisible accessible name when no visible label is used */
|
|
475
|
+
"aria-label"?: string;
|
|
463
476
|
/** Disable the entire group */
|
|
464
477
|
isDisabled?: boolean;
|
|
465
478
|
/** Stack direction */
|
|
@@ -472,7 +485,7 @@ interface CheckboxGroupProps {
|
|
|
472
485
|
}
|
|
473
486
|
|
|
474
487
|
declare function CheckboxCard({ value: _value, title, subtitle, description, icon, price, priceUnit, badge, badgeColor, avatarSrc, checked, defaultChecked, onChange, isDisabled, size, variant, className, id: idProp, }: CheckboxCardProps): react_jsx_runtime.JSX.Element;
|
|
475
|
-
declare function CheckboxGroup({ options, value, defaultValue, onChange, label, isDisabled, orientation, size, variant, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
488
|
+
declare function CheckboxGroup({ options, value, defaultValue, onChange, label, "aria-label": ariaLabel, isDisabled, orientation, size, variant, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
476
489
|
|
|
477
490
|
type ProgressLabelPlacement = "none" | "right" | "below" | "tooltip-above" | "tooltip-below";
|
|
478
491
|
type ProgressSize = "sm" | "md";
|
|
@@ -762,7 +775,7 @@ interface SparklineChartProps {
|
|
|
762
775
|
className?: string;
|
|
763
776
|
}
|
|
764
777
|
|
|
765
|
-
declare function LineChart({ data, series, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, showArea, curved, stacked, yAxisLabel, xAxisLabel, className, }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
778
|
+
declare function LineChart({ data, series: seriesRaw, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, showArea, curved, stacked, yAxisLabel, xAxisLabel, className, }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
766
779
|
|
|
767
780
|
declare function BarChart({ data, series, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, stacked, orientation, yAxisLabel, xAxisLabel, className, }: BarChartProps): react_jsx_runtime.JSX.Element;
|
|
768
781
|
|
|
@@ -1505,6 +1518,7 @@ type ThemeTokens = {
|
|
|
1505
1518
|
};
|
|
1506
1519
|
declare const lightTheme: ThemeTokens;
|
|
1507
1520
|
declare const darkTheme: ThemeTokens;
|
|
1521
|
+
|
|
1508
1522
|
/**
|
|
1509
1523
|
* Generates a `<style>` block with CSS custom properties for every design
|
|
1510
1524
|
* theme × light/dark mode. The first theme (inkwell) is output as `:root` / `.dark`.
|
|
@@ -1515,4 +1529,4 @@ declare function generateThemeCSS(): string;
|
|
|
1515
1529
|
|
|
1516
1530
|
declare const PIXELPLAY_VERSION = "1.0.3";
|
|
1517
1531
|
|
|
1518
|
-
export { type AccountDropdownItem, ActionDropdownCell, type ActionDropdownCellProps, ActionIconsCell, type ActionIconsCellProps, Alert, type AlertColor, type AlertIconStyle, type AlertLayout, type AlertProps, type AttachmentFileType, Avatar, AvatarCell, type AvatarCellProps, type AvatarColor, AvatarGroupCell, type AvatarGroupCellProps, type AvatarGroupItem, type AvatarProps, Badge, BadgeCell, type BadgeCellProps, type BadgeColor, BadgeGroup, type BadgeGroupColor, type BadgeGroupProps, type BadgeGroupSize, type BadgeItem, type BadgeProps, type BadgeSize, BadgesCell, BarChart, type BarChartProps, type BaseChartProps, type BaseComponentProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CarouselArrow, type CarouselArrowColor, type CarouselArrowProps, type CarouselArrowSize, type ChartDataPoint, type ChartSeries, type ChartSize, ChatMessage, type ChatMessageProps, Checkbox, CheckboxCard, type CheckboxCardOption, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type ColorVariant, type CountryCode, CountryFlag, type CountryFlagProps, type CountryFlagShape, type CountryFlagSize, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DonutChart, type DonutChartProps, DropdownMenu, DropdownMenuAvatarHeader, type DropdownMenuAvatarHeaderProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, type EventColor, type FeatureIconColor, type FileType, FileTypeCell, type FileTypeCellProps, FileTypeIcon, type FileTypeIconProps, FileUpload, type FileUploadProps, type FileUploadStatus, type FileUploadVariant, type IndicatorColor, type IndicatorShape, type IndicatorSize, Input, type InputProps, type InputVariant, type LegendPosition, LineChart, type LineChartProps, MegaInput, type MegaInputProps, type MessageAttachment, MessageReaction, type MessageReactionProps, type MessageSide, type MessageType, Modal, type ModalAction, type ModalActionsLayout, type ModalAlign, type ModalAvatarGroupItem, type ModalCheckboxConfig, type ModalLayout, type ModalPosition, type ModalProps, type ModalSize, type ModalUserAvatar, PIXELPLAY_VERSION, Pagination, PaginationIndicator, type PaginationIndicatorProps, type PaginationPageShape, type PaginationProps, type PaginationVariant, ProgressBar, type ProgressBarProps, ProgressCell, type ProgressLabelPlacement, type ProgressSize, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, type RadiusVariant, RangeSlider, type RangeSliderProps, ScatterChart, type ScatterChartProps, type ScatterDataPoint, type ScatterSeries, Select, type SelectOption, type SelectProps, type SizeScale, type SliderLabelPlacement, SocialButton, type SocialButtonProps, type SocialButtonStyle, type SocialPlatform, SparklineChart, type SparklineChartProps, Spinner, type SpinnerProps, StoreButton, type StoreButtonProps, type StoreButtonSize, type StoreButtonTheme, type StorePlatform, type StyleVariant, type TabItem, Tabs, type TabsProps, Tag, type TagProps, type TagSize, type TextAction, TextActionCell, TextCell, type TextCellProps, Textarea, type TextareaProps, type TextareaResize, type ThemeTokens, type ToastColor, type ToastContextValue, type ToastItem, ToastProvider, Toggle, type ToggleProps, Tooltip, type TooltipColor, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, cn, darkTheme, generateThemeCSS, getFileExtColor, getFileExtLabel, lightTheme, useToast };
|
|
1532
|
+
export { type AccountDropdownItem, ActionDropdownCell, type ActionDropdownCellProps, ActionIconsCell, type ActionIconsCellProps, Alert, type AlertColor, type AlertIconStyle, type AlertLayout, type AlertProps, type AttachmentFileType, Avatar, AvatarCell, type AvatarCellProps, type AvatarColor, AvatarGroupCell, type AvatarGroupCellProps, type AvatarGroupItem, type AvatarProps, Badge, BadgeCell, type BadgeCellProps, type BadgeColor, BadgeGroup, type BadgeGroupColor, type BadgeGroupProps, type BadgeGroupSize, type BadgeItem, type BadgeProps, type BadgeSize, BadgesCell, BarChart, type BarChartProps, type BaseChartProps, type BaseComponentProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CarouselArrow, type CarouselArrowColor, type CarouselArrowProps, type CarouselArrowSize, type ChartDataPoint, type ChartSeries, type ChartSize, ChatMessage, type ChatMessageProps, Checkbox, CheckboxCard, type CheckboxCardOption, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type ColorVariant, type CountryCode, CountryFlag, type CountryFlagProps, type CountryFlagShape, type CountryFlagSize, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DonutChart, type DonutChartProps, DropdownMenu, DropdownMenuAvatarHeader, type DropdownMenuAvatarHeaderProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, type EventColor, type FeatureIconColor, type FileType, FileTypeCell, type FileTypeCellProps, FileTypeIcon, type FileTypeIconProps, FileUpload, type FileUploadProps, type FileUploadStatus, type FileUploadVariant, type IndicatorColor, type IndicatorShape, type IndicatorSize, Input, type InputProps, type InputVariant, type LegendPosition, LineChart, type LineChartProps, MegaInput, type MegaInputProps, type MessageAttachment, MessageReaction, type MessageReactionProps, type MessageSide, type MessageType, Modal, type ModalAction, type ModalActionsLayout, type ModalAlign, type ModalAvatarGroupItem, type ModalCheckboxConfig, type ModalLayout, type ModalPosition, type ModalProps, type ModalSize, type ModalUserAvatar, PIXELPLAY_VERSION, Pagination, PaginationIndicator, type PaginationIndicatorProps, type PaginationPageShape, type PaginationProps, type PaginationVariant, type PersonalityPreset, ProgressBar, type ProgressBarProps, ProgressCell, type ProgressLabelPlacement, type ProgressSize, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, type RadiusVariant, RangeSlider, type RangeSliderProps, ScatterChart, type ScatterChartProps, type ScatterDataPoint, type ScatterSeries, Select, type SelectOption, type SelectProps, type SizeScale, type SliderLabelPlacement, SocialButton, type SocialButtonProps, type SocialButtonStyle, type SocialPlatform, SparklineChart, type SparklineChartProps, Spinner, type SpinnerProps, StoreButton, type StoreButtonProps, type StoreButtonSize, type StoreButtonTheme, type StorePlatform, type StyleVariant, type TabItem, Tabs, type TabsProps, Tag, type TagProps, type TagSize, type TextAction, TextActionCell, TextCell, type TextCellProps, Textarea, type TextareaProps, type TextareaResize, type ThemeTokens, type ToastColor, type ToastContextValue, type ToastItem, ToastProvider, Toggle, type ToggleProps, Tooltip, type TooltipColor, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, cn, darkTheme, generateThemeCSS, getFileExtColor, getFileExtLabel, lightTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import React$1, { CSSProperties,
|
|
1
|
+
import React$1, { CSSProperties, ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, SVGAttributes } from 'react';
|
|
2
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
4
5
|
|
|
6
|
+
/** Personality presets — combined radius + animation behavior */
|
|
7
|
+
type PersonalityPreset = "sharp" | "subtle" | "balanced" | "soft" | "playful";
|
|
5
8
|
/** Common size scale used across all components */
|
|
6
9
|
type SizeScale = "sm" | "md" | "lg";
|
|
7
10
|
/** Color intent variants */
|
|
@@ -19,7 +22,7 @@ interface BaseComponentProps {
|
|
|
19
22
|
style?: CSSProperties;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
interface ButtonProps extends
|
|
25
|
+
interface ButtonProps extends HTMLMotionProps<"button"> {
|
|
23
26
|
/** Visual color intent */
|
|
24
27
|
color?: ColorVariant;
|
|
25
28
|
/** Visual style variant */
|
|
@@ -42,7 +45,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
42
45
|
isIconOnly?: boolean;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
46
49
|
|
|
47
50
|
interface ButtonGroupProps {
|
|
48
51
|
children: ReactNode;
|
|
@@ -62,7 +65,11 @@ interface ButtonGroupItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
declare function ButtonGroup({ children, className }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
65
|
-
declare
|
|
68
|
+
declare const ButtonGroupItem: React$1.ForwardRefExoticComponent<ButtonGroupItemProps & {
|
|
69
|
+
buttonRef?: React$1.Ref<HTMLButtonElement>;
|
|
70
|
+
} & {
|
|
71
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement>;
|
|
72
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
66
73
|
|
|
67
74
|
type InputVariant = "bordered" | "flat" | "faded" | "underlined";
|
|
68
75
|
type TextareaResize = "none" | "vertical" | "horizontal" | "both";
|
|
@@ -204,7 +211,7 @@ declare namespace Tag {
|
|
|
204
211
|
var displayName: string;
|
|
205
212
|
}
|
|
206
213
|
|
|
207
|
-
interface CardProps extends
|
|
214
|
+
interface CardProps extends HTMLMotionProps<"div"> {
|
|
208
215
|
/** Makes the entire card a pressable/clickable surface */
|
|
209
216
|
isPressable?: boolean;
|
|
210
217
|
/** Removes default shadow */
|
|
@@ -223,7 +230,7 @@ interface CardBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
223
230
|
interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
224
231
|
}
|
|
225
232
|
|
|
226
|
-
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
233
|
+
declare const Card: React$1.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
227
234
|
declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
228
235
|
declare const CardBody: React$1.ForwardRefExoticComponent<CardBodyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
229
236
|
declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -411,11 +418,15 @@ interface CheckboxProps {
|
|
|
411
418
|
label?: string;
|
|
412
419
|
/** Supporting description rendered below the label */
|
|
413
420
|
description?: string;
|
|
421
|
+
/** Accessible name when no visible label should be rendered */
|
|
422
|
+
"aria-label"?: string;
|
|
423
|
+
/** Accessible label reference when no visible label should be rendered */
|
|
424
|
+
"aria-labelledby"?: string;
|
|
414
425
|
className?: string;
|
|
415
426
|
id?: string;
|
|
416
427
|
}
|
|
417
428
|
|
|
418
|
-
declare function Checkbox({ checked, indeterminate, defaultChecked, onChange, variant, size, isDisabled, label, description, className, id: idProp, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
429
|
+
declare function Checkbox({ checked, indeterminate, defaultChecked, onChange, variant, size, isDisabled, label, description, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className, id: idProp, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
419
430
|
declare namespace Checkbox {
|
|
420
431
|
var displayName: string;
|
|
421
432
|
}
|
|
@@ -458,8 +469,10 @@ interface CheckboxGroupProps {
|
|
|
458
469
|
/** Uncontrolled default selected values */
|
|
459
470
|
defaultValue?: string[];
|
|
460
471
|
onChange?: (values: string[]) => void;
|
|
461
|
-
/**
|
|
472
|
+
/** Visible group label — also provides accessible name via aria-labelledby */
|
|
462
473
|
label?: string;
|
|
474
|
+
/** Invisible accessible name when no visible label is used */
|
|
475
|
+
"aria-label"?: string;
|
|
463
476
|
/** Disable the entire group */
|
|
464
477
|
isDisabled?: boolean;
|
|
465
478
|
/** Stack direction */
|
|
@@ -472,7 +485,7 @@ interface CheckboxGroupProps {
|
|
|
472
485
|
}
|
|
473
486
|
|
|
474
487
|
declare function CheckboxCard({ value: _value, title, subtitle, description, icon, price, priceUnit, badge, badgeColor, avatarSrc, checked, defaultChecked, onChange, isDisabled, size, variant, className, id: idProp, }: CheckboxCardProps): react_jsx_runtime.JSX.Element;
|
|
475
|
-
declare function CheckboxGroup({ options, value, defaultValue, onChange, label, isDisabled, orientation, size, variant, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
488
|
+
declare function CheckboxGroup({ options, value, defaultValue, onChange, label, "aria-label": ariaLabel, isDisabled, orientation, size, variant, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
476
489
|
|
|
477
490
|
type ProgressLabelPlacement = "none" | "right" | "below" | "tooltip-above" | "tooltip-below";
|
|
478
491
|
type ProgressSize = "sm" | "md";
|
|
@@ -762,7 +775,7 @@ interface SparklineChartProps {
|
|
|
762
775
|
className?: string;
|
|
763
776
|
}
|
|
764
777
|
|
|
765
|
-
declare function LineChart({ data, series, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, showArea, curved, stacked, yAxisLabel, xAxisLabel, className, }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
778
|
+
declare function LineChart({ data, series: seriesRaw, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, showArea, curved, stacked, yAxisLabel, xAxisLabel, className, }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
766
779
|
|
|
767
780
|
declare function BarChart({ data, series, size, showLegend, legendPosition, showXAxis, showYAxis, showGrid, stacked, orientation, yAxisLabel, xAxisLabel, className, }: BarChartProps): react_jsx_runtime.JSX.Element;
|
|
768
781
|
|
|
@@ -1505,6 +1518,7 @@ type ThemeTokens = {
|
|
|
1505
1518
|
};
|
|
1506
1519
|
declare const lightTheme: ThemeTokens;
|
|
1507
1520
|
declare const darkTheme: ThemeTokens;
|
|
1521
|
+
|
|
1508
1522
|
/**
|
|
1509
1523
|
* Generates a `<style>` block with CSS custom properties for every design
|
|
1510
1524
|
* theme × light/dark mode. The first theme (inkwell) is output as `:root` / `.dark`.
|
|
@@ -1515,4 +1529,4 @@ declare function generateThemeCSS(): string;
|
|
|
1515
1529
|
|
|
1516
1530
|
declare const PIXELPLAY_VERSION = "1.0.3";
|
|
1517
1531
|
|
|
1518
|
-
export { type AccountDropdownItem, ActionDropdownCell, type ActionDropdownCellProps, ActionIconsCell, type ActionIconsCellProps, Alert, type AlertColor, type AlertIconStyle, type AlertLayout, type AlertProps, type AttachmentFileType, Avatar, AvatarCell, type AvatarCellProps, type AvatarColor, AvatarGroupCell, type AvatarGroupCellProps, type AvatarGroupItem, type AvatarProps, Badge, BadgeCell, type BadgeCellProps, type BadgeColor, BadgeGroup, type BadgeGroupColor, type BadgeGroupProps, type BadgeGroupSize, type BadgeItem, type BadgeProps, type BadgeSize, BadgesCell, BarChart, type BarChartProps, type BaseChartProps, type BaseComponentProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CarouselArrow, type CarouselArrowColor, type CarouselArrowProps, type CarouselArrowSize, type ChartDataPoint, type ChartSeries, type ChartSize, ChatMessage, type ChatMessageProps, Checkbox, CheckboxCard, type CheckboxCardOption, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type ColorVariant, type CountryCode, CountryFlag, type CountryFlagProps, type CountryFlagShape, type CountryFlagSize, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DonutChart, type DonutChartProps, DropdownMenu, DropdownMenuAvatarHeader, type DropdownMenuAvatarHeaderProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, type EventColor, type FeatureIconColor, type FileType, FileTypeCell, type FileTypeCellProps, FileTypeIcon, type FileTypeIconProps, FileUpload, type FileUploadProps, type FileUploadStatus, type FileUploadVariant, type IndicatorColor, type IndicatorShape, type IndicatorSize, Input, type InputProps, type InputVariant, type LegendPosition, LineChart, type LineChartProps, MegaInput, type MegaInputProps, type MessageAttachment, MessageReaction, type MessageReactionProps, type MessageSide, type MessageType, Modal, type ModalAction, type ModalActionsLayout, type ModalAlign, type ModalAvatarGroupItem, type ModalCheckboxConfig, type ModalLayout, type ModalPosition, type ModalProps, type ModalSize, type ModalUserAvatar, PIXELPLAY_VERSION, Pagination, PaginationIndicator, type PaginationIndicatorProps, type PaginationPageShape, type PaginationProps, type PaginationVariant, ProgressBar, type ProgressBarProps, ProgressCell, type ProgressLabelPlacement, type ProgressSize, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, type RadiusVariant, RangeSlider, type RangeSliderProps, ScatterChart, type ScatterChartProps, type ScatterDataPoint, type ScatterSeries, Select, type SelectOption, type SelectProps, type SizeScale, type SliderLabelPlacement, SocialButton, type SocialButtonProps, type SocialButtonStyle, type SocialPlatform, SparklineChart, type SparklineChartProps, Spinner, type SpinnerProps, StoreButton, type StoreButtonProps, type StoreButtonSize, type StoreButtonTheme, type StorePlatform, type StyleVariant, type TabItem, Tabs, type TabsProps, Tag, type TagProps, type TagSize, type TextAction, TextActionCell, TextCell, type TextCellProps, Textarea, type TextareaProps, type TextareaResize, type ThemeTokens, type ToastColor, type ToastContextValue, type ToastItem, ToastProvider, Toggle, type ToggleProps, Tooltip, type TooltipColor, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, cn, darkTheme, generateThemeCSS, getFileExtColor, getFileExtLabel, lightTheme, useToast };
|
|
1532
|
+
export { type AccountDropdownItem, ActionDropdownCell, type ActionDropdownCellProps, ActionIconsCell, type ActionIconsCellProps, Alert, type AlertColor, type AlertIconStyle, type AlertLayout, type AlertProps, type AttachmentFileType, Avatar, AvatarCell, type AvatarCellProps, type AvatarColor, AvatarGroupCell, type AvatarGroupCellProps, type AvatarGroupItem, type AvatarProps, Badge, BadgeCell, type BadgeCellProps, type BadgeColor, BadgeGroup, type BadgeGroupColor, type BadgeGroupProps, type BadgeGroupSize, type BadgeItem, type BadgeProps, type BadgeSize, BadgesCell, BarChart, type BarChartProps, type BaseChartProps, type BaseComponentProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CarouselArrow, type CarouselArrowColor, type CarouselArrowProps, type CarouselArrowSize, type ChartDataPoint, type ChartSeries, type ChartSize, ChatMessage, type ChatMessageProps, Checkbox, CheckboxCard, type CheckboxCardOption, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type ColorVariant, type CountryCode, CountryFlag, type CountryFlagProps, type CountryFlagShape, type CountryFlagSize, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DonutChart, type DonutChartProps, DropdownMenu, DropdownMenuAvatarHeader, type DropdownMenuAvatarHeaderProps, DropdownMenuHeader, type DropdownMenuHeaderProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, type EventColor, type FeatureIconColor, type FileType, FileTypeCell, type FileTypeCellProps, FileTypeIcon, type FileTypeIconProps, FileUpload, type FileUploadProps, type FileUploadStatus, type FileUploadVariant, type IndicatorColor, type IndicatorShape, type IndicatorSize, Input, type InputProps, type InputVariant, type LegendPosition, LineChart, type LineChartProps, MegaInput, type MegaInputProps, type MessageAttachment, MessageReaction, type MessageReactionProps, type MessageSide, type MessageType, Modal, type ModalAction, type ModalActionsLayout, type ModalAlign, type ModalAvatarGroupItem, type ModalCheckboxConfig, type ModalLayout, type ModalPosition, type ModalProps, type ModalSize, type ModalUserAvatar, PIXELPLAY_VERSION, Pagination, PaginationIndicator, type PaginationIndicatorProps, type PaginationPageShape, type PaginationProps, type PaginationVariant, type PersonalityPreset, ProgressBar, type ProgressBarProps, ProgressCell, type ProgressLabelPlacement, type ProgressSize, RadarChart, type RadarChartProps, RadialChart, type RadialChartProps, type RadiusVariant, RangeSlider, type RangeSliderProps, ScatterChart, type ScatterChartProps, type ScatterDataPoint, type ScatterSeries, Select, type SelectOption, type SelectProps, type SizeScale, type SliderLabelPlacement, SocialButton, type SocialButtonProps, type SocialButtonStyle, type SocialPlatform, SparklineChart, type SparklineChartProps, Spinner, type SpinnerProps, StoreButton, type StoreButtonProps, type StoreButtonSize, type StoreButtonTheme, type StorePlatform, type StyleVariant, type TabItem, Tabs, type TabsProps, Tag, type TagProps, type TagSize, type TextAction, TextActionCell, TextCell, type TextCellProps, Textarea, type TextareaProps, type TextareaResize, type ThemeTokens, type ToastColor, type ToastContextValue, type ToastItem, ToastProvider, Toggle, type ToggleProps, Tooltip, type TooltipColor, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, cn, darkTheme, generateThemeCSS, getFileExtColor, getFileExtLabel, lightTheme, useToast };
|