@marigold/system 11.2.3 → 11.4.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/dist/index.d.mts CHANGED
@@ -127,6 +127,7 @@ type Theme = {
127
127
  DateField?: Record<'segment' | 'field' | 'action', ComponentStyleFunction<string, string>>;
128
128
  Dialog?: Record<'closeButton' | 'container' | 'header' | 'content' | 'actions', ComponentStyleFunction<string, string>>;
129
129
  Divider?: ComponentStyleFunction<string, string>;
130
+ Drawer?: Record<'overlay' | 'closeButton' | 'container' | 'header' | 'title' | 'content' | 'actions', ComponentStyleFunction<string, string>>;
130
131
  Field?: ComponentStyleFunction<string, string>;
131
132
  Footer?: ComponentStyleFunction<string, string>;
132
133
  Header?: ComponentStyleFunction<string, string>;
@@ -166,6 +167,7 @@ type Theme = {
166
167
  };
167
168
  type ComponentNames = keyof Theme['components'];
168
169
  type ThemeComponent<C extends ComponentNames> = NonNullable<Theme['components'][C]>;
170
+ type ThemeComponentParts<C extends ComponentNames> = keyof ThemeComponent<C>;
169
171
 
170
172
  interface UseClassNamesProps<C extends ComponentNames> {
171
173
  component: C;
@@ -234,6 +236,7 @@ declare const extendTheme: (newStyles: StylesProps, theme: Theme) => {
234
236
  DateField?: Record<"segment" | "field" | "action", ComponentStyleFunction<string, string>>;
235
237
  Dialog?: Record<"closeButton" | "container" | "header" | "content" | "actions", ComponentStyleFunction<string, string>>;
236
238
  Divider?: ComponentStyleFunction<string, string>;
239
+ Drawer?: Record<"overlay" | "closeButton" | "container" | "header" | "title" | "content" | "actions", ComponentStyleFunction<string, string>>;
237
240
  Field?: ComponentStyleFunction<string, string>;
238
241
  Footer?: ComponentStyleFunction<string, string>;
239
242
  Header?: ComponentStyleFunction<string, string>;
@@ -968,4 +971,4 @@ type HeightProp = {
968
971
  height?: keyof typeof height;
969
972
  };
970
973
 
971
- export { type AlignmentProp, type AspectProp, type ComponentClassNames, type ComponentNames, type ComponentState, type ComponentStyleFunction, type Config, type ConfigSchema, type ConfigVariants, type ConfigVariantsMulti, type CursorProp, DateFormat, type FontSizeProp, type FontStyleProp, type FontWeightProp, type GapSpaceProp, type HeightProp, type NestedStringObject, NumericFormat, type ObjectFitProp, type ObjectPositionProp, type PaddingBottomProp, type PaddingLeftProp, type PaddingRightProp, type PaddingSpaceProp, type PaddingSpacePropX, type PaddingSpacePropY, type PaddingTopProp, type PlaceItemsProp, type Props, SVG, type SVGProps, type StateAttrKeyProps, type StateAttrProps, type StylesProps, type TextAlignProp, type Theme, type ThemeComponent, ThemeProvider, type ThemeProviderProps, type UseClassNamesProps, type UseStateProps, type WidthProp, alignment, aspect, cn, createVar, cursorStyle, cva, defaultTheme, ensureCssVar, extendTheme, fontWeight, gapSpace, get, height, isValidCssCustomPropertyName, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
974
+ export { type AlignmentProp, type AspectProp, type ComponentClassNames, type ComponentNames, type ComponentState, type ComponentStyleFunction, type Config, type ConfigSchema, type ConfigVariants, type ConfigVariantsMulti, type CursorProp, DateFormat, type FontSizeProp, type FontStyleProp, type FontWeightProp, type GapSpaceProp, type HeightProp, type NestedStringObject, NumericFormat, type ObjectFitProp, type ObjectPositionProp, type PaddingBottomProp, type PaddingLeftProp, type PaddingRightProp, type PaddingSpaceProp, type PaddingSpacePropX, type PaddingSpacePropY, type PaddingTopProp, type PlaceItemsProp, type Props, SVG, type SVGProps, type StateAttrKeyProps, type StateAttrProps, type StylesProps, type TextAlignProp, type Theme, type ThemeComponent, type ThemeComponentParts, ThemeProvider, type ThemeProviderProps, type UseClassNamesProps, type UseStateProps, type WidthProp, alignment, aspect, cn, createVar, cursorStyle, cva, defaultTheme, ensureCssVar, extendTheme, fontWeight, gapSpace, get, height, isValidCssCustomPropertyName, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
package/dist/index.d.ts CHANGED
@@ -127,6 +127,7 @@ type Theme = {
127
127
  DateField?: Record<'segment' | 'field' | 'action', ComponentStyleFunction<string, string>>;
128
128
  Dialog?: Record<'closeButton' | 'container' | 'header' | 'content' | 'actions', ComponentStyleFunction<string, string>>;
129
129
  Divider?: ComponentStyleFunction<string, string>;
130
+ Drawer?: Record<'overlay' | 'closeButton' | 'container' | 'header' | 'title' | 'content' | 'actions', ComponentStyleFunction<string, string>>;
130
131
  Field?: ComponentStyleFunction<string, string>;
131
132
  Footer?: ComponentStyleFunction<string, string>;
132
133
  Header?: ComponentStyleFunction<string, string>;
@@ -166,6 +167,7 @@ type Theme = {
166
167
  };
167
168
  type ComponentNames = keyof Theme['components'];
168
169
  type ThemeComponent<C extends ComponentNames> = NonNullable<Theme['components'][C]>;
170
+ type ThemeComponentParts<C extends ComponentNames> = keyof ThemeComponent<C>;
169
171
 
170
172
  interface UseClassNamesProps<C extends ComponentNames> {
171
173
  component: C;
@@ -234,6 +236,7 @@ declare const extendTheme: (newStyles: StylesProps, theme: Theme) => {
234
236
  DateField?: Record<"segment" | "field" | "action", ComponentStyleFunction<string, string>>;
235
237
  Dialog?: Record<"closeButton" | "container" | "header" | "content" | "actions", ComponentStyleFunction<string, string>>;
236
238
  Divider?: ComponentStyleFunction<string, string>;
239
+ Drawer?: Record<"overlay" | "closeButton" | "container" | "header" | "title" | "content" | "actions", ComponentStyleFunction<string, string>>;
237
240
  Field?: ComponentStyleFunction<string, string>;
238
241
  Footer?: ComponentStyleFunction<string, string>;
239
242
  Header?: ComponentStyleFunction<string, string>;
@@ -968,4 +971,4 @@ type HeightProp = {
968
971
  height?: keyof typeof height;
969
972
  };
970
973
 
971
- export { type AlignmentProp, type AspectProp, type ComponentClassNames, type ComponentNames, type ComponentState, type ComponentStyleFunction, type Config, type ConfigSchema, type ConfigVariants, type ConfigVariantsMulti, type CursorProp, DateFormat, type FontSizeProp, type FontStyleProp, type FontWeightProp, type GapSpaceProp, type HeightProp, type NestedStringObject, NumericFormat, type ObjectFitProp, type ObjectPositionProp, type PaddingBottomProp, type PaddingLeftProp, type PaddingRightProp, type PaddingSpaceProp, type PaddingSpacePropX, type PaddingSpacePropY, type PaddingTopProp, type PlaceItemsProp, type Props, SVG, type SVGProps, type StateAttrKeyProps, type StateAttrProps, type StylesProps, type TextAlignProp, type Theme, type ThemeComponent, ThemeProvider, type ThemeProviderProps, type UseClassNamesProps, type UseStateProps, type WidthProp, alignment, aspect, cn, createVar, cursorStyle, cva, defaultTheme, ensureCssVar, extendTheme, fontWeight, gapSpace, get, height, isValidCssCustomPropertyName, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
974
+ export { type AlignmentProp, type AspectProp, type ComponentClassNames, type ComponentNames, type ComponentState, type ComponentStyleFunction, type Config, type ConfigSchema, type ConfigVariants, type ConfigVariantsMulti, type CursorProp, DateFormat, type FontSizeProp, type FontStyleProp, type FontWeightProp, type GapSpaceProp, type HeightProp, type NestedStringObject, NumericFormat, type ObjectFitProp, type ObjectPositionProp, type PaddingBottomProp, type PaddingLeftProp, type PaddingRightProp, type PaddingSpaceProp, type PaddingSpacePropX, type PaddingSpacePropY, type PaddingTopProp, type PlaceItemsProp, type Props, SVG, type SVGProps, type StateAttrKeyProps, type StateAttrProps, type StylesProps, type TextAlignProp, type Theme, type ThemeComponent, type ThemeComponentParts, ThemeProvider, type ThemeProviderProps, type UseClassNamesProps, type UseStateProps, type WidthProp, alignment, aspect, cn, createVar, cursorStyle, cva, defaultTheme, ensureCssVar, extendTheme, fontWeight, gapSpace, get, height, isValidCssCustomPropertyName, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "11.2.3",
3
+ "version": "11.4.0",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -14,6 +14,16 @@
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
16
16
  "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "require": "./dist/index.js",
20
+ "import": "./dist/index.mjs"
21
+ },
22
+ "./*": {
23
+ "require": "./dist/*.js",
24
+ "import": "./dist/*.mjs"
25
+ }
26
+ },
17
27
  "sideEffects": false,
18
28
  "files": [
19
29
  "dist"
@@ -24,11 +34,11 @@
24
34
  "directory": "packages/system"
25
35
  },
26
36
  "dependencies": {
27
- "@react-aria/i18n": "3.12.6",
37
+ "@react-aria/i18n": "3.12.7",
28
38
  "class-variance-authority": "0.7.1",
29
39
  "deepmerge": "4.3.1",
30
40
  "react-fast-compare": "3.2.2",
31
- "tailwind-merge": "3.0.2",
41
+ "tailwind-merge": "3.2.0",
32
42
  "@marigold/types": "1.3.0"
33
43
  },
34
44
  "peerDependencies": {
@@ -36,12 +46,12 @@
36
46
  "react-dom": ">=17.0.0"
37
47
  },
38
48
  "devDependencies": {
39
- "@babel/core": "7.26.9",
40
- "@types/react": "19.0.10",
49
+ "@babel/core": "7.26.10",
50
+ "@types/react": "19.1.0",
41
51
  "postcss": "8.5.3",
42
- "react": "19.0.0",
43
- "tailwindcss": "4.0.12",
44
- "tsup": "8.3.6",
52
+ "react": "19.1.0",
53
+ "tailwindcss": "4.1.3",
54
+ "tsup": "8.4.0",
45
55
  "@marigold/tsconfig": "0.4.0"
46
56
  },
47
57
  "scripts": {