@shineuix/angular 1.0.3 → 1.1.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/index.d.ts CHANGED
@@ -745,6 +745,7 @@ declare class SuiButton {
745
745
  * Font Awesome class, e.g. "fa-regular fa-paper-plane". An icon with no `label` and no slot
746
746
  * content has no accessible name: give the element an `aria-label`, which is forwarded to the
747
747
  * button, or reach for `sui-icon-button`. An `aria-label` should contain the visible label.
748
+ * `aria-expanded`, `aria-haspopup`, `aria-controls` and `aria-pressed` reach it the same way.
748
749
  */
749
750
  icon?: Exclude<Components.SuiButton['icon'], undefined>;
750
751
  /**
@@ -3693,7 +3694,7 @@ declare class SuiCopyButton {
3693
3694
  copied: Components.SuiCopyButton['copied'];
3694
3695
  static ngAcceptInputType_copied: boolean | '';
3695
3696
  /**
3696
- * Confirmation text shown while in the check state, and announced through a polite live region.
3697
+ * Confirmation announced through a polite live region, and shown under `feedback="text"`.
3697
3698
  */
3698
3699
  copiedLabel?: Exclude<Components.SuiCopyButton['copiedLabel'], undefined>;
3699
3700
  /**
@@ -3703,15 +3704,17 @@ declare class SuiCopyButton {
3703
3704
  disabled: Components.SuiCopyButton['disabled'];
3704
3705
  static ngAcceptInputType_disabled: boolean | '';
3705
3706
  /**
3706
- * Text shown for 1.6 s when the write fails, and announced, so the person who pressed sees the
3707
- * refusal; `suiCopyError` still fires for a host that wants to offer more. Defaults to
3708
- * "Not copied".
3707
+ * Announced when the write fails, and shown for 1.6 s under `feedback="text"`; the glyph turns to
3708
+ * a warning either way, so the person who pressed sees the refusal. `suiCopyError` still fires
3709
+ * for a host that wants to offer more. Defaults to "Not copied".
3709
3710
  */
3710
3711
  errorLabel?: Exclude<Components.SuiCopyButton['errorLabel'], undefined>;
3711
3712
  /**
3712
- * Success face: `text` (default) shows the check glyph plus `copiedLabel`; `icon` shows the
3713
- * check glyph only. The polite live region still announces `copiedLabel` in both modes.
3714
- * @default 'text'
3713
+ * Success face: `icon` (default) shows the check glyph on its tint, so the button is the size of
3714
+ * what it draws; `text` adds `copiedLabel` beside the check, for a toolbar with room, and holds
3715
+ * that room at rest, so what sits beside the button does not move. The polite live region announces
3716
+ * `copiedLabel` in both modes.
3717
+ * @default 'icon'
3715
3718
  */
3716
3719
  feedback: Components.SuiCopyButton['feedback'];
3717
3720
  /**
@@ -3908,8 +3911,9 @@ declare class SuiDataGrid {
3908
3911
  */
3909
3912
  rowHeights?: Exclude<Components.SuiDataGrid['rowHeights'], undefined>;
3910
3913
  /**
3911
- * Row identity `(row, index) => key`; defaults to the row index. Identity drives cell caching, so
3912
- * a grid whose rows reorder under it needs a real one. Property, not attribute.
3914
+ * Row identity: the name of the field that holds it (`ref`), or a function
3915
+ * `(row, index) => key`. Defaults to the row index, as does a row without that field. Identity
3916
+ * drives cell caching, so a grid whose rows reorder under it needs a real one.
3913
3917
  */
3914
3918
  rowKey?: Exclude<Components.SuiDataGrid['rowKey'], undefined>;
3915
3919
  /**
@@ -4122,8 +4126,10 @@ declare class SuiDataTable {
4122
4126
  */
4123
4127
  density: Components.SuiDataTable['density'];
4124
4128
  /**
4125
- * Whether a double click or F2 opens one cell's editor, every editor in the row, or nothing. A
4126
- * column takes part only if it declares an `editor`. Enter commits and Escape cancels.
4129
+ * Whether a double click or F2 opens one cell's editor, every editor in the row, or nothing.
4130
+ * Every column takes part, in a plain text input unless it names an `editor`. A column opts out
4131
+ * with `editable: false`, and one that draws its own cell takes part only if it names an
4132
+ * `editor`. Enter commits and Escape cancels.
4127
4133
  * @default 'none'
4128
4134
  */
4129
4135
  editMode: Components.SuiDataTable['editMode'];
@@ -4256,9 +4262,10 @@ declare class SuiDataTable {
4256
4262
  */
4257
4263
  rowDetail?: Exclude<Components.SuiDataTable['rowDetail'], undefined>;
4258
4264
  /**
4259
- * Row identity `(row, index) => key`; defaults to the row index. Selection, expansion and the
4260
- * edit events all carry this key, so a table whose rows reorder needs a real one. Property, not
4261
- * attribute.
4265
+ * Row identity: the name of the field that holds it (`ref`), or a function
4266
+ * `(row, index) => key`. Defaults to the row index, as does a row without that field. Selection,
4267
+ * expansion and the edit events all carry this key, so a table whose rows reorder needs a real
4268
+ * one.
4262
4269
  */
4263
4270
  rowKey?: Exclude<Components.SuiDataTable['rowKey'], undefined>;
4264
4271
  /**
@@ -4411,7 +4418,9 @@ declare interface SuiDataTable extends Components.SuiDataTable {
4411
4418
  */
4412
4419
  suiSelectionChange: EventEmitter<SuiDataTableCustomEvent<SuiGridRowSelection>>;
4413
4420
  /**
4414
- * Fires when a row is clicked or activated with Enter; detail is `{ row, key, index, x, y }`.
4421
+ * Fires when a row is clicked or activated with Enter; detail is `{ row, key, index, x, y }`. A
4422
+ click or Enter on a button, a link or a field drawn in a cell is that control's own, and does not
4423
+ fire this.
4415
4424
  */
4416
4425
  suiRowClick: EventEmitter<SuiDataTableCustomEvent<SuiDataTableRowEventDetail>>;
4417
4426
  /**
@@ -6705,9 +6714,21 @@ declare class SuiInputMask {
6705
6714
  /**
6706
6715
  * Native autocomplete token. Off by default: autofilled text is re-packed positionally, so a
6707
6716
  * value carrying a country code or extension mis-formats (`+1 812 282 0135` becomes
6708
- * `(181) 228-2013`). Opt in only where the mask matches the token exactly.
6717
+ * `(181) 228-2013`). Opt in only where the mask matches the token exactly. `inputmode` and
6718
+ * `enterkeyhint` set on the host reach the input the same way. Unset, `inputmode` is `numeric`
6719
+ * for a mask whose slots all take digits.
6709
6720
  */
6710
6721
  autocomplete?: Exclude<Components.SuiInputMask['autocomplete'], undefined>;
6722
+ /**
6723
+ * Draws each typed character as a dot and adds an eye that shows them, for a value that should not
6724
+ * sit on a screen, such as a tax ID or a Social Security number. The literals stay, so the format
6725
+ * still reads: `•••-••-••••`. Only what is drawn changes: `value`, the events and the form keep
6726
+ * the real characters. The field stays a text field, so a browser does not offer to save a tax ID as
6727
+ * a password or fill a saved password into it, and copying it copies the dots.
6728
+ * @default false
6729
+ */
6730
+ concealed: Components.SuiInputMask['concealed'];
6731
+ static ngAcceptInputType_concealed: boolean | '';
6711
6732
  /**
6712
6733
  * Disables the field.
6713
6734
  * @default false
@@ -6722,6 +6743,11 @@ declare class SuiInputMask {
6722
6743
  * Help text under the field. Replaced by `error` when set.
6723
6744
  */
6724
6745
  help?: Exclude<Components.SuiInputMask['help'], undefined>;
6746
+ /**
6747
+ * Accessible name of the eye while the value is shown. Overrides the locale; defaults to
6748
+ * "Hide value".
6749
+ */
6750
+ hideLabel?: Exclude<Components.SuiInputMask['hideLabel'], undefined>;
6725
6751
  /**
6726
6752
  * Danger border without a message (validation handled elsewhere).
6727
6753
  * @default false
@@ -6761,6 +6787,11 @@ declare class SuiInputMask {
6761
6787
  */
6762
6788
  required: Components.SuiInputMask['required'];
6763
6789
  static ngAcceptInputType_required: boolean | '';
6790
+ /**
6791
+ * Accessible name of the eye while the value is hidden. Overrides the locale; defaults to
6792
+ * "Show value".
6793
+ */
6794
+ showLabel?: Exclude<Components.SuiInputMask['showLabel'], undefined>;
6764
6795
  /**
6765
6796
  * Control height: sm 28 for table rows, md 34 for forms and toolbars (the default, shared with the
6766
6797
  * select family and the buttons, so a form built from defaults is one height), lg 42 for a sign-in
@@ -6791,7 +6822,7 @@ declare class SuiInputMask {
6791
6822
  suiBlur: EventEmitter<SuiInputMaskCustomEvent<void>>;
6792
6823
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
6793
6824
  static ɵfac: i0.ɵɵFactoryDeclaration<SuiInputMask, never>;
6794
- static ɵcmp: i0.ɵɵComponentDeclaration<SuiInputMask, "sui-input-mask", never, { "autoClear": { "alias": "autoClear"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "help": { "alias": "help"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "suiInput": "suiInput"; "suiChange": "suiChange"; "suiComplete": "suiComplete"; "suiFocus": "suiFocus"; "suiBlur": "suiBlur"; }, never, ["*"], true, never>;
6825
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuiInputMask, "sui-input-mask", never, { "autoClear": { "alias": "autoClear"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "concealed": { "alias": "concealed"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "help": { "alias": "help"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "suiInput": "suiInput"; "suiChange": "suiChange"; "suiComplete": "suiComplete"; "suiFocus": "suiFocus"; "suiBlur": "suiBlur"; }, never, ["*"], true, never>;
6795
6826
  }
6796
6827
  declare interface SuiInputMask extends Components.SuiInputMask {
6797
6828
  /**
@@ -6854,7 +6885,8 @@ declare class SuiInputNumber {
6854
6885
  */
6855
6886
  help?: Exclude<Components.SuiInputNumber['help'], undefined>;
6856
6887
  /**
6857
- * Hides the up/down stepper column. The arrow keys still step the number.
6888
+ * Hides the stepper buttons: a stacked pair with a mouse, side by side on a touch screen. The arrow
6889
+ * keys still step the number.
6858
6890
  * @default false
6859
6891
  */
6860
6892
  hideButtons: Components.SuiInputNumber['hideButtons'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shineuix/angular",
3
- "version": "1.0.3",
3
+ "version": "1.1.1",
4
4
  "description": "Angular standalone directives for ShineUI web components.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "tslib": "^2.8.0",
24
- "@shineuix/core": "1.0.3"
24
+ "@shineuix/core": "1.1.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@angular/core": "^20.0.0 || ^21.0.0 || ^22.0.0",