@spectrum-web-components/action-button 1.7.0-snapshot.20250519200040 → 1.7.0
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 +30 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ An `<sp-action-button>` represents an action a user can take.
|
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@spectrum-web-components/action-button)
|
|
8
8
|
[](https://bundlephobia.com/result?p=@spectrum-web-components/action-button)
|
|
9
|
-
[](https://stackblitz.com/edit/vitejs-vite-alf1ticu)
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
yarn add @spectrum-web-components/action-button
|
|
@@ -133,7 +133,7 @@ fulfill the accessibility contract of the button.
|
|
|
133
133
|
<sp-action-button label="Edit">
|
|
134
134
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
135
135
|
</sp-action-button>
|
|
136
|
-
<sp-action-button label="Edit"
|
|
136
|
+
<sp-action-button label="Edit" hold-affordance>
|
|
137
137
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
138
138
|
</sp-action-button>
|
|
139
139
|
</sp-action-group>
|
|
@@ -358,7 +358,13 @@ The `<sp-action-button>` can be customized with either or both of the `emphasize
|
|
|
358
358
|
<sp-action-button label="Edit" quiet disabled selected>
|
|
359
359
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
360
360
|
</sp-action-button>
|
|
361
|
-
<sp-action-button
|
|
361
|
+
<sp-action-button
|
|
362
|
+
label="Edit"
|
|
363
|
+
quiet
|
|
364
|
+
disabled
|
|
365
|
+
selected
|
|
366
|
+
hold-affordance
|
|
367
|
+
>
|
|
362
368
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
363
369
|
</sp-action-button>
|
|
364
370
|
</sp-action-group>
|
|
@@ -440,7 +446,13 @@ The `<sp-action-button>` can be customized with either or both of the `emphasize
|
|
|
440
446
|
<sp-action-button label="Edit" emphasized disabled selected>
|
|
441
447
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
442
448
|
</sp-action-button>
|
|
443
|
-
<sp-action-button
|
|
449
|
+
<sp-action-button
|
|
450
|
+
label="Edit"
|
|
451
|
+
emphasized
|
|
452
|
+
disabled
|
|
453
|
+
selected
|
|
454
|
+
hold-affordance
|
|
455
|
+
>
|
|
444
456
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
445
457
|
</sp-action-button>
|
|
446
458
|
</sp-action-group>
|
|
@@ -484,7 +496,13 @@ The `<sp-action-button>` can be customized with either or both of the `emphasize
|
|
|
484
496
|
<sp-action-button label="Edit" emphasized quiet selected>
|
|
485
497
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
486
498
|
</sp-action-button>
|
|
487
|
-
<sp-action-button
|
|
499
|
+
<sp-action-button
|
|
500
|
+
label="Edit"
|
|
501
|
+
emphasized
|
|
502
|
+
quiet
|
|
503
|
+
selected
|
|
504
|
+
hold-affordance
|
|
505
|
+
>
|
|
488
506
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
489
507
|
</sp-action-button>
|
|
490
508
|
</sp-action-group>
|
|
@@ -501,7 +519,13 @@ The `<sp-action-button>` can be customized with either or both of the `emphasize
|
|
|
501
519
|
<sp-action-button label="Edit" emphasized quiet disabled>
|
|
502
520
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
503
521
|
</sp-action-button>
|
|
504
|
-
<sp-action-button
|
|
522
|
+
<sp-action-button
|
|
523
|
+
label="Edit"
|
|
524
|
+
emphasized
|
|
525
|
+
quiet
|
|
526
|
+
disabled
|
|
527
|
+
hold-affordance
|
|
528
|
+
>
|
|
505
529
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
506
530
|
</sp-action-button>
|
|
507
531
|
</sp-action-group>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/action-button",
|
|
3
|
-
"version": "1.7.0
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"css"
|
|
65
65
|
],
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@spectrum-web-components/base": "1.7.0
|
|
68
|
-
"@spectrum-web-components/button": "1.7.0
|
|
69
|
-
"@spectrum-web-components/icon": "1.7.0
|
|
70
|
-
"@spectrum-web-components/icons-ui": "1.7.0
|
|
71
|
-
"@spectrum-web-components/shared": "1.7.0
|
|
67
|
+
"@spectrum-web-components/base": "1.7.0",
|
|
68
|
+
"@spectrum-web-components/button": "1.7.0",
|
|
69
|
+
"@spectrum-web-components/icon": "1.7.0",
|
|
70
|
+
"@spectrum-web-components/icons-ui": "1.7.0",
|
|
71
|
+
"@spectrum-web-components/shared": "1.7.0"
|
|
72
72
|
},
|
|
73
73
|
"types": "./src/index.d.ts",
|
|
74
74
|
"customElements": "custom-elements.json",
|