@codecademy/gamut-patterns 0.10.22-alpha.f66feb.0 → 0.10.23-alpha.3fd836.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/props.d.ts +13 -61
- package/package.json +6 -6
package/dist/props.d.ts
CHANGED
|
@@ -125,53 +125,29 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
|
|
|
125
125
|
};
|
|
126
126
|
readonly px: {
|
|
127
127
|
readonly property: "padding";
|
|
128
|
-
readonly properties:
|
|
129
|
-
readonly physical: readonly ["paddingLeft", "paddingRight"];
|
|
130
|
-
readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
|
|
131
|
-
};
|
|
128
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
132
129
|
readonly scale: "spacing";
|
|
133
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
134
130
|
};
|
|
135
131
|
readonly py: {
|
|
136
132
|
readonly property: "padding";
|
|
137
|
-
readonly properties:
|
|
138
|
-
readonly physical: readonly ["paddingTop", "paddingBottom"];
|
|
139
|
-
readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
|
|
140
|
-
};
|
|
133
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
141
134
|
readonly scale: "spacing";
|
|
142
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
143
135
|
};
|
|
144
136
|
readonly pt: {
|
|
145
|
-
readonly property:
|
|
146
|
-
readonly physical: "paddingTop";
|
|
147
|
-
readonly logical: "paddingBlockStart";
|
|
148
|
-
};
|
|
137
|
+
readonly property: "paddingTop";
|
|
149
138
|
readonly scale: "spacing";
|
|
150
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
151
139
|
};
|
|
152
140
|
readonly pb: {
|
|
153
|
-
readonly property:
|
|
154
|
-
readonly physical: "paddingBottom";
|
|
155
|
-
readonly logical: "paddingBlockEnd";
|
|
156
|
-
};
|
|
141
|
+
readonly property: "paddingBottom";
|
|
157
142
|
readonly scale: "spacing";
|
|
158
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
159
143
|
};
|
|
160
144
|
readonly pr: {
|
|
161
|
-
readonly property:
|
|
162
|
-
readonly physical: "paddingRight";
|
|
163
|
-
readonly logical: "paddingInlineEnd";
|
|
164
|
-
};
|
|
145
|
+
readonly property: "paddingRight";
|
|
165
146
|
readonly scale: "spacing";
|
|
166
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
167
147
|
};
|
|
168
148
|
readonly pl: {
|
|
169
|
-
readonly property:
|
|
170
|
-
readonly physical: "paddingLeft";
|
|
171
|
-
readonly logical: "paddingInlineStart";
|
|
172
|
-
};
|
|
149
|
+
readonly property: "paddingLeft";
|
|
173
150
|
readonly scale: "spacing";
|
|
174
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
175
151
|
};
|
|
176
152
|
readonly m: {
|
|
177
153
|
readonly property: "margin";
|
|
@@ -179,53 +155,29 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
|
|
|
179
155
|
};
|
|
180
156
|
readonly mx: {
|
|
181
157
|
readonly property: "margin";
|
|
182
|
-
readonly properties:
|
|
183
|
-
readonly physical: readonly ["marginLeft", "marginRight"];
|
|
184
|
-
readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
|
|
185
|
-
};
|
|
186
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
158
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
187
159
|
readonly scale: "spacing";
|
|
188
160
|
};
|
|
189
161
|
readonly my: {
|
|
190
162
|
readonly property: "margin";
|
|
191
|
-
readonly properties:
|
|
192
|
-
readonly physical: readonly ["marginTop", "marginBottom"];
|
|
193
|
-
readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
|
|
194
|
-
};
|
|
195
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
163
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
196
164
|
readonly scale: "spacing";
|
|
197
165
|
};
|
|
198
166
|
readonly mt: {
|
|
199
|
-
readonly property:
|
|
200
|
-
readonly physical: "marginTop";
|
|
201
|
-
readonly logical: "marginBlockStart";
|
|
202
|
-
};
|
|
167
|
+
readonly property: "marginTop";
|
|
203
168
|
readonly scale: "spacing";
|
|
204
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
205
169
|
};
|
|
206
170
|
readonly mb: {
|
|
207
|
-
readonly property:
|
|
208
|
-
readonly physical: "marginBottom";
|
|
209
|
-
readonly logical: "marginBlockEnd";
|
|
210
|
-
};
|
|
171
|
+
readonly property: "marginBottom";
|
|
211
172
|
readonly scale: "spacing";
|
|
212
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
213
173
|
};
|
|
214
174
|
readonly mr: {
|
|
215
|
-
readonly property:
|
|
216
|
-
readonly physical: "marginRight";
|
|
217
|
-
readonly logical: "marginInlineEnd";
|
|
218
|
-
};
|
|
175
|
+
readonly property: "marginRight";
|
|
219
176
|
readonly scale: "spacing";
|
|
220
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
221
177
|
};
|
|
222
178
|
readonly ml: {
|
|
223
|
-
readonly property:
|
|
224
|
-
readonly physical: "marginLeft";
|
|
225
|
-
readonly logical: "marginInlineStart";
|
|
226
|
-
};
|
|
179
|
+
readonly property: "marginLeft";
|
|
227
180
|
readonly scale: "spacing";
|
|
228
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
229
181
|
};
|
|
230
182
|
}>>]>>;
|
|
231
183
|
export type PatternStyleProps = StyleProps<typeof patternStyles>;
|
|
@@ -240,5 +192,5 @@ export interface PatternProps extends Omit<React.SVGProps<SVGSVGElement>, keyof
|
|
|
240
192
|
export declare const Svg: import("react").ForwardRefExoticComponent<Omit<{
|
|
241
193
|
theme?: import("@emotion/react").Theme | undefined;
|
|
242
194
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
243
|
-
} & PatternProps & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "name" | "clipPath" | "cursor" | "direction" | "
|
|
195
|
+
} & PatternProps & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "name" | "alignmentBaseline" | "baselineShift" | "clipPath" | "clipRule" | "colorInterpolationFilters" | "cursor" | "cx" | "cy" | "d" | "direction" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontSizeAdjust" | "fontVariant" | "imageRendering" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "paintOrder" | "pointerEvents" | "r" | "rotate" | "rx" | "ry" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textRendering" | "transform" | "unicodeBidi" | "vectorEffect" | "visibility" | "wordSpacing" | "writingMode" | "x" | "y" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "method" | "nonce" | "part" | "slot" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolation" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "fontStretch" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "ref" | "key">, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
244
196
|
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-patterns",
|
|
3
3
|
"description": "Pattern library for Codecademy",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.23-alpha.3fd836.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"bugs": "https://github.com/Codecademy/gamut/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@codecademy/gamut-styles": "17.
|
|
9
|
-
"@codecademy/variance": "0.
|
|
8
|
+
"@codecademy/gamut-styles": "17.11.4-alpha.3fd836.0",
|
|
9
|
+
"@codecademy/variance": "0.25.3-alpha.3fd836.0",
|
|
10
10
|
"classnames": "^2.2.5"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@emotion/react": "^11.4.0",
|
|
21
21
|
"@emotion/styled": "^11.3.0",
|
|
22
|
-
"react": "^
|
|
23
|
-
"react-dom": "^
|
|
22
|
+
"react": "^18.3.0 || ^19.0.0",
|
|
23
|
+
"react-dom": "^18.3.0 || ^19.0.0"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "51672ce251029a75e9dfb7a8b5a5b24f56533413"
|
|
36
36
|
}
|