@cmgfi/clear-ds 1.2.0 → 1.2.1
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/README.md +4 -4
- package/dist/index.cjs +35 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +2426 -2425
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -373,6 +373,8 @@ export declare interface CheckboxProps extends Omit<React.InputHTMLAttributes<HT
|
|
|
373
373
|
* panels, toasts, tags, or any overlay. Requires an `aria-label` for
|
|
374
374
|
* screen-reader context (defaults to `"Close"`).
|
|
375
375
|
*
|
|
376
|
+
* A `Tooltip` showing the `aria-label` is rendered automatically on hover.
|
|
377
|
+
*
|
|
376
378
|
* @example
|
|
377
379
|
* <CloseButton onClick={onClose} />
|
|
378
380
|
*
|
|
@@ -804,6 +806,9 @@ export declare interface FullNavProps {
|
|
|
804
806
|
* A circular icon-only button. Shares the same variants and sizes as Button.
|
|
805
807
|
* Always requires an `aria-label` since there is no visible text.
|
|
806
808
|
*
|
|
809
|
+
* A `Tooltip` showing the `aria-label` is rendered automatically on hover for
|
|
810
|
+
* mouse users — no extra prop needed.
|
|
811
|
+
*
|
|
807
812
|
* @example
|
|
808
813
|
* <IconButton icon={<i className="pi pi-search" />} aria-label="Search" />
|
|
809
814
|
*
|
|
@@ -923,6 +928,8 @@ export declare interface InputTextProps extends Omit<React.InputHTMLAttributes<H
|
|
|
923
928
|
* - `basic` — no visible container, teal icon (default)
|
|
924
929
|
* - `filled` — solid teal-700 background
|
|
925
930
|
*
|
|
931
|
+
* A `Tooltip` showing the `aria-label` is rendered automatically on hover.
|
|
932
|
+
*
|
|
926
933
|
* @example
|
|
927
934
|
* <LightningButton
|
|
928
935
|
* variant="basic"
|
|
@@ -1994,6 +2001,9 @@ export declare type SortOrder = 1 | -1;
|
|
|
1994
2001
|
* - **Left** (main): executes the primary action when clicked.
|
|
1995
2002
|
* - **Right** (trigger): opens a dropdown of secondary actions.
|
|
1996
2003
|
*
|
|
2004
|
+
* The dropdown trigger shows a `Tooltip` with `triggerAriaLabel` on hover
|
|
2005
|
+
* (defaults to `"More options"`) since it has no visible text label.
|
|
2006
|
+
*
|
|
1997
2007
|
* @example
|
|
1998
2008
|
* <SplitButton
|
|
1999
2009
|
* label="Import"
|