@bailaya/react 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,6 +28,7 @@ Whether you need a quick `<StudioProfileCard />` or fine-grained hooks like `use
28
28
  - `<InstructorList />`
29
29
  - `<ClassSchedule />`
30
30
  - `<ClassScheduleByType />`
31
+ - `<StudioDescription />`
31
32
  - **Localization**
32
33
  - Select description by `locale` prop
33
34
  - Date formatting via Intl
@@ -151,12 +152,13 @@ All components share:
151
152
  * **`renderItem`** for full JSX override
152
153
 
153
154
  | Component | Props |
154
- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
155
+ |---------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
155
156
  | `<StudioProfileCard />` | `overrideId?`, `locale?`, `labels?`, `className?`, `nameClassName?`, `descriptionClassName?`, `labelClassName?`, `renderProfile?` |
156
157
  | `<UserProfileCard />` | `userId`, `locale?`, `labels?`, `className?`, `nameClassName?`, `bioClassName?`, `renderProfile?` |
157
158
  | `<InstructorList />` | `overrideId?`, `renderItem?`, plus styling slots: `className?`, `itemClassName?`, `imageWrapperClassName?`, etc. |
158
159
  | `<ClassSchedule />` | `from?`, `overrideId?`, `locale?`, `labels?`, `renderItem?`, plus slots: `className?`, `itemClassName?`, etc. |
159
160
  | `<ClassScheduleByType />` | `typeName`, `from?`, `overrideId?`, `locale?`, `labels?`, `renderItem?`, plus same styling slots as `<ClassSchedule />`. |
161
+ | `<StudioDescription />` | `overrideId?`, `locale?`, `render?`, plus styling slots: `className?`, `paragraphClassName?` |
160
162
 
161
163
  ## License
162
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bailaya/react",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A React component library for the BailaYa public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",