@duyluonganduin/acl-web-components 0.0.7 → 0.0.8

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
@@ -156,7 +156,7 @@ declare module 'react' {
156
156
  'anduin-input': Base & {
157
157
  value?: string
158
158
  /** 'small' | 'default' | 'large' (default: 'default') */
159
- size?: string
159
+ size?: 'small' | 'default' | 'large'
160
160
  disabled?: boolean | string
161
161
  readonly?: boolean | string
162
162
  placeholder?: string
@@ -164,6 +164,12 @@ declare module 'react' {
164
164
  inputid?: string
165
165
  /** 'valid' | 'invalid' | 'warning' | 'loading' */
166
166
  status?: string
167
+ /** anduin-icon name shown on the left */
168
+ 'start-icon'?: string
169
+ /** anduin-icon name shown on the right */
170
+ 'end-icon'?: string
171
+ /** Show a clear button when value is non-empty */
172
+ clearable?: boolean | string
167
173
  }
168
174
 
169
175
  // ── anduin-textarea ───────────────────────────────────────────────────
@@ -289,6 +295,16 @@ declare module 'react' {
289
295
 
290
296
  // ── anduin-modal-close ────────────────────────────────────────────────
291
297
  'anduin-modal-close': Base
298
+
299
+ // ── anduin-file-icon ──────────────────────────────────────────────────
300
+ 'anduin-file-icon': Base & {
301
+ /** 'archive' | 'audio' | 'blueprint' | 'box' | 'csv' | 'excel' | 'folder'
302
+ * | 'folder-empty' | 'form' | 'generic' | 'image' | 'link' | 'pdf'
303
+ * | 'powerpoint' | 'signed' | 'text' | 'video' | 'word' */
304
+ type?: string
305
+ /** 16 | 24 | 32 (default: 32) */
306
+ size?: 16 | 24 | 32 | string
307
+ }
292
308
  }
293
309
  }
294
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",