@hopper-ui/styled-system 0.2.4 → 0.2.6
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/CHANGELOG.md +13 -0
- package/dist/StyledSystemProvider.css +34 -34
- package/dist/StyledSystemProvider.d.ts +1 -1
- package/dist/StyledSystemProvider.js +12 -12
- package/dist/{chunk-I7U75XRH.js → chunk-5XPS6ZZ7.js} +50 -29
- package/dist/{chunk-NTEKQGZI.js → chunk-7XB4VCCJ.js} +6 -6
- package/dist/{chunk-6Z3ODGLS.js → chunk-AMNZEPOY.js} +1 -1
- package/dist/{chunk-AHDDZ2BQ.js → chunk-B6ZBFYWJ.js} +1 -1
- package/dist/{chunk-Y5XP6E4D.js → chunk-BTJMZT3L.js} +1 -1
- package/dist/{chunk-LTBVOC66.js → chunk-HZFB352P.js} +18 -18
- package/dist/{chunk-XTX4KVWI.js → chunk-KLNF34G6.js} +1 -1
- package/dist/{chunk-STEDL5VQ.js → chunk-M4X2T3D3.js} +1 -1
- package/dist/{chunk-Z33MPMW6.js → chunk-MCUHAIA4.js} +2 -2
- package/dist/{chunk-HM4X5E4X.js → chunk-UTFGHZHA.js} +2 -2
- package/dist/{chunk-C3BQSQFB.js → chunk-Z7O4JONV.js} +2 -2
- package/dist/color-scheme/ColorSchemeContext.d.ts +1 -1
- package/dist/color-scheme/ColorSchemeContext.js +1 -1
- package/dist/color-scheme/useColorScheme.js +3 -3
- package/dist/color-scheme/useColorSchemeValue.js +1 -1
- package/dist/global-styles/BodyStyleProvider.js +4 -4
- package/dist/html-wrappers/html.css +34 -34
- package/dist/html-wrappers/html.d.ts +1 -1
- package/dist/html-wrappers/html.js +4 -4
- package/dist/html-wrappers/htmlElement.css +34 -34
- package/dist/html-wrappers/htmlElement.d.ts +1 -1
- package/dist/html-wrappers/htmlElement.js +3 -3
- package/dist/index.css +34 -34
- package/dist/index.js +12 -12
- package/dist/responsive/BreakpointContext.d.ts +1 -1
- package/dist/responsive/BreakpointContext.js +1 -1
- package/dist/responsive/BreakpointProvider.d.ts +1 -1
- package/dist/responsive/BreakpointProvider.js +3 -3
- package/dist/responsive/Breakpoints.d.ts +1 -1
- package/dist/responsive/Breakpoints.js +1 -1
- package/dist/responsive/useResponsiveValue.d.ts +1 -1
- package/dist/responsive/useResponsiveValue.js +1 -1
- package/dist/styled-system-props.d.ts +83 -3
- package/dist/styled-system-props.js +1 -1
- package/dist/styled-system-root-css-class.js +2 -2
- package/dist/tokens/TokenProvider.js +3 -3
- package/dist/tokens/generated/dark-semantic-tokens.js +1 -1
- package/dist/tokens/generated/light-semantic-tokens.js +1 -1
- package/dist/tokens/generated/styled-system-to-token-mappings.js +1 -1
- package/dist/tokens/token-mappings.d.ts +1 -1
- package/dist/tokens/token-mappings.js +1 -1
- package/dist/tokens/tokens.d.ts +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.js +2 -2
- package/dist/utils/assertion.js +1 -1
- package/dist/utils/useInsertStyleElement.js +1 -1
- package/dist/utils/useIsomorphicInsertionEffect.js +1 -1
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -1
- package/dist/utils/useMediaQuery.js +2 -2
- package/dist/utils/useThemeComputedStyle.js +2 -2
- package/package.json +19 -19
- /package/dist/{chunk-JFESGV6Z.js → chunk-6LX4VMOV.js} +0 -0
|
@@ -910,7 +910,7 @@ interface StyledSystemProps {
|
|
|
910
910
|
*/
|
|
911
911
|
UNSAFE_borderTopHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
912
912
|
/**
|
|
913
|
-
* Sets the `border-top-left-radius` property
|
|
913
|
+
* Sets the `border-top-left-radius` property.
|
|
914
914
|
*
|
|
915
915
|
* If you want to use a **token value** from the **SCALE**, use the **`borderTopLeftRadius`** property instead.
|
|
916
916
|
*
|
|
@@ -918,7 +918,7 @@ interface StyledSystemProps {
|
|
|
918
918
|
*/
|
|
919
919
|
UNSAFE_borderTopLeftRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
920
920
|
/**
|
|
921
|
-
* Sets the `border-top-right-radius` property
|
|
921
|
+
* Sets the `border-top-right-radius` property.
|
|
922
922
|
*
|
|
923
923
|
* If you want to use a **token value** from the **SCALE**, use the **`borderTopRightRadius`** property instead.
|
|
924
924
|
*
|
|
@@ -933,6 +933,30 @@ interface StyledSystemProps {
|
|
|
933
933
|
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
934
934
|
*/
|
|
935
935
|
UNSAFE_boxShadow?: ResponsiveProp<UNSAFE_BoxShadowValue>;
|
|
936
|
+
/**
|
|
937
|
+
* Sets the `box-shadow` property when active.
|
|
938
|
+
*
|
|
939
|
+
* If you want to use a **token value** from the **SCALE**, use the **`boxShadowActive`** property instead.
|
|
940
|
+
*
|
|
941
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
942
|
+
*/
|
|
943
|
+
UNSAFE_boxShadowActive?: ResponsiveProp<UNSAFE_BoxShadowValue>;
|
|
944
|
+
/**
|
|
945
|
+
* Sets the `box-shadow` property when focused.
|
|
946
|
+
*
|
|
947
|
+
* If you want to use a **token value** from the **SCALE**, use the **`boxShadowFocus`** property instead.
|
|
948
|
+
*
|
|
949
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
950
|
+
*/
|
|
951
|
+
UNSAFE_boxShadowFocus?: ResponsiveProp<UNSAFE_BoxShadowValue>;
|
|
952
|
+
/**
|
|
953
|
+
* Sets the `box-shadow` property when hovered.
|
|
954
|
+
*
|
|
955
|
+
* If you want to use a **token value** from the **SCALE**, use the **`boxShadowHover`** property instead.
|
|
956
|
+
*
|
|
957
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
958
|
+
*/
|
|
959
|
+
UNSAFE_boxShadowHover?: ResponsiveProp<UNSAFE_BoxShadowValue>;
|
|
936
960
|
/**
|
|
937
961
|
* Sets the `color` property.
|
|
938
962
|
*
|
|
@@ -941,6 +965,30 @@ interface StyledSystemProps {
|
|
|
941
965
|
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
942
966
|
*/
|
|
943
967
|
UNSAFE_color?: ResponsiveProp<UNSAFE_ColorValue>;
|
|
968
|
+
/**
|
|
969
|
+
* Sets the `color` property when active.
|
|
970
|
+
*
|
|
971
|
+
* If you want to use a **token value** from the **SCALE**, use the **`colorActive`** property instead.
|
|
972
|
+
*
|
|
973
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
974
|
+
*/
|
|
975
|
+
UNSAFE_colorActive?: ResponsiveProp<UNSAFE_ColorValue>;
|
|
976
|
+
/**
|
|
977
|
+
* Sets the `color` property when focused.
|
|
978
|
+
*
|
|
979
|
+
* If you want to use a **token value** from the **SCALE**, use the **`colorFocus`** property instead.
|
|
980
|
+
*
|
|
981
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
982
|
+
*/
|
|
983
|
+
UNSAFE_colorFocus?: ResponsiveProp<UNSAFE_ColorValue>;
|
|
984
|
+
/**
|
|
985
|
+
* Sets the `color` property when hovered.
|
|
986
|
+
*
|
|
987
|
+
* If you want to use a **token value** from the **SCALE**, use the **`colorHover`** property instead.
|
|
988
|
+
*
|
|
989
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
990
|
+
*/
|
|
991
|
+
UNSAFE_colorHover?: ResponsiveProp<UNSAFE_ColorValue>;
|
|
944
992
|
/**
|
|
945
993
|
* Sets the `column-gap` property.
|
|
946
994
|
*
|
|
@@ -957,6 +1005,22 @@ interface StyledSystemProps {
|
|
|
957
1005
|
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
958
1006
|
*/
|
|
959
1007
|
UNSAFE_fill?: ResponsiveProp<UNSAFE_FillValue>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Sets the `fill` property when focused.
|
|
1010
|
+
*
|
|
1011
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fillFocus`** property instead.
|
|
1012
|
+
*
|
|
1013
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1014
|
+
*/
|
|
1015
|
+
UNSAFE_fillFocus?: ResponsiveProp<UNSAFE_FillValue>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Sets the `fill` property when hovered.
|
|
1018
|
+
*
|
|
1019
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fillHover`** property instead.
|
|
1020
|
+
*
|
|
1021
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1022
|
+
*/
|
|
1023
|
+
UNSAFE_fillHover?: ResponsiveProp<UNSAFE_FillValue>;
|
|
960
1024
|
/**
|
|
961
1025
|
* Sets the `font-family` property.
|
|
962
1026
|
*
|
|
@@ -1005,6 +1069,22 @@ interface StyledSystemProps {
|
|
|
1005
1069
|
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1006
1070
|
*/
|
|
1007
1071
|
UNSAFE_gridAutoRows?: ResponsiveProp<UNSAFE_GridAutoRowsValue>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Sets the `grid-column-span` property.
|
|
1074
|
+
*
|
|
1075
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridColumnSpan`** property instead.
|
|
1076
|
+
*
|
|
1077
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1078
|
+
*/
|
|
1079
|
+
UNSAFE_gridColumnSpan?: ResponsiveProp<GridColumSpanValue>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Sets the `grid-row-span` property.
|
|
1082
|
+
*
|
|
1083
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridRowSpan`** property instead.
|
|
1084
|
+
*
|
|
1085
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1086
|
+
*/
|
|
1087
|
+
UNSAFE_gridRowSpan?: ResponsiveProp<GridRowSpanValue>;
|
|
1008
1088
|
/**
|
|
1009
1089
|
* Sets the `grid-template-columns` property.
|
|
1010
1090
|
*
|
|
@@ -1243,4 +1323,4 @@ interface StyledSystemProps {
|
|
|
1243
1323
|
}
|
|
1244
1324
|
type StyledComponentProps<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<unknown>> = Omit<ComponentProps<T>, keyof StyledSystemProps> & StyledSystemProps;
|
|
1245
1325
|
|
|
1246
|
-
export { StyledComponentProps, StyledSystemProps, UnsafePrefix };
|
|
1326
|
+
export { type StyledComponentProps, type StyledSystemProps, UnsafePrefix };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { UnsafePrefix } from './chunk-I37Y2R7V.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-HZFB352P.js';
|
|
2
|
+
import './chunk-6LX4VMOV.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { TokenProvider } from '../chunk-
|
|
1
|
+
export { TokenProvider } from '../chunk-AMNZEPOY.js';
|
|
2
2
|
import '../chunk-A47SIZVA.js';
|
|
3
3
|
import '../chunk-ZKEMKHXY.js';
|
|
4
4
|
import '../chunk-HAB2KYRH.js';
|
|
5
5
|
import '../chunk-RIORU7JO.js';
|
|
6
6
|
import '../chunk-YPIK2HRL.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-HZFB352P.js';
|
|
8
8
|
import '../chunk-U5R6ZXH3.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DarkSemanticTokens } from '../../chunk-ZKEMKHXY.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { CoreTokens, SemanticTokens } from '../../chunk-HAB2KYRH.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontSize, FontWeight, HopperColors, HopperVariablePrefix, IconColors, LineHeight, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors } from '../../chunk-PCGVOTW3.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-6LX4VMOV.js';
|
|
@@ -2146,4 +2146,4 @@ type GridRowSpanValue = number;
|
|
|
2146
2146
|
declare function parseResponsiveSystemValue<TValue extends string | number>(value: TValue | undefined, systemValues: Record<TValue, string>, matchedBreakpoints: Breakpoint[]): TValue | Record<TValue, string>[TValue] | undefined;
|
|
2147
2147
|
declare function getSystemValue<T extends string | number>(value: T, systemValues: Record<T, string>): Record<T, string>[T];
|
|
2148
2148
|
|
|
2149
|
-
export { BackgroundColorMapping, BackgroundColorValue, BorderMapping, BorderRadiusMapping, BorderRadiusValue, BorderValue, BoxShadowMapping, BoxShadowValue, ColorExpressionTypes, ColorMapping, ColorValue, ColumnGapValue, ComplexMarginMapping, ComplexMarginValue, ComplexPaddingMapping, ComplexPaddingValue, CssBorder, CssBorderRadius, CssBoxShadow, CssColor, CssFill, CssGap, CssGrid, CssGridTemplate, DataVizColorMapping, DefaultBorderWidthAndStyle, FillValue, FontFamilyMapping, FontFamilyValue, FontSizeMapping, FontSizeValue, FontWeightMapping, FontWeightValue, GapValue, GridAutoColumnsValue, GridAutoRowsValue, GridColumSpanValue, GridRowSpanValue, GridTemplateColumnsValue, GridTemplateRowsValue, HeightValue, IconColorMapping, LineHeightMapping, LineHeightValue, RowGapValue, SimpleMarginMapping, SimpleMarginValue, SimplePaddingMapping, SimplePaddingValue, SizingMapping, SizingValue, SpaceMapping, StrokeValue, TextColorMapping, UNSAFE_BackgroundColorValue, UNSAFE_BorderRadiusValue, UNSAFE_BorderValue, UNSAFE_BoxShadowValue, UNSAFE_ColorValue, UNSAFE_ColumnGapValue, UNSAFE_ComplexMarginValue, UNSAFE_ComplexPaddingValue, UNSAFE_FillValue, UNSAFE_FontFamilyValue, UNSAFE_FontSizeValue, UNSAFE_FontWeightValue, UNSAFE_GapValue, UNSAFE_GridAutoColumnsValue, UNSAFE_GridAutoRowsValue, UNSAFE_GridTemplateColumnsValue, UNSAFE_GridTemplateRowsValue, UNSAFE_HeightValue, UNSAFE_LineHeightValue, UNSAFE_RowGapValue, UNSAFE_SimpleMarginValue, UNSAFE_SimplePaddingValue, UNSAFE_SizingValue, UNSAFE_StrokeValue, UNSAFE_WidthValue, WidthValue, getSystemValue, parseResponsiveSystemValue };
|
|
2149
|
+
export { BackgroundColorMapping, type BackgroundColorValue, BorderMapping, BorderRadiusMapping, type BorderRadiusValue, type BorderValue, BoxShadowMapping, type BoxShadowValue, ColorExpressionTypes, ColorMapping, type ColorValue, type ColumnGapValue, ComplexMarginMapping, type ComplexMarginValue, ComplexPaddingMapping, type ComplexPaddingValue, type CssBorder, type CssBorderRadius, type CssBoxShadow, type CssColor, type CssFill, type CssGap, type CssGrid, type CssGridTemplate, DataVizColorMapping, DefaultBorderWidthAndStyle, type FillValue, FontFamilyMapping, type FontFamilyValue, FontSizeMapping, type FontSizeValue, FontWeightMapping, type FontWeightValue, type GapValue, type GridAutoColumnsValue, type GridAutoRowsValue, type GridColumSpanValue, type GridRowSpanValue, type GridTemplateColumnsValue, type GridTemplateRowsValue, type HeightValue, IconColorMapping, LineHeightMapping, type LineHeightValue, type RowGapValue, SimpleMarginMapping, type SimpleMarginValue, SimplePaddingMapping, type SimplePaddingValue, SizingMapping, type SizingValue, SpaceMapping, type StrokeValue, TextColorMapping, type UNSAFE_BackgroundColorValue, type UNSAFE_BorderRadiusValue, type UNSAFE_BorderValue, type UNSAFE_BoxShadowValue, type UNSAFE_ColorValue, type UNSAFE_ColumnGapValue, type UNSAFE_ComplexMarginValue, type UNSAFE_ComplexPaddingValue, type UNSAFE_FillValue, type UNSAFE_FontFamilyValue, type UNSAFE_FontSizeValue, type UNSAFE_FontWeightValue, type UNSAFE_GapValue, type UNSAFE_GridAutoColumnsValue, type UNSAFE_GridAutoRowsValue, type UNSAFE_GridTemplateColumnsValue, type UNSAFE_GridTemplateRowsValue, type UNSAFE_HeightValue, type UNSAFE_LineHeightValue, type UNSAFE_RowGapValue, type UNSAFE_SimpleMarginValue, type UNSAFE_SimplePaddingValue, type UNSAFE_SizingValue, type UNSAFE_StrokeValue, type UNSAFE_WidthValue, type WidthValue, getSystemValue, parseResponsiveSystemValue };
|
package/dist/tokens/tokens.d.ts
CHANGED
|
@@ -1153,4 +1153,4 @@ declare const Tokens: {
|
|
|
1153
1153
|
type HopperTokenKey = keyof typeof CoreTokens | keyof typeof SemanticTokens | keyof typeof DarkSemanticTokens;
|
|
1154
1154
|
type HopperCssVar = `var(${HopperTokenKey})`;
|
|
1155
1155
|
|
|
1156
|
-
export { HopperCssVar, HopperTokenKey, Tokens };
|
|
1156
|
+
export { type HopperCssVar, type HopperTokenKey, Tokens };
|
package/dist/tokens/tokens.js
CHANGED
package/dist/useStyledSystem.css
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/UseStyledSystem.module.css/#css-module-data */
|
|
2
|
-
.UseStyledSystem-module__hop-b-
|
|
2
|
+
.UseStyledSystem-module__hop-b-hover___GVP3r:hover {
|
|
3
3
|
--hop-b-hover: initial;
|
|
4
4
|
border: var(--hop-b-hover) !important;
|
|
5
5
|
}
|
|
6
|
-
.UseStyledSystem-module__hop-bb-
|
|
6
|
+
.UseStyledSystem-module__hop-bb-hover___idnOk:hover {
|
|
7
7
|
--hop-bb-hover: initial;
|
|
8
8
|
border-bottom: var(--hop-bb-hover) !important;
|
|
9
9
|
}
|
|
10
|
-
.UseStyledSystem-module__hop-bl-
|
|
10
|
+
.UseStyledSystem-module__hop-bl-hover___xhKyA:hover {
|
|
11
11
|
--hop-bl-hover: initial;
|
|
12
12
|
border-left: var(--hop-bl-hover) !important;
|
|
13
13
|
}
|
|
14
|
-
.UseStyledSystem-module__hop-br-
|
|
14
|
+
.UseStyledSystem-module__hop-br-hover___qYvoG:hover {
|
|
15
15
|
--hop-br-hover: initial;
|
|
16
16
|
border-right: var(--hop-br-hover) !important;
|
|
17
17
|
}
|
|
18
|
-
.UseStyledSystem-module__hop-bt-
|
|
18
|
+
.UseStyledSystem-module__hop-bt-hover___3HGdJ:hover {
|
|
19
19
|
--hop-bt-hover: initial;
|
|
20
20
|
border-top: var(--hop-bt-hover) !important;
|
|
21
21
|
}
|
|
22
|
-
.UseStyledSystem-module__hop-b-
|
|
22
|
+
.UseStyledSystem-module__hop-b-focus___v2Wwi:focus-visible {
|
|
23
23
|
--hop-b-focus: initial;
|
|
24
24
|
border: var(--hop-b-focus) !important;
|
|
25
25
|
}
|
|
26
|
-
.UseStyledSystem-module__hop-bb-
|
|
26
|
+
.UseStyledSystem-module__hop-bb-focus___itBFq:focus-visible {
|
|
27
27
|
--hop-bb-focus: initial;
|
|
28
28
|
border-bottom: var(--hop-bb-focus) !important;
|
|
29
29
|
}
|
|
30
|
-
.UseStyledSystem-module__hop-bl-
|
|
30
|
+
.UseStyledSystem-module__hop-bl-focus___dT6WS:focus-visible {
|
|
31
31
|
--hop-bl-focus: initial;
|
|
32
32
|
border-left: var(--hop-bl-focus) !important;
|
|
33
33
|
}
|
|
34
|
-
.UseStyledSystem-module__hop-br-
|
|
34
|
+
.UseStyledSystem-module__hop-br-focus___FPZjN:focus-visible {
|
|
35
35
|
--hop-br-focus: initial;
|
|
36
36
|
border-right: var(--hop-br-focus) !important;
|
|
37
37
|
}
|
|
38
|
-
.UseStyledSystem-module__hop-bt-
|
|
38
|
+
.UseStyledSystem-module__hop-bt-focus___SBwfM:focus-visible {
|
|
39
39
|
--hop-bt-focus: initial;
|
|
40
40
|
border-top: var(--hop-bt-focus) !important;
|
|
41
41
|
}
|
|
42
|
-
.UseStyledSystem-module__hop-b-
|
|
42
|
+
.UseStyledSystem-module__hop-b-active___vI8-0:active {
|
|
43
43
|
--hop-b-active: initial;
|
|
44
44
|
border: var(--hop-b-active) !important;
|
|
45
45
|
}
|
|
46
|
-
.UseStyledSystem-module__hop-bb-
|
|
46
|
+
.UseStyledSystem-module__hop-bb-active___50sg5:active {
|
|
47
47
|
--hop-bb-active: initial;
|
|
48
48
|
border-bottom: var(--hop-bb-active) !important;
|
|
49
49
|
}
|
|
50
|
-
.UseStyledSystem-module__hop-bl-
|
|
50
|
+
.UseStyledSystem-module__hop-bl-active___jTAz1:active {
|
|
51
51
|
--hop-bl-active: initial;
|
|
52
52
|
border-left: var(--hop-bl-active) !important;
|
|
53
53
|
}
|
|
54
|
-
.UseStyledSystem-module__hop-br-
|
|
54
|
+
.UseStyledSystem-module__hop-br-active___0EeBh:active {
|
|
55
55
|
--hop-br-active: initial;
|
|
56
56
|
border-right: var(--hop-br-active) !important;
|
|
57
57
|
}
|
|
58
|
-
.UseStyledSystem-module__hop-bt-
|
|
58
|
+
.UseStyledSystem-module__hop-bt-active___RXq33:active {
|
|
59
59
|
--hop-bt-active: initial;
|
|
60
60
|
border-top: var(--hop-bt-active) !important;
|
|
61
61
|
}
|
|
62
|
-
.UseStyledSystem-module__hop-bg-
|
|
62
|
+
.UseStyledSystem-module__hop-bg-hover___w134R:hover {
|
|
63
63
|
--hop-bg-hover: initial;
|
|
64
64
|
background-color: var(--hop-bg-hover) !important;
|
|
65
65
|
}
|
|
66
|
-
.UseStyledSystem-module__hop-bg-
|
|
66
|
+
.UseStyledSystem-module__hop-bg-focus___GcLCI:focus-visible {
|
|
67
67
|
--hop-bg-focus: initial;
|
|
68
68
|
background-color: var(--hop-bg-focus) !important;
|
|
69
69
|
}
|
|
70
|
-
.UseStyledSystem-module__hop-bg-
|
|
70
|
+
.UseStyledSystem-module__hop-bg-active___rdOhL:active {
|
|
71
71
|
--hop-bg-active: initial;
|
|
72
72
|
background-color: var(--hop-bg-active) !important;
|
|
73
73
|
}
|
|
74
|
-
.UseStyledSystem-module__hop-bs-
|
|
74
|
+
.UseStyledSystem-module__hop-bs-hover___y-aEQ:hover {
|
|
75
75
|
--hop-bs-hover: initial;
|
|
76
76
|
box-shadow: var(--hop-bs-hover) !important;
|
|
77
77
|
}
|
|
78
|
-
.UseStyledSystem-module__hop-bs-
|
|
78
|
+
.UseStyledSystem-module__hop-bs-focus___qMKoc:focus-visible {
|
|
79
79
|
--hop-bs-focus: initial;
|
|
80
80
|
box-shadow: var(--hop-bs-focus) !important;
|
|
81
81
|
}
|
|
82
|
-
.UseStyledSystem-module__hop-bs-
|
|
82
|
+
.UseStyledSystem-module__hop-bs-active___8MtLu:active {
|
|
83
83
|
--hop-bs-active: initial;
|
|
84
84
|
box-shadow: var(--hop-bs-active) !important;
|
|
85
85
|
}
|
|
86
|
-
.UseStyledSystem-module__hop-c-
|
|
86
|
+
.UseStyledSystem-module__hop-c-hover___m3q2O:hover {
|
|
87
87
|
--hop-c-hover: initial;
|
|
88
88
|
color: var(--hop-c-hover) !important;
|
|
89
89
|
}
|
|
90
|
-
.UseStyledSystem-module__hop-c-
|
|
90
|
+
.UseStyledSystem-module__hop-c-focus___ToVnJ:focus-visible {
|
|
91
91
|
--hop-c-focus: initial;
|
|
92
92
|
color: var(--hop-c-focus) !important;
|
|
93
93
|
}
|
|
94
|
-
.UseStyledSystem-module__hop-c-
|
|
94
|
+
.UseStyledSystem-module__hop-c-active___PorM-:active {
|
|
95
95
|
--hop-c-active: initial;
|
|
96
96
|
color: var(--hop-c-active) !important;
|
|
97
97
|
}
|
|
98
|
-
.UseStyledSystem-module__hop-cs-
|
|
98
|
+
.UseStyledSystem-module__hop-cs-hover___lQTKe:hover {
|
|
99
99
|
--hop-cs-hover: initial;
|
|
100
100
|
cursor: var(--hop-cs-hover) !important;
|
|
101
101
|
}
|
|
102
|
-
.UseStyledSystem-module__hop-f-
|
|
102
|
+
.UseStyledSystem-module__hop-f-hover___KvbSc:hover {
|
|
103
103
|
--hop-f-hover: initial;
|
|
104
104
|
fill: var(--hop-f-hover) !important;
|
|
105
105
|
}
|
|
106
|
-
.UseStyledSystem-module__hop-f-
|
|
106
|
+
.UseStyledSystem-module__hop-f-focus___eFUxf:focus-visible {
|
|
107
107
|
--hop-f-focus: initial;
|
|
108
108
|
fill: var(--hop-f-focus) !important;
|
|
109
109
|
}
|
|
110
|
-
.UseStyledSystem-module__hop-o-
|
|
110
|
+
.UseStyledSystem-module__hop-o-hover___WyG8r:hover {
|
|
111
111
|
--hop-o-hover: initial;
|
|
112
112
|
opacity: var(--hop-o-hover) !important;
|
|
113
113
|
}
|
|
114
|
-
.UseStyledSystem-module__hop-o-
|
|
114
|
+
.UseStyledSystem-module__hop-o-focus___NDLtq:focus-visible {
|
|
115
115
|
--hop-o-focus: initial;
|
|
116
116
|
opacity: var(--hop-o-focus) !important;
|
|
117
117
|
}
|
|
118
|
-
.UseStyledSystem-module__hop-o-
|
|
118
|
+
.UseStyledSystem-module__hop-o-active___L-qyl:active {
|
|
119
119
|
--hop-o-active: initial;
|
|
120
120
|
opacity: var(--hop-o-active) !important;
|
|
121
121
|
}
|
|
122
|
-
.UseStyledSystem-module__hop-ol-
|
|
122
|
+
.UseStyledSystem-module__hop-ol-focus___Yw8fd:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
124
|
color: var(--hop-ol-focus) !important;
|
|
125
125
|
}
|
package/dist/useStyledSystem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { isStyledSystemProp, useStyledSystem } from './chunk-
|
|
1
|
+
export { isStyledSystemProp, useStyledSystem } from './chunk-5XPS6ZZ7.js';
|
|
2
2
|
import './chunk-T2LQYER5.js';
|
|
3
3
|
import './chunk-PCGVOTW3.js';
|
|
4
4
|
import './chunk-SFOVKOPG.js';
|
|
@@ -6,4 +6,4 @@ import './chunk-VBKLISDI.js';
|
|
|
6
6
|
import './chunk-XUHDFZZL.js';
|
|
7
7
|
import './chunk-U5R6ZXH3.js';
|
|
8
8
|
import './chunk-I37Y2R7V.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-6LX4VMOV.js';
|
package/dist/utils/assertion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined } from '../chunk-U5R6ZXH3.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useIsomorphicInsertionEffect } from '../chunk-YPIK2HRL.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useIsomorphicLayoutEffect } from '../chunk-3YM73BQP.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6LX4VMOV.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { supportsMatchMedia, useMediaQuery } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { supportsMatchMedia, useMediaQuery } from '../chunk-M4X2T3D3.js';
|
|
2
|
+
import '../chunk-6LX4VMOV.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ThemeComputedStyle } from '../chunk-
|
|
1
|
+
export { ThemeComputedStyle } from '../chunk-B6ZBFYWJ.js';
|
|
2
2
|
import '../chunk-U5R6ZXH3.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6LX4VMOV.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hopper-ui/styled-system",
|
|
3
3
|
"author": "Workleap",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.6",
|
|
5
5
|
"description": "The styled-system package.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -38,36 +38,36 @@
|
|
|
38
38
|
"react-dom": "*"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"clsx": "2.
|
|
42
|
-
"react-aria": "3.
|
|
41
|
+
"clsx": "^2.1.0",
|
|
42
|
+
"@react-aria/ssr": "^3.9.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@swc/core": "1.3.
|
|
45
|
+
"@swc/core": "1.3.106",
|
|
46
46
|
"@swc/helpers": "0.5.3",
|
|
47
|
-
"@swc/jest": "0.2.
|
|
48
|
-
"@testing-library/jest-dom": "6.
|
|
49
|
-
"@testing-library/react": "14.1.
|
|
50
|
-
"@types/jest": "29.5.
|
|
51
|
-
"@types/react
|
|
52
|
-
"@types/react-
|
|
53
|
-
"@types/react": "18.
|
|
47
|
+
"@swc/jest": "0.2.31",
|
|
48
|
+
"@testing-library/jest-dom": "6.3.0",
|
|
49
|
+
"@testing-library/react": "14.1.2",
|
|
50
|
+
"@types/jest": "29.5.11",
|
|
51
|
+
"@types/react": "18.2.48",
|
|
52
|
+
"@types/react-dom": "18.2.18",
|
|
53
|
+
"@types/react-test-renderer": "18.0.7",
|
|
54
54
|
"@workleap/eslint-plugin": "3.0.0",
|
|
55
55
|
"@workleap/swc-configs": "2.1.2",
|
|
56
56
|
"@workleap/tsup-configs": "3.0.1",
|
|
57
57
|
"@workleap/typescript-configs": "3.0.2",
|
|
58
58
|
"identity-obj-proxy": "3.0.0",
|
|
59
|
-
"jest-environment-jsdom": "29.7.0",
|
|
60
59
|
"jest": "29.7.0",
|
|
60
|
+
"jest-environment-jsdom": "29.7.0",
|
|
61
|
+
"postcss": "8.4.33",
|
|
61
62
|
"postcss-modules": "6.0.0",
|
|
62
|
-
"
|
|
63
|
+
"react": "18.2.0",
|
|
63
64
|
"react-dom": "18.2.0",
|
|
64
65
|
"react-test-renderer": "18.2.0",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"@hopper-ui/tokens": "3.1.3"
|
|
66
|
+
"ts-jest": "29.1.2",
|
|
67
|
+
"tsup": "8.0.1",
|
|
68
|
+
"type-fest": "4.10.1",
|
|
69
|
+
"typescript": "5.3.3",
|
|
70
|
+
"@hopper-ui/tokens": "3.1.4"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"dev": "tsup --config ./tsup.dev.ts",
|
|
File without changes
|