@cmgfi/clear-ds 1.1.3 → 1.1.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/index.d.ts CHANGED
@@ -226,7 +226,7 @@ export declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButt
226
226
  /**
227
227
  * Size variant. Sizes match the Figma spec:
228
228
  * - `sm` = 24px height / 10px font
229
- * - `md` = 36px height / 13px font (default)
229
+ * - `md` = 36px height / 12px font (default)
230
230
  * - `lg` = 40px height / 15px font
231
231
  */
232
232
  size?: ButtonSize;
@@ -348,8 +348,8 @@ export declare interface CloseButtonProps extends React.ButtonHTMLAttributes<HTM
348
348
  * closes something specific, e.g. `aria-label="Close dialog"`.
349
349
  */
350
350
  'aria-label'?: string;
351
- /** Size variant. `sm` = 24×24px (default). `md` = 40×40px. */
352
- size?: 'sm' | 'md';
351
+ /** Size variant. `sm` = 24×24px (default). `md` = 36×36px. `lg` = 40×40px. */
352
+ size?: 'sm' | 'md' | 'lg';
353
353
  }
354
354
 
355
355
  export declare interface ColumnFilter {
@@ -886,7 +886,7 @@ export declare interface InputTextProps extends Omit<React.InputHTMLAttributes<H
886
886
  *
887
887
  * @example
888
888
  * <LightningButton
889
- * variant="outline"
889
+ * variant="basic"
890
890
  * items={[{ label: 'Copy Loan', value: 'copy' }]}
891
891
  * onSelect={(v) => console.log(v)}
892
892
  * aria-label="Quick actions"
@@ -911,10 +911,11 @@ export declare interface LightningButtonProps {
911
911
  variant?: 'basic' | 'filled';
912
912
  /**
913
913
  * Button size. Only meaningful for the `filled` variant.
914
- * - `'md'` — 36px tall (default)
915
914
  * - `'sm'` — 24px tall
915
+ * - `'md'` — 36px tall (default)
916
+ * - `'lg'` — 40px tall
916
917
  */
917
- size?: 'md' | 'sm';
918
+ size?: 'sm' | 'md' | 'lg';
918
919
  /** Dropdown items. */
919
920
  items: LightningButtonItem[];
920
921
  /** Called when the user selects a dropdown item. */
@@ -1672,6 +1673,8 @@ export declare interface SelectButtonOption {
1672
1673
  count?: number;
1673
1674
  /** Colored circular badge (e.g., teal for info, red for alerts). */
1674
1675
  badge?: SelectButtonBadge;
1676
+ /** Optional icon rendered before the label. Pass any React node (e.g. a PrimeIcon). */
1677
+ icon?: React.ReactNode;
1675
1678
  }
1676
1679
 
1677
1680
  export declare interface SelectButtonProps {
@@ -1688,6 +1691,8 @@ export declare interface SelectButtonProps {
1688
1691
  * clicking opens a dropdown to pick a different option.
1689
1692
  */
1690
1693
  variant?: 'group' | 'options';
1694
+ /** Size variant. Matches the standard button ramp: `sm` = 24px, `md` = 36px (default), `lg` = 40px. */
1695
+ size?: 'sm' | 'md' | 'lg';
1691
1696
  /** Optional field label rendered above the button. */
1692
1697
  label?: string;
1693
1698
  /** Adds a red asterisk next to the label. */
@@ -1891,8 +1896,8 @@ export declare interface SplitButtonProps {
1891
1896
  * Defaults to `'primary'`.
1892
1897
  */
1893
1898
  variant?: 'primary' | 'secondary';
1894
- /** Size. `'md'` = 36px height (default). `'sm'` = 24px height. */
1895
- size?: 'md' | 'sm';
1899
+ /** Size. `'md'` = 36px height (default). `'sm'` = 24px height. `'lg'` = 40px height. */
1900
+ size?: 'sm' | 'md' | 'lg';
1896
1901
  /** Optional icon rendered before the label in the main action area. */
1897
1902
  leadingIcon?: React.ReactNode;
1898
1903
  /** Disables the entire component. */