@duyluonganduin/acl-web-components 0.0.3 → 0.0.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/react.d.ts CHANGED
@@ -179,12 +179,39 @@ declare module 'react' {
179
179
  status?: string
180
180
  }
181
181
 
182
+ // ── anduin-popover ────────────────────────────────────────────────────
183
+ 'anduin-popover': Base & {
184
+ /** Whether the panel is open (default: false) */
185
+ open?: boolean | string
186
+ /** 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' (default: 'bottom-start') */
187
+ placement?: string
188
+ }
189
+
190
+ // ── anduin-menu ───────────────────────────────────────────────────────
191
+ 'anduin-menu': Base & {
192
+ /** Whether the menu is open (default: false) */
193
+ open?: boolean | string
194
+ /** 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' (default: 'bottom-start') */
195
+ placement?: string
196
+ }
197
+
198
+ // ── anduin-menu-item ──────────────────────────────────────────────────
199
+ 'anduin-menu-item': Base & {
200
+ /** anduin-icon name shown before the label */
201
+ icon?: string
202
+ /** 'default' | 'danger' (default: 'default') */
203
+ variant?: 'default' | 'danger'
204
+ disabled?: boolean | string
205
+ }
206
+
182
207
  // ── anduin-tabs ───────────────────────────────────────────────────────
183
208
  'anduin-tabs': Base & {
184
209
  /** Initially active tab value */
185
210
  'default-value'?: string
186
211
  /** Controlled active tab value */
187
212
  value?: string
213
+ /** Stretch tabs + active panel to fill parent height */
214
+ fill?: boolean | string
188
215
  }
189
216
 
190
217
  // ── anduin-tabs-list ──────────────────────────────────────────────────
@@ -200,6 +227,10 @@ declare module 'react' {
200
227
  /** anduin-icon name */
201
228
  'start-icon'?: string
202
229
  disabled?: boolean | string
230
+ /** Show a count badge on the trigger */
231
+ 'show-badge'?: boolean | string
232
+ /** Text shown inside the badge */
233
+ 'badge-count'?: string
203
234
  }
204
235
 
205
236
  // ── anduin-tab-content ────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",