chrona-react 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,7 +6,7 @@ values, no free-form date parsing, and no CSS — you own every pixel.
6
6
  Part of [Chrona](https://github.com/devlinduldulao/chrona). Built on
7
7
  [`chrona-core`](https://www.npmjs.com/package/chrona-core).
8
8
 
9
- > **Status: experimental 0.3.2.** Public APIs and styling attributes are not
9
+ > **Status: experimental 0.3.3.** Public APIs and styling attributes are not
10
10
  > frozen for v1. 0.3.0 changes when a field reports a value and leaves `today`
11
11
  > to the client; 0.2.0 changed the Calendar cell anatomy. See the
12
12
  > [changelog](./CHANGELOG.md). Automated axe checks pass, but no screen-reader
@@ -128,6 +128,12 @@ A barrel export is also available. Matching hooks — `useCalendar`,
128
128
 
129
129
  ## Styling And Forms
130
130
 
131
+ There is a starter stylesheet at
132
+ [`docs/starter.css`](https://github.com/devlinduldulao/chrona/blob/main/docs/starter.css)
133
+ — copy it in and edit it. It styles every part these packages emit, takes its
134
+ colours from eight custom properties, and exists so that the first two hundred
135
+ lines of CSS are not yours to write.
136
+
131
137
  Style via `data-scope`, `data-part`, and state attributes: `data-selected`,
132
138
  `data-focused`, `data-today`, `data-disabled`, `data-unavailable`,
133
139
  `data-outside-month`, `data-in-range`, `data-range-start`, `data-range-end`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrona-react",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Headless Temporal-native React date and time primitives",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "chrona-core": "^0.3.2"
64
+ "chrona-core": "^0.3.3"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": ">=18.0.0",