@rcarls/rc-chip 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 ADDED
@@ -0,0 +1,98 @@
1
+ # @rcarls/rc-chip
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
+ ## 0.6.0
39
+
40
+ ### Minor Changes
41
+
42
+ - ffcbf11: Add adaptive chip-group layouts, native-backed filter chips, and shared
43
+ input-chip rendering. Native-backed chips preserve controlled host state,
44
+ follow form resets when uncontrolled, and accept native link actions. Groups
45
+ restore author-owned chip variants when coordination ends. Keep search input
46
+ chrome inside the search surface and align contextual icon sizes with Material 3.
47
+ - 0a462c5: Add `--rc-chip-touch-target-overlap-block-start` and `-block-end`, zero by
48
+ default. A theme or consumer sets one to let a chip's accessible
49
+ touch-target inflation on that side overlap into whatever sits just
50
+ outside the host, such as a height-constrained field's own block padding
51
+ (a multi-select value area in `rc-search-bar` or `rc-combobox`, say),
52
+ instead of also reserving layout space there. The block-axis counterpart
53
+ to `@rcarls/rc-button`'s, `@rcarls/rc-menu-button`'s, and
54
+ `@rcarls/rc-adaptive-menu`'s own inline-axis touch-target overlap tokens.
55
+
56
+ ### Patch Changes
57
+
58
+ - 7adbd76: Keep development diagnostics concise and prevent expected test fixtures from emitting noisy warnings.
59
+
60
+ ## 0.5.0
61
+
62
+ ## 0.4.2
63
+
64
+ ## 0.4.1
65
+
66
+ ## 0.4.0
67
+
68
+ ### Minor Changes
69
+
70
+ - 74d9046: Add native button-based chip controls and let toolbars coordinate groups of
71
+ interactive chips with roving focus.
72
+
73
+ ### Patch Changes
74
+
75
+ - 55e8ab5: Preserve UA-like control and surface styling until an optional theme supplies decorative tokens.
76
+ Restore themed button hover and pressed state layers, including a pointer-origin Material ripple.
77
+ - c926344: Document all `rc-chip` CSS custom properties, including the previously
78
+ undocumented `--rc-chip-gap`, `--rc-chip-block-size`, `--rc-chip-radius`, and
79
+ selection/disabled/focus tokens, and fix the `--rc-chip-removable-padding-inline-end`
80
+ tag to show its real `calc()` default.
81
+ - c40a1be: Add theme-neutral fast, default, and slow effects and spatial motion token
82
+ pairs. Expose bottom-sheet settle easing through
83
+ `--rc-bottom-sheet-snap-easing` and map sheet settling to the Material spatial
84
+ motion scheme.
85
+
86
+ Give direct-child bottom-sheet handles a full-width 48px interaction target
87
+ while preserving the 32 by 4 pixel visual indicator. Replace rectangular
88
+ mobile browser tap highlights on chips with themeable, shape-clipped state
89
+ layers. Keep bottom-sheet snap targets docked to the block-end edge when CSS
90
+ minimum or maximum sizing constrains their requested heights.
91
+
92
+ Mount declaratively assigned textarea plugins at connection time and remount
93
+ them after reconnection, preserving plugin effects and adopted styles in
94
+ framework render lifecycles.
95
+
96
+ - 979b989: Use a zero default gap for tighter chip content layout and a smaller default
97
+ font size for slotted remove icons. Derive removable content padding from the
98
+ remove target width and chip gap so the label and trailing icon stay aligned.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # @rcarls/rc-chip
2
+
3
+ Chip wrapper for native actions, links, filters, and inputs.
4
+
5
+ ```html
6
+ <rc-chip variant="filter">
7
+ <button type="button">Vegetarian</button>
8
+ </rc-chip>
9
+ ```
10
+
11
+ The native button remains connected for keyboard behavior and progressive enhancement.
12
+ Native tap highlighting is suppressed because the component's clipped state layer
13
+ provides hover, focus, and pressed feedback within the chip shape.
14
+ Structural styles for the native child are installed in the `rc-base` cascade
15
+ layer, so normal author rules outside a layer remain the final styling authority.
16
+
17
+ Themes may use `--rc-chip-padding-inline-start` and
18
+ `--rc-chip-padding-inline-end` for icon-aware logical padding. Both fall back
19
+ to `--rc-chip-padding-inline`, so existing symmetric padding remains compatible.
20
+
21
+ Navigation chips preserve the same native-link behavior:
22
+
23
+ ```html
24
+ <rc-chip>
25
+ <a href="/recipes">Recipes</a>
26
+ </rc-chip>
27
+ ```
28
+
29
+ Use `rc-toolbar` when a group of interactive chips should form one tab stop
30
+ with arrow-key navigation. Import `@rcarls/rc-toolbar/define` separately when
31
+ you are not using the aggregate package:
32
+
33
+ ```html
34
+ <rc-toolbar label="Recipe filters">
35
+ <rc-chip variant="filter">
36
+ <button type="button">Quick</button>
37
+ </rc-chip>
38
+ <rc-chip variant="filter">
39
+ <button type="button">Vegetarian</button>
40
+ </rc-chip>
41
+ </rc-toolbar>
42
+ ```
43
+
44
+ For a removable chip, the direct native button is the only interactive
45
+ control. Activating it fires `rc-chip-remove`; the trailing remove icon is
46
+ presentational. Give the button an action-oriented accessible name:
47
+
48
+ ```html
49
+ <rc-chip variant="input" removable>
50
+ <button type="button" aria-label="Remove basil">Basil</button>
51
+ </rc-chip>
52
+ ```