@rcarls/rc-chip-group 0.0.0-next-20260921045401
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/CHANGELOG.md +65 -0
- package/README.md +26 -0
- package/dist/custom-elements.json +692 -0
- package/dist/rc-chip-group-C0a2UQhf.js +364 -0
- package/dist/rc-chip-group-C0a2UQhf.js.map +1 -0
- package/dist/rc-chip-group-define.js +7 -0
- package/dist/rc-chip-group-define.js.map +1 -0
- package/dist/rc-chip-group.js +5 -0
- package/dist/rc-chip-group.js.map +1 -0
- package/dist/types/packages/rc-chip-group/src/define.d.ts +1 -0
- package/dist/types/packages/rc-chip-group/src/index.d.ts +1 -0
- package/dist/types/packages/rc-chip-group/src/rc-chip-group.d.ts +123 -0
- package/dist/types/packages/rc-chip-group/src/rc-chip-group.styles.d.ts +2 -0
- package/package.json +66 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# @rcarls/rc-chip-group
|
|
2
|
+
|
|
3
|
+
## 0.0.0-next-20260921045401
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 079e025: Standardize component styling contracts for the breaking 0.7 release.
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGE: Rename the Markdown editor's `--rme-*` properties to
|
|
10
|
+
`--rc-markdown-editor-*`, `--rc-app-bar-background` to `--rc-app-bar-bg`,
|
|
11
|
+
`--rc-textarea-radius` to `--rc-textarea-border-radius`, the transfer-list
|
|
12
|
+
`--rc-transfer-list-panel-*` properties to `--rc-transfer-list-listbox-*`,
|
|
13
|
+
`--rc-chip-group-webkit-scrollbar-display` to
|
|
14
|
+
`--rc-chip-group-scrollbar-display`, and `--rc-text` to `--rc-field-text`.
|
|
15
|
+
Compatibility aliases are intentionally not provided.
|
|
16
|
+
|
|
17
|
+
BREAKING CHANGE: Replace `--rc-select-chip-padding-inline` and
|
|
18
|
+
`--rc-combobox-chip-padding-inline` with explicit `*-padding-inline-start` and
|
|
19
|
+
`*-padding-inline-end` tokens. Generated removable chips now reserve the full
|
|
20
|
+
remove target and its edge offset, so their indicator cannot overlap label text.
|
|
21
|
+
|
|
22
|
+
Add canonical app-bar elevation, transfer-list listbox radius, and textarea
|
|
23
|
+
line-action tokens. Add logical `rc-chip` inline-padding properties so themes
|
|
24
|
+
can implement Material's icon-aware spacing without overriding authored child
|
|
25
|
+
styles. Make `rc-field` consume the shared semantic token layer,
|
|
26
|
+
and place the `rc-chip` and `rc-search-bar` light-DOM structural styles in the
|
|
27
|
+
`rc-base` cascade layer so normal consumer rules override them.
|
|
28
|
+
|
|
29
|
+
Prevent decorative, `aria-hidden` trailing list content from intercepting a
|
|
30
|
+
whole-row action target, and keep segmented-list item geometry from leaking
|
|
31
|
+
into nested standard lists.
|
|
32
|
+
|
|
33
|
+
Remove unused Material navigation-rail toggle tokens and obsolete list-item
|
|
34
|
+
theme tokens. Register the segmented-button private theme seam and enforce
|
|
35
|
+
token ownership, documentation, removed-name, selector-budget, and cascade
|
|
36
|
+
layer contracts through the component architecture audit.
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [50d5610]
|
|
41
|
+
- Updated dependencies [079e025]
|
|
42
|
+
- Updated dependencies [4341311]
|
|
43
|
+
- @rcarls/rc-common@0.0.0-next-20260921045401
|
|
44
|
+
- @rcarls/rc-chip@0.0.0-next-20260921045401
|
|
45
|
+
|
|
46
|
+
## 0.6.0
|
|
47
|
+
|
|
48
|
+
### Minor Changes
|
|
49
|
+
|
|
50
|
+
- ffcbf11: Add adaptive chip-group layouts, native-backed filter chips, and shared
|
|
51
|
+
input-chip rendering. Native-backed chips preserve controlled host state,
|
|
52
|
+
follow form resets when uncontrolled, and accept native link actions. Groups
|
|
53
|
+
restore author-owned chip variants when coordination ends. Keep search input
|
|
54
|
+
chrome inside the search surface and align contextual icon sizes with Material 3.
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Updated dependencies [ffcbf11]
|
|
59
|
+
- Updated dependencies [6683eb9]
|
|
60
|
+
- Updated dependencies [7adbd76]
|
|
61
|
+
- Updated dependencies [ee7ba6c]
|
|
62
|
+
- Updated dependencies [30eb232]
|
|
63
|
+
- Updated dependencies [0a462c5]
|
|
64
|
+
- @rcarls/rc-chip@0.6.0
|
|
65
|
+
- @rcarls/rc-common@0.6.0
|
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @rcarls/rc-chip-group
|
|
2
|
+
|
|
3
|
+
Adaptive wrapping and horizontal-scrolling layout for `rc-chip`, native
|
|
4
|
+
controls, or arbitrary elements.
|
|
5
|
+
|
|
6
|
+
```html
|
|
7
|
+
<fieldset>
|
|
8
|
+
<legend>Recipe scope</legend>
|
|
9
|
+
<rc-chip-group kind="filter" selection="single" label="Recipe scope">
|
|
10
|
+
<rc-chip>
|
|
11
|
+
<label><input type="radio" name="scope" value="all" checked />All</label>
|
|
12
|
+
</rc-chip>
|
|
13
|
+
<rc-chip>
|
|
14
|
+
<label><input type="radio" name="scope" value="favorites" />Favorites</label>
|
|
15
|
+
</rc-chip>
|
|
16
|
+
</rc-chip-group>
|
|
17
|
+
</fieldset>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`layout="auto"` is the default. Content wraps naturally while it fits within
|
|
21
|
+
`max-rows="2"`; larger groups become one horizontally scrolling row with a
|
|
22
|
+
leading **Show all** chip. The same action becomes **Show less** while expanded.
|
|
23
|
+
|
|
24
|
+
Use `kind="assist"` for toolbar semantics and roving arrow-key navigation,
|
|
25
|
+
`kind="filter"` for native radio/checkbox chips, or `kind="generic"` for
|
|
26
|
+
layout-only behavior. Filter fieldset and legend semantics remain author-owned.
|