@marigold/system 9.0.0 → 9.0.2

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
@@ -740,13 +740,11 @@ declare const paddingBottom: {
740
740
  declare const alignment: {
741
741
  vertical: {
742
742
  alignmentX: {
743
- none: undefined;
744
743
  left: string;
745
744
  center: string;
746
745
  right: string;
747
746
  };
748
747
  alignmentY: {
749
- none: undefined;
750
748
  top: string;
751
749
  center: string;
752
750
  bottom: string;
@@ -754,13 +752,11 @@ declare const alignment: {
754
752
  };
755
753
  horizontal: {
756
754
  alignmentY: {
757
- none: undefined;
758
755
  top: string;
759
756
  center: string;
760
757
  bottom: string;
761
758
  };
762
759
  alignmentX: {
763
- none: undefined;
764
760
  left: string;
765
761
  center: string;
766
762
  right: string;
@@ -860,7 +856,7 @@ type AlignmentProp = {
860
856
  };
861
857
  type CursorProp = {
862
858
  /**
863
- * Set the cursor for the element.
859
+ * Set the cursor for the element. You can see allowed tokens [here](https://tailwindcss.com/docs/cursor).
864
860
  */
865
861
  cursor?: keyof typeof cursorStyle;
866
862
  };
@@ -872,13 +868,13 @@ type FontStyleProp = {
872
868
  };
873
869
  type FontWeightProp = {
874
870
  /**
875
- * Set the font weight for the text element.
871
+ * Set the font weight for the text element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#typography).
876
872
  */
877
873
  weight?: keyof typeof fontWeight;
878
874
  };
879
875
  type FontSizeProp = {
880
876
  /**
881
- * Set the font size for the text element.
877
+ * Set the font size for the text element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#typography).
882
878
  */
883
879
  fontSize?: keyof typeof textSize;
884
880
  };
@@ -888,15 +884,9 @@ type GridColsAlignProp = {
888
884
  */
889
885
  align?: keyof typeof gridColsAlign;
890
886
  };
891
- type GridColumn = {
892
- /**
893
- * Set the alignment of a grid column.
894
- */
895
- align?: keyof typeof gridColumn;
896
- };
897
887
  type GapSpaceProp = {
898
888
  /**
899
- * The space between the children.
889
+ * The space between the children. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
900
890
  */
901
891
  space?: keyof typeof gapSpace;
902
892
  };
@@ -908,49 +898,49 @@ type ObjectFitProp = {
908
898
  };
909
899
  type ObjectPositionProp = {
910
900
  /**
911
- * Set the object-position property for the element.
901
+ * Set the object-position property for the element. You can see allowed tokens [here](https://tailwindcss.com/docs/object-position).
912
902
  */
913
903
  position?: keyof typeof objectPosition;
914
904
  };
915
905
  type PaddingSpaceProp = {
916
906
  /**
917
- * Set the padding space for the element.
907
+ * Set the padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
918
908
  */
919
909
  space?: keyof typeof paddingSpace;
920
910
  };
921
911
  type PaddingSpacePropX = {
922
912
  /**
923
- * Set the horizontal padding space for the element.
913
+ * Set the horizontal padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
924
914
  */
925
915
  spaceX?: keyof typeof paddingSpaceX;
926
916
  };
927
917
  type PaddingSpacePropY = {
928
918
  /**
929
- * Set the vertical padding space for the element.
919
+ * Set the vertical padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
930
920
  */
931
921
  spaceY?: keyof typeof paddingSpaceY;
932
922
  };
933
923
  type PaddingRightProp = {
934
924
  /**
935
- * Set the right padding for the element.
925
+ * Set the right padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
936
926
  */
937
927
  pr?: keyof typeof paddingRight;
938
928
  };
939
929
  type PaddingLeftProp = {
940
930
  /**
941
- * Set the left padding for the element.
931
+ * Set the left padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
942
932
  */
943
933
  pl?: keyof typeof paddingLeft;
944
934
  };
945
935
  type PaddingTopProp = {
946
936
  /**
947
- * Set the top padding for the element.
937
+ * Set the top padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
948
938
  */
949
939
  pt?: keyof typeof paddingTop;
950
940
  };
951
941
  type PaddingBottomProp = {
952
942
  /**
953
- * Set the bottom padding for the element.
943
+ * Set the bottom padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
954
944
  */
955
945
  pb?: keyof typeof paddingBottom;
956
946
  };
@@ -968,15 +958,15 @@ type TextAlignProp = {
968
958
  };
969
959
  type WidthProp = {
970
960
  /**
971
- * Set the width of the element.
961
+ * Sets the width of the field. You can see allowed tokens [here](https://tailwindcss.com/docs/width).
972
962
  */
973
963
  width?: keyof typeof width;
974
964
  };
975
965
  type HeightProp = {
976
966
  /**
977
- * Set the height of the element.
967
+ * Set the height of the element. You can see allowed tokens [here](https://tailwindcss.com/docs/height).
978
968
  */
979
969
  height?: keyof typeof height;
980
970
  };
981
971
 
982
- export { type AlignmentProp, type AspectProp, type ClassArray, type ClassDictionary, type ClassValue, 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 GridColsAlignProp, type GridColumn, 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, extendTheme, fontWeight, gapSpace, get, getColor, gridColsAlign, gridColumn, height, isObject, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
972
+ export { type AlignmentProp, type AspectProp, type ClassArray, type ClassDictionary, type ClassValue, 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 GridColsAlignProp, 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, extendTheme, fontWeight, gapSpace, get, getColor, gridColsAlign, gridColumn, height, isObject, 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
@@ -740,13 +740,11 @@ declare const paddingBottom: {
740
740
  declare const alignment: {
741
741
  vertical: {
742
742
  alignmentX: {
743
- none: undefined;
744
743
  left: string;
745
744
  center: string;
746
745
  right: string;
747
746
  };
748
747
  alignmentY: {
749
- none: undefined;
750
748
  top: string;
751
749
  center: string;
752
750
  bottom: string;
@@ -754,13 +752,11 @@ declare const alignment: {
754
752
  };
755
753
  horizontal: {
756
754
  alignmentY: {
757
- none: undefined;
758
755
  top: string;
759
756
  center: string;
760
757
  bottom: string;
761
758
  };
762
759
  alignmentX: {
763
- none: undefined;
764
760
  left: string;
765
761
  center: string;
766
762
  right: string;
@@ -860,7 +856,7 @@ type AlignmentProp = {
860
856
  };
861
857
  type CursorProp = {
862
858
  /**
863
- * Set the cursor for the element.
859
+ * Set the cursor for the element. You can see allowed tokens [here](https://tailwindcss.com/docs/cursor).
864
860
  */
865
861
  cursor?: keyof typeof cursorStyle;
866
862
  };
@@ -872,13 +868,13 @@ type FontStyleProp = {
872
868
  };
873
869
  type FontWeightProp = {
874
870
  /**
875
- * Set the font weight for the text element.
871
+ * Set the font weight for the text element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#typography).
876
872
  */
877
873
  weight?: keyof typeof fontWeight;
878
874
  };
879
875
  type FontSizeProp = {
880
876
  /**
881
- * Set the font size for the text element.
877
+ * Set the font size for the text element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#typography).
882
878
  */
883
879
  fontSize?: keyof typeof textSize;
884
880
  };
@@ -888,15 +884,9 @@ type GridColsAlignProp = {
888
884
  */
889
885
  align?: keyof typeof gridColsAlign;
890
886
  };
891
- type GridColumn = {
892
- /**
893
- * Set the alignment of a grid column.
894
- */
895
- align?: keyof typeof gridColumn;
896
- };
897
887
  type GapSpaceProp = {
898
888
  /**
899
- * The space between the children.
889
+ * The space between the children. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
900
890
  */
901
891
  space?: keyof typeof gapSpace;
902
892
  };
@@ -908,49 +898,49 @@ type ObjectFitProp = {
908
898
  };
909
899
  type ObjectPositionProp = {
910
900
  /**
911
- * Set the object-position property for the element.
901
+ * Set the object-position property for the element. You can see allowed tokens [here](https://tailwindcss.com/docs/object-position).
912
902
  */
913
903
  position?: keyof typeof objectPosition;
914
904
  };
915
905
  type PaddingSpaceProp = {
916
906
  /**
917
- * Set the padding space for the element.
907
+ * Set the padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
918
908
  */
919
909
  space?: keyof typeof paddingSpace;
920
910
  };
921
911
  type PaddingSpacePropX = {
922
912
  /**
923
- * Set the horizontal padding space for the element.
913
+ * Set the horizontal padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
924
914
  */
925
915
  spaceX?: keyof typeof paddingSpaceX;
926
916
  };
927
917
  type PaddingSpacePropY = {
928
918
  /**
929
- * Set the vertical padding space for the element.
919
+ * Set the vertical padding space for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
930
920
  */
931
921
  spaceY?: keyof typeof paddingSpaceY;
932
922
  };
933
923
  type PaddingRightProp = {
934
924
  /**
935
- * Set the right padding for the element.
925
+ * Set the right padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
936
926
  */
937
927
  pr?: keyof typeof paddingRight;
938
928
  };
939
929
  type PaddingLeftProp = {
940
930
  /**
941
- * Set the left padding for the element.
931
+ * Set the left padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
942
932
  */
943
933
  pl?: keyof typeof paddingLeft;
944
934
  };
945
935
  type PaddingTopProp = {
946
936
  /**
947
- * Set the top padding for the element.
937
+ * Set the top padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
948
938
  */
949
939
  pt?: keyof typeof paddingTop;
950
940
  };
951
941
  type PaddingBottomProp = {
952
942
  /**
953
- * Set the bottom padding for the element.
943
+ * Set the bottom padding for the element. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
954
944
  */
955
945
  pb?: keyof typeof paddingBottom;
956
946
  };
@@ -968,15 +958,15 @@ type TextAlignProp = {
968
958
  };
969
959
  type WidthProp = {
970
960
  /**
971
- * Set the width of the element.
961
+ * Sets the width of the field. You can see allowed tokens [here](https://tailwindcss.com/docs/width).
972
962
  */
973
963
  width?: keyof typeof width;
974
964
  };
975
965
  type HeightProp = {
976
966
  /**
977
- * Set the height of the element.
967
+ * Set the height of the element. You can see allowed tokens [here](https://tailwindcss.com/docs/height).
978
968
  */
979
969
  height?: keyof typeof height;
980
970
  };
981
971
 
982
- export { type AlignmentProp, type AspectProp, type ClassArray, type ClassDictionary, type ClassValue, 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 GridColsAlignProp, type GridColumn, 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, extendTheme, fontWeight, gapSpace, get, getColor, gridColsAlign, gridColumn, height, isObject, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
972
+ export { type AlignmentProp, type AspectProp, type ClassArray, type ClassDictionary, type ClassValue, 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 GridColsAlignProp, 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, extendTheme, fontWeight, gapSpace, get, getColor, gridColsAlign, gridColumn, height, isObject, objectFit, objectPosition, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, useClassNames, useResponsiveValue, useSmallScreen, useStateProps, useTheme, width };
package/dist/index.js CHANGED
@@ -819,13 +819,11 @@ var paddingBottom = {
819
819
  var alignment = {
820
820
  vertical: {
821
821
  alignmentX: {
822
- none: void 0,
823
822
  left: "items-start",
824
823
  center: "items-center",
825
824
  right: "items-end"
826
825
  },
827
826
  alignmentY: {
828
- none: void 0,
829
827
  top: "justify-start",
830
828
  center: "justify-center",
831
829
  bottom: "justify-end"
@@ -833,13 +831,11 @@ var alignment = {
833
831
  },
834
832
  horizontal: {
835
833
  alignmentY: {
836
- none: void 0,
837
834
  top: "items-start",
838
835
  center: "items-center",
839
836
  bottom: "items-end"
840
837
  },
841
838
  alignmentX: {
842
- none: void 0,
843
839
  left: "justify-start",
844
840
  center: "justify-center",
845
841
  right: "justify-end"
package/dist/index.mjs CHANGED
@@ -745,13 +745,11 @@ var paddingBottom = {
745
745
  var alignment = {
746
746
  vertical: {
747
747
  alignmentX: {
748
- none: void 0,
749
748
  left: "items-start",
750
749
  center: "items-center",
751
750
  right: "items-end"
752
751
  },
753
752
  alignmentY: {
754
- none: void 0,
755
753
  top: "justify-start",
756
754
  center: "justify-center",
757
755
  bottom: "justify-end"
@@ -759,13 +757,11 @@ var alignment = {
759
757
  },
760
758
  horizontal: {
761
759
  alignmentY: {
762
- none: void 0,
763
760
  top: "items-start",
764
761
  center: "items-center",
765
762
  bottom: "items-end"
766
763
  },
767
764
  alignmentX: {
768
- none: void 0,
769
765
  left: "justify-start",
770
766
  center: "justify-center",
771
767
  right: "justify-end"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -24,11 +24,11 @@
24
24
  "directory": "packages/system"
25
25
  },
26
26
  "dependencies": {
27
- "@react-aria/i18n": "3.11.1",
27
+ "@react-aria/i18n": "3.12.2",
28
28
  "class-variance-authority": "0.7.0",
29
- "deepmerge": "4.2.2",
29
+ "deepmerge": "4.3.1",
30
30
  "react-fast-compare": "3.2.2",
31
- "tailwind-merge": "2.3.0",
31
+ "tailwind-merge": "2.5.2",
32
32
  "@marigold/types": "1.1.1"
33
33
  },
34
34
  "peerDependencies": {
@@ -36,10 +36,10 @@
36
36
  "react-dom": "18.x"
37
37
  },
38
38
  "devDependencies": {
39
- "@babel/core": "7.24.9",
40
- "postcss": "8.4.38",
39
+ "@babel/core": "7.25.2",
40
+ "postcss": "8.4.45",
41
41
  "react": "18.3.1",
42
- "tailwindcss": "3.4.4",
42
+ "tailwindcss": "3.4.10",
43
43
  "tsup": "8.1.0",
44
44
  "@marigold/tsconfig": "0.4.0"
45
45
  },