@uxf/styles 11.124.0 → 11.127.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 +11 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -85,7 +85,9 @@ const example = columnsToPercent(4, 12, 24);
|
|
|
85
85
|
```tsx
|
|
86
86
|
import { encodedSvgUrl } from "@uxf/styles/properties/encoded-svg-url";
|
|
87
87
|
|
|
88
|
-
const example = encodedSvgUrl(
|
|
88
|
+
const example = encodedSvgUrl(
|
|
89
|
+
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="currentColor" d="0 20 20 0" /></svg>`,
|
|
90
|
+
);
|
|
89
91
|
```
|
|
90
92
|
|
|
91
93
|
### `repeatGridColumns`
|
|
@@ -242,14 +244,14 @@ Shared, typed CSS units and helper types, all exported from `@uxf/styles/types`:
|
|
|
242
244
|
import type { CssUnits, TransitionProperties } from "@uxf/styles/types";
|
|
243
245
|
```
|
|
244
246
|
|
|
245
|
-
| Type
|
|
246
|
-
|
|
|
247
|
-
| `CssTimeUnits`
|
|
248
|
-
| `CssAbsoluteLengthsUnits`
|
|
249
|
-
| `CssRelativeLengthsUnits`
|
|
250
|
-
| `CssUnits`
|
|
251
|
-
| `TransitionProperty`
|
|
252
|
-
| `TransitionProperties`
|
|
247
|
+
| Type | Description |
|
|
248
|
+
| ------------------------- | ------------------------------------------------------------------------------ |
|
|
249
|
+
| `CssTimeUnits` | `"ms" \| "s"` |
|
|
250
|
+
| `CssAbsoluteLengthsUnits` | absolute length/angle units (`cm`, `mm`, `in`, `px`, `pt`, `pc`, `deg`, `rad`) |
|
|
251
|
+
| `CssRelativeLengthsUnits` | relative units (`em`, `ex`, `ch`, `rem`, `vw`, `vh`, `vmin`, `vmax`, `%`) |
|
|
252
|
+
| `CssUnits` | union of all of the above (accepted by `withUnit`) |
|
|
253
|
+
| `TransitionProperty` | `keyof CSSProperties` |
|
|
254
|
+
| `TransitionProperties` | `TransitionProperty \| TransitionProperty[]` (accepted by `transition`) |
|
|
253
255
|
|
|
254
256
|
## Gotchas
|
|
255
257
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/styles",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.127.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"color2k": "2.0.4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@uxf/core": "11.
|
|
21
|
+
"@uxf/core": "11.127.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/react": "18.3.31",
|
|
25
|
-
"@uxf/core": "11.
|
|
25
|
+
"@uxf/core": "11.127.0",
|
|
26
26
|
"csstype": "3.2.3"
|
|
27
27
|
},
|
|
28
28
|
"author": "",
|