abaabil 1.0.0 → 1.1.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/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/dist/accordion/a11y.js +1 -1
- package/dist/accordion/index.js +1 -1
- package/dist/accordion/styled.js +1 -1
- package/package.json +4 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
|
+
|
|
7
|
+
## [1.1.0] - 2026-09-21
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `abaabil/accordion`, `abaabil/accordion/styled`, and `abaabil/accordion/a11y` now each default-export their main component (`Accordion` and `Accordion_a11y` respectively), in addition to the existing named exports. This was a bug fix, not a feature: every other component in the library default-exports its main component at every tier, and accordion was the only one that did not. The README's own documented import for the `a11y` tier, `import { Accordion } from 'abaabil/accordion/a11y'`, was `undefined` in the published 1.0.0 package, because that tier only exported `Accordion_a11y` as a named export. The default export fixes that import path. Existing named imports (`{ Accordion }` from `abaabil/accordion` or `abaabil/accordion/styled`, `{ Accordion_a11y }` from `abaabil/accordion/a11y`) continue to work unchanged.
|
|
12
|
+
- Added a `"./package.json"` entry to the `exports` map, so `require('abaabil/package.json')` and the dynamic-import equivalent resolve instead of failing with `ERR_PACKAGE_PATH_NOT_EXPORTED`. There is still no root `"."` export; that remains unchanged.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Corrected every accordion import example in `README.md` to match what the package actually exports.
|
|
17
|
+
|
|
18
|
+
## [1.0.0] - 2026-09-20
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Initial release: eight components (button, dialog, combobox, input, checkbox, radio, select, accordion), each shipped as three entry-point tiers (`normal`, `styled`, `a11y`).
|
|
23
|
+
- Zero runtime dependencies, `react`/`react-dom` as peer dependencies.
|
|
24
|
+
- CSS theming via `abaabil/theme.css` and `abaabil/styles.css`.
|
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ import Input from 'abaabil/input/a11y'
|
|
|
77
77
|
import Checkbox from 'abaabil/checkbox/a11y'
|
|
78
78
|
import Radio from 'abaabil/radio/a11y'
|
|
79
79
|
import Select from 'abaabil/select/a11y'
|
|
80
|
-
import
|
|
80
|
+
import Accordion from 'abaabil/accordion/a11y'
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
### Bundler required for `styled` and `a11y` tiers
|
package/dist/accordion/a11y.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"./accordion.css";import{Accordion as i}from"./index.js";import{Disclosure as p}from"./index.js";function o({label:r,...l}){return e(i,{...r?{role:"group","aria-label":r}:null,...l})}export{o as Accordion_a11y,p as Disclosure,o as default};
|
package/dist/accordion/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as
|
|
1
|
+
import{jsxs as u,jsx as r}from"react/jsx-runtime";function o({summary:i,className:c,summaryClassName:a,children:s,...n}){const l=c?`abaabil-accordion ${c}`:"abaabil-accordion",m=a?`abaabil-accordion__summary ${a}`:"abaabil-accordion__summary";return u("details",{className:l,...n,children:[r("summary",{className:m,children:i}),r("div",{className:"abaabil-accordion__panel",children:s})]})}function e({items:i,name:c="abaabil-accordion",className:a,...s}){const n=a?`abaabil-accordion-group ${a}`:"abaabil-accordion-group";return r("div",{className:n,...s,children:i.map(({key:l,summary:m,children:d},b)=>r(o,{name:c,summary:m,children:d},l??b))})}export{e as Accordion,o as Disclosure,e as default};
|
package/dist/accordion/styled.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./accordion.css";import{Accordion as i,Disclosure as e}from"./index.js";export{i as Accordion,e as
|
|
1
|
+
import"./accordion.css";import{Accordion as i,Disclosure as d,Accordion as e}from"./index.js";export{i as Accordion,d as Disclosure,e as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abaabil",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Minimal, themeable, accessible React components. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -30,9 +30,11 @@
|
|
|
30
30
|
"*.css"
|
|
31
31
|
],
|
|
32
32
|
"files": [
|
|
33
|
-
"dist"
|
|
33
|
+
"dist",
|
|
34
|
+
"CHANGELOG.md"
|
|
34
35
|
],
|
|
35
36
|
"exports": {
|
|
37
|
+
"./package.json": "./package.json",
|
|
36
38
|
"./button": "./dist/button/index.js",
|
|
37
39
|
"./button/styled": "./dist/button/styled.js",
|
|
38
40
|
"./button/a11y": "./dist/button/a11y.js",
|