@astryxdesign/core 0.4.5-canary.33ba2b6 → 0.4.5
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/package.json +3 -3
- package/src/Layout/Layout.doc.mjs +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/core",
|
|
3
|
-
"version": "0.4.5
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"displayName": "Astryx Core",
|
|
5
5
|
"description": "The component library. Accessible, themeable React components with built-in spacing, dark mode, and StyleX styling.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -656,7 +656,6 @@
|
|
|
656
656
|
"react-dom": ">=19.0.0"
|
|
657
657
|
},
|
|
658
658
|
"devDependencies": {
|
|
659
|
-
"@astryxdesign/cli": "0.4.5-canary.33ba2b6",
|
|
660
659
|
"@babel/cli": "^8.0.4",
|
|
661
660
|
"@babel/core": "^7.29.7",
|
|
662
661
|
"@babel/preset-react": "^8.0.1",
|
|
@@ -665,7 +664,8 @@
|
|
|
665
664
|
"@testing-library/dom": "^10.0.0",
|
|
666
665
|
"@testing-library/jest-dom": "^6.6.0",
|
|
667
666
|
"@testing-library/react": "^16.3.2",
|
|
668
|
-
"rimraf": "^6.0.1"
|
|
667
|
+
"rimraf": "^6.0.1",
|
|
668
|
+
"@astryxdesign/cli": "0.4.5"
|
|
669
669
|
},
|
|
670
670
|
"dependencies": {
|
|
671
671
|
"intl-messageformat": "^11.2.9"
|
|
@@ -93,24 +93,6 @@ export const docs = {
|
|
|
93
93
|
description: 'Height behavior: fill the container or grow with content.',
|
|
94
94
|
default: "'fill'",
|
|
95
95
|
},
|
|
96
|
-
{
|
|
97
|
-
name: 'contentWidth',
|
|
98
|
-
type: 'number | string',
|
|
99
|
-
description:
|
|
100
|
-
'Maximum width of the content within each slot (header, content, footer, panels), centered when narrower than the available space. Dividers stay full-bleed. Numbers are pixels, strings are used as-is (e.g. `60ch`). Common page widths: 640 for forms, settings, and text-focused pages; 960 for content pages and wider layouts.',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'padding',
|
|
104
|
-
type: '0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 8 | 10',
|
|
105
|
-
description:
|
|
106
|
-
"Padding at the layout's outer edges using the spacing scale.",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: 'defaultHasDividers',
|
|
110
|
-
type: 'boolean',
|
|
111
|
-
description:
|
|
112
|
-
"Default divider visibility for LayoutHeader and LayoutFooter children. Headers and footers that don't pass `hasDivider` use this value; when unset, nested layouts inherit from their parent context.",
|
|
113
|
-
},
|
|
114
96
|
],
|
|
115
97
|
components: [
|
|
116
98
|
{name: 'LayoutHeader'},
|