@spark-web/button 5.0.0-rc.28 → 5.0.0-rc.29
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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @spark-web/button
|
|
2
2
|
|
|
3
|
+
## 5.0.0-rc.29
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Revise stylesheet maps to align with theme name change
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/spinner@5.0.0-rc.29
|
|
13
|
+
- @spark-web/theme@5.0.0-rc.29
|
|
14
|
+
- @spark-web/utils@5.0.0-rc.29
|
|
15
|
+
- @spark-web/a11y@5.0.0-rc.29
|
|
16
|
+
- @spark-web/icon@5.0.0-rc.29
|
|
17
|
+
- @spark-web/link@5.0.0-rc.29
|
|
18
|
+
- @spark-web/text@5.0.0-rc.29
|
|
19
|
+
- @spark-web/box@5.0.0-rc.29
|
|
20
|
+
|
|
3
21
|
## 5.0.0-rc.28
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -5,5 +5,5 @@ export declare type ButtonLinkProps = LinkComponentProps & CommonButtonProps;
|
|
|
5
5
|
/** The appearance of a `Button`, with the semantics of a link. */
|
|
6
6
|
export declare const ButtonLink: <Comp extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "a">(props: {
|
|
7
7
|
as?: Comp | undefined;
|
|
8
|
-
ref?: import("react").Ref<Comp extends "symbol" | "text" | "
|
|
8
|
+
ref?: import("react").Ref<Comp extends "symbol" | "text" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | keyof HTMLElementTagNameMap ? (HTMLElementTagNameMap & Pick<SVGElementTagNameMap, "symbol" | "text" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">)[Comp] : Comp extends new (...args: any) => any ? InstanceType<Comp> : undefined> | undefined;
|
|
9
9
|
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & ButtonLinkProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -26,7 +26,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
26
26
|
readonly animationTimeline?: import("csstype").Property.AnimationTimeline | readonly import("csstype").Property.AnimationTimeline[] | undefined;
|
|
27
27
|
readonly animationTimingFunction?: import("csstype").Property.AnimationTimingFunction | readonly import("csstype").Property.AnimationTimingFunction[] | undefined;
|
|
28
28
|
readonly appearance?: import("csstype").Property.Appearance | readonly import("csstype").Property.Appearance[] | undefined;
|
|
29
|
-
readonly aspectRatio?: import("csstype").Property.AspectRatio | readonly import("csstype").Property.AspectRatio[] | readonly ((string & {}) | import("csstype").Globals
|
|
29
|
+
readonly aspectRatio?: import("csstype").Property.AspectRatio | readonly import("csstype").Property.AspectRatio[] | readonly ("auto" | (string & {}) | import("csstype").Globals)[] | undefined;
|
|
30
30
|
readonly backdropFilter?: import("csstype").Property.BackdropFilter | readonly import("csstype").Property.BackdropFilter[] | undefined;
|
|
31
31
|
readonly backfaceVisibility?: import("csstype").Property.BackfaceVisibility | readonly import("csstype").Property.BackfaceVisibility[] | undefined;
|
|
32
32
|
readonly backgroundAttachment?: import("csstype").Property.BackgroundAttachment | readonly import("csstype").Property.BackgroundAttachment[] | undefined;
|
|
@@ -101,7 +101,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
101
101
|
readonly color?: import("csstype").Property.Color | readonly import("csstype").Property.Color[] | undefined;
|
|
102
102
|
readonly colorAdjust?: import("csstype").Property.PrintColorAdjust | readonly import("csstype").Property.PrintColorAdjust[] | undefined;
|
|
103
103
|
readonly colorScheme?: import("csstype").Property.ColorScheme | readonly import("csstype").Property.ColorScheme[] | undefined;
|
|
104
|
-
readonly columnCount?: readonly ((string & {}) | import("csstype").Globals
|
|
104
|
+
readonly columnCount?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.ColumnCount | readonly import("csstype").Property.ColumnCount[] | undefined;
|
|
105
105
|
readonly columnFill?: import("csstype").Property.ColumnFill | readonly import("csstype").Property.ColumnFill[] | undefined;
|
|
106
106
|
readonly columnGap?: readonly (string | (string & {}))[] | import("csstype").Property.ColumnGap<string | number> | readonly import("csstype").Property.ColumnGap<string | number>[] | undefined;
|
|
107
107
|
readonly columnRuleColor?: import("csstype").Property.ColumnRuleColor | readonly import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
@@ -139,7 +139,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
139
139
|
readonly fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | readonly import("csstype").Property.FontOpticalSizing[] | undefined;
|
|
140
140
|
readonly fontPalette?: import("csstype").Property.FontPalette | readonly import("csstype").Property.FontPalette[] | undefined;
|
|
141
141
|
readonly fontSize?: readonly (string | (string & {}))[] | import("csstype").Property.FontSize<string | number> | readonly import("csstype").Property.FontSize<string | number>[] | undefined;
|
|
142
|
-
readonly fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | readonly import("csstype").Property.FontSizeAdjust[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
142
|
+
readonly fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | readonly import("csstype").Property.FontSizeAdjust[] | readonly ("none" | (string & {}) | import("csstype").Globals | "from-font")[] | undefined;
|
|
143
143
|
readonly fontSmooth?: readonly string[] | import("csstype").Property.FontSmooth<string | number> | readonly import("csstype").Property.FontSmooth<string | number>[] | undefined;
|
|
144
144
|
readonly fontStretch?: import("csstype").Property.FontStretch | readonly import("csstype").Property.FontStretch[] | undefined;
|
|
145
145
|
readonly fontStyle?: import("csstype").Property.FontStyle | readonly import("csstype").Property.FontStyle[] | undefined;
|
|
@@ -157,22 +157,22 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
157
157
|
readonly fontVariantNumeric?: import("csstype").Property.FontVariantNumeric | readonly import("csstype").Property.FontVariantNumeric[] | undefined;
|
|
158
158
|
readonly fontVariantPosition?: import("csstype").Property.FontVariantPosition | readonly import("csstype").Property.FontVariantPosition[] | undefined;
|
|
159
159
|
readonly fontVariationSettings?: import("csstype").Property.FontVariationSettings | readonly import("csstype").Property.FontVariationSettings[] | undefined;
|
|
160
|
-
readonly fontWeight?: import("csstype").Property.FontWeight | readonly import("csstype").Property.FontWeight[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
160
|
+
readonly fontWeight?: import("csstype").Property.FontWeight | readonly import("csstype").Property.FontWeight[] | readonly ("bold" | (string & {}) | import("csstype").Globals | "normal" | "bolder" | "lighter")[] | undefined;
|
|
161
161
|
readonly forcedColorAdjust?: import("csstype").Property.ForcedColorAdjust | readonly import("csstype").Property.ForcedColorAdjust[] | undefined;
|
|
162
162
|
readonly gridAutoColumns?: readonly (string | (string & {}))[] | import("csstype").Property.GridAutoColumns<string | number> | readonly import("csstype").Property.GridAutoColumns<string | number>[] | undefined;
|
|
163
163
|
readonly gridAutoFlow?: import("csstype").Property.GridAutoFlow | readonly import("csstype").Property.GridAutoFlow[] | undefined;
|
|
164
164
|
readonly gridAutoRows?: readonly (string | (string & {}))[] | import("csstype").Property.GridAutoRows<string | number> | readonly import("csstype").Property.GridAutoRows<string | number>[] | undefined;
|
|
165
|
-
readonly gridColumnEnd?: readonly ((string & {}) | import("csstype").Globals
|
|
166
|
-
readonly gridColumnStart?: readonly ((string & {}) | import("csstype").Globals
|
|
167
|
-
readonly gridRowEnd?: readonly ((string & {}) | import("csstype").Globals
|
|
168
|
-
readonly gridRowStart?: readonly ((string & {}) | import("csstype").Globals
|
|
165
|
+
readonly gridColumnEnd?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridColumnEnd | readonly import("csstype").Property.GridColumnEnd[] | undefined;
|
|
166
|
+
readonly gridColumnStart?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridColumnStart | readonly import("csstype").Property.GridColumnStart[] | undefined;
|
|
167
|
+
readonly gridRowEnd?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridRowEnd | readonly import("csstype").Property.GridRowEnd[] | undefined;
|
|
168
|
+
readonly gridRowStart?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridRowStart | readonly import("csstype").Property.GridRowStart[] | undefined;
|
|
169
169
|
readonly gridTemplateAreas?: import("csstype").Property.GridTemplateAreas | readonly import("csstype").Property.GridTemplateAreas[] | undefined;
|
|
170
170
|
readonly gridTemplateColumns?: readonly (string | (string & {}))[] | import("csstype").Property.GridTemplateColumns<string | number> | readonly import("csstype").Property.GridTemplateColumns<string | number>[] | undefined;
|
|
171
171
|
readonly gridTemplateRows?: readonly (string | (string & {}))[] | import("csstype").Property.GridTemplateRows<string | number> | readonly import("csstype").Property.GridTemplateRows<string | number>[] | undefined;
|
|
172
172
|
readonly hangingPunctuation?: import("csstype").Property.HangingPunctuation | readonly import("csstype").Property.HangingPunctuation[] | undefined;
|
|
173
173
|
height: string | number | readonly import("csstype").Property.Height<string | number>[];
|
|
174
174
|
readonly hyphenateCharacter?: import("csstype").Property.HyphenateCharacter | readonly import("csstype").Property.HyphenateCharacter[] | undefined;
|
|
175
|
-
readonly hyphenateLimitChars?: readonly ((string & {}) | import("csstype").Globals
|
|
175
|
+
readonly hyphenateLimitChars?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.HyphenateLimitChars | readonly import("csstype").Property.HyphenateLimitChars[] | undefined;
|
|
176
176
|
readonly hyphens?: import("csstype").Property.Hyphens | readonly import("csstype").Property.Hyphens[] | undefined;
|
|
177
177
|
readonly imageOrientation?: import("csstype").Property.ImageOrientation | readonly import("csstype").Property.ImageOrientation[] | undefined;
|
|
178
178
|
readonly imageRendering?: import("csstype").Property.ImageRendering | readonly import("csstype").Property.ImageRendering[] | undefined;
|
|
@@ -202,7 +202,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
202
202
|
readonly marginBottom?: readonly (string | (string & {}))[] | import("csstype").Property.MarginBottom<string | number> | readonly import("csstype").Property.MarginBottom<string | number>[] | undefined;
|
|
203
203
|
readonly marginInlineEnd?: readonly (string | (string & {}))[] | import("csstype").Property.MarginInlineEnd<string | number> | readonly import("csstype").Property.MarginInlineEnd<string | number>[] | undefined;
|
|
204
204
|
readonly marginInlineStart?: readonly (string | (string & {}))[] | import("csstype").Property.MarginInlineStart<string | number> | readonly import("csstype").Property.MarginInlineStart<string | number>[] | undefined;
|
|
205
|
-
readonly marginLeft?:
|
|
205
|
+
readonly marginLeft?: import("csstype").Property.MarginLeft<string | number> | readonly import("csstype").Property.MarginLeft<string | number>[] | readonly (string | (string & {}))[] | undefined;
|
|
206
206
|
readonly marginRight?: readonly (string | (string & {}))[] | import("csstype").Property.MarginRight<string | number> | readonly import("csstype").Property.MarginRight<string | number>[] | undefined;
|
|
207
207
|
readonly marginTop?: readonly (string | (string & {}))[] | import("csstype").Property.MarginTop<string | number> | readonly import("csstype").Property.MarginTop<string | number>[] | undefined;
|
|
208
208
|
readonly marginTrim?: import("csstype").Property.MarginTrim | readonly import("csstype").Property.MarginTrim[] | undefined;
|
|
@@ -228,7 +228,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
228
228
|
readonly maxBlockSize?: readonly (string | (string & {}))[] | import("csstype").Property.MaxBlockSize<string | number> | readonly import("csstype").Property.MaxBlockSize<string | number>[] | undefined;
|
|
229
229
|
readonly maxHeight?: readonly (string | (string & {}))[] | import("csstype").Property.MaxHeight<string | number> | readonly import("csstype").Property.MaxHeight<string | number>[] | undefined;
|
|
230
230
|
readonly maxInlineSize?: readonly (string | (string & {}))[] | import("csstype").Property.MaxInlineSize<string | number> | readonly import("csstype").Property.MaxInlineSize<string | number>[] | undefined;
|
|
231
|
-
readonly maxLines?: import("csstype").Property.MaxLines | readonly import("csstype").Property.MaxLines[] | readonly ((string & {}) | import("csstype").Globals
|
|
231
|
+
readonly maxLines?: import("csstype").Property.MaxLines | readonly import("csstype").Property.MaxLines[] | readonly ("none" | (string & {}) | import("csstype").Globals)[] | undefined;
|
|
232
232
|
readonly maxWidth?: readonly (string | (string & {}))[] | import("csstype").Property.MaxWidth<string | number> | readonly import("csstype").Property.MaxWidth<string | number>[] | undefined;
|
|
233
233
|
readonly minBlockSize?: readonly (string | (string & {}))[] | import("csstype").Property.MinBlockSize<string | number> | readonly import("csstype").Property.MinBlockSize<string | number>[] | undefined;
|
|
234
234
|
readonly minHeight?: readonly (string | (string & {}))[] | import("csstype").Property.MinHeight<string | number> | readonly import("csstype").Property.MinHeight<string | number>[] | undefined;
|
|
@@ -292,7 +292,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
292
292
|
readonly rubyAlign?: import("csstype").Property.RubyAlign | readonly import("csstype").Property.RubyAlign[] | undefined;
|
|
293
293
|
readonly rubyMerge?: import("csstype").Property.RubyMerge | readonly import("csstype").Property.RubyMerge[] | undefined;
|
|
294
294
|
readonly rubyPosition?: import("csstype").Property.RubyPosition | readonly import("csstype").Property.RubyPosition[] | undefined;
|
|
295
|
-
readonly scale?: readonly ((string & {}) | import("csstype").Globals
|
|
295
|
+
readonly scale?: readonly ("none" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.Scale | readonly import("csstype").Property.Scale[] | undefined;
|
|
296
296
|
readonly scrollBehavior?: import("csstype").Property.ScrollBehavior | readonly import("csstype").Property.ScrollBehavior[] | undefined;
|
|
297
297
|
readonly scrollMarginBlockEnd?: readonly string[] | import("csstype").Property.ScrollMarginBlockEnd<string | number> | readonly import("csstype").Property.ScrollMarginBlockEnd<string | number>[] | undefined;
|
|
298
298
|
readonly scrollMarginBlockStart?: readonly string[] | import("csstype").Property.ScrollMarginBlockStart<string | number> | readonly import("csstype").Property.ScrollMarginBlockStart<string | number>[] | undefined;
|
|
@@ -381,10 +381,10 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
381
381
|
readonly wordSpacing?: readonly string[] | import("csstype").Property.WordSpacing<string | number> | readonly import("csstype").Property.WordSpacing<string | number>[] | undefined;
|
|
382
382
|
readonly wordWrap?: import("csstype").Property.WordWrap | readonly import("csstype").Property.WordWrap[] | undefined;
|
|
383
383
|
readonly writingMode?: import("csstype").Property.WritingMode | readonly import("csstype").Property.WritingMode[] | undefined;
|
|
384
|
-
readonly zIndex?: readonly ((string & {}) | import("csstype").Globals
|
|
384
|
+
readonly zIndex?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.ZIndex | readonly import("csstype").Property.ZIndex[] | undefined;
|
|
385
385
|
readonly zoom?: import("csstype").Property.Zoom | readonly import("csstype").Property.Zoom[] | readonly ((string & {}) | import("csstype").Globals | "reset" | "normal")[] | undefined;
|
|
386
386
|
readonly all?: import("csstype").Globals | readonly import("csstype").Globals[] | undefined;
|
|
387
|
-
readonly animation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
387
|
+
readonly animation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ("none" | "auto" | (string & {}) | import("csstype").Globals | "both" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | "alternate" | "alternate-reverse" | "normal" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running")[] | undefined;
|
|
388
388
|
readonly animationRange?: readonly (string | (string & {}))[] | import("csstype").Property.AnimationRange<string | number> | readonly import("csstype").Property.AnimationRange<string | number>[] | undefined;
|
|
389
389
|
background: string | number | readonly import("csstype").Property.Background<string | number>[] | undefined;
|
|
390
390
|
readonly backgroundPosition?: readonly (string | (string & {}))[] | import("csstype").Property.BackgroundPosition<string | number> | readonly import("csstype").Property.BackgroundPosition<string | number>[] | undefined;
|
|
@@ -394,7 +394,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
394
394
|
readonly borderBlockStart?: readonly (string | (string & {}))[] | import("csstype").Property.BorderBlockStart<string | number> | readonly import("csstype").Property.BorderBlockStart<string | number>[] | undefined;
|
|
395
395
|
readonly borderBottom?: readonly (string | (string & {}))[] | import("csstype").Property.BorderBottom<string | number> | readonly import("csstype").Property.BorderBottom<string | number>[] | undefined;
|
|
396
396
|
readonly borderColor?: import("csstype").Property.BorderColor | readonly import("csstype").Property.BorderColor[] | undefined;
|
|
397
|
-
readonly borderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
397
|
+
readonly borderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space")[] | undefined;
|
|
398
398
|
readonly borderInline?: readonly (string | (string & {}))[] | import("csstype").Property.BorderInline<string | number> | readonly import("csstype").Property.BorderInline<string | number>[] | undefined;
|
|
399
399
|
readonly borderInlineEnd?: readonly (string | (string & {}))[] | import("csstype").Property.BorderInlineEnd<string | number> | readonly import("csstype").Property.BorderInlineEnd<string | number>[] | undefined;
|
|
400
400
|
readonly borderInlineStart?: readonly (string | (string & {}))[] | import("csstype").Property.BorderInlineStart<string | number> | readonly import("csstype").Property.BorderInlineStart<string | number>[] | undefined;
|
|
@@ -414,20 +414,20 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
414
414
|
readonly font?: import("csstype").Property.Font | readonly import("csstype").Property.Font[] | undefined;
|
|
415
415
|
gap: string | number | readonly import("csstype").Property.Gap<string | number>[];
|
|
416
416
|
readonly grid?: import("csstype").Property.Grid | readonly import("csstype").Property.Grid[] | undefined;
|
|
417
|
-
readonly gridArea?: readonly ((string & {}) | import("csstype").Globals
|
|
418
|
-
readonly gridColumn?: readonly ((string & {}) | import("csstype").Globals
|
|
419
|
-
readonly gridRow?: readonly ((string & {}) | import("csstype").Globals
|
|
417
|
+
readonly gridArea?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridArea | readonly import("csstype").Property.GridArea[] | undefined;
|
|
418
|
+
readonly gridColumn?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridColumn | readonly import("csstype").Property.GridColumn[] | undefined;
|
|
419
|
+
readonly gridRow?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GridRow | readonly import("csstype").Property.GridRow[] | undefined;
|
|
420
420
|
readonly gridTemplate?: import("csstype").Property.GridTemplate | readonly import("csstype").Property.GridTemplate[] | undefined;
|
|
421
421
|
readonly inset?: readonly (string | (string & {}))[] | import("csstype").Property.Inset<string | number> | readonly import("csstype").Property.Inset<string | number>[] | undefined;
|
|
422
422
|
readonly insetBlock?: readonly (string | (string & {}))[] | import("csstype").Property.InsetBlock<string | number> | readonly import("csstype").Property.InsetBlock<string | number>[] | undefined;
|
|
423
423
|
readonly insetInline?: readonly (string | (string & {}))[] | import("csstype").Property.InsetInline<string | number> | readonly import("csstype").Property.InsetInline<string | number>[] | undefined;
|
|
424
|
-
readonly lineClamp?: readonly ((string & {}) | import("csstype").Globals
|
|
424
|
+
readonly lineClamp?: readonly ("none" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.LineClamp | readonly import("csstype").Property.LineClamp[] | undefined;
|
|
425
425
|
readonly listStyle?: import("csstype").Property.ListStyle | readonly import("csstype").Property.ListStyle[] | undefined;
|
|
426
426
|
readonly margin?: readonly (string | (string & {}))[] | import("csstype").Property.Margin<string | number> | readonly import("csstype").Property.Margin<string | number>[] | undefined;
|
|
427
427
|
readonly marginBlock?: readonly (string | (string & {}))[] | import("csstype").Property.MarginBlock<string | number> | readonly import("csstype").Property.MarginBlock<string | number>[] | undefined;
|
|
428
428
|
readonly marginInline?: readonly (string | (string & {}))[] | import("csstype").Property.MarginInline<string | number> | readonly import("csstype").Property.MarginInline<string | number>[] | undefined;
|
|
429
429
|
readonly mask?: readonly (string | (string & {}))[] | import("csstype").Property.Mask<string | number> | readonly import("csstype").Property.Mask<string | number>[] | undefined;
|
|
430
|
-
readonly maskBorder?: import("csstype").Property.MaskBorder | readonly import("csstype").Property.MaskBorder[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
430
|
+
readonly maskBorder?: import("csstype").Property.MaskBorder | readonly import("csstype").Property.MaskBorder[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space" | "alpha" | "luminance")[] | undefined;
|
|
431
431
|
readonly motion?: readonly (string | (string & {}))[] | import("csstype").Property.Offset<string | number> | readonly import("csstype").Property.Offset<string | number>[] | undefined;
|
|
432
432
|
readonly offset?: readonly (string | (string & {}))[] | import("csstype").Property.Offset<string | number> | readonly import("csstype").Property.Offset<string | number>[] | undefined;
|
|
433
433
|
readonly outline?: readonly (string | (string & {}))[] | import("csstype").Property.Outline<string | number> | readonly import("csstype").Property.Outline<string | number>[] | undefined;
|
|
@@ -471,7 +471,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
471
471
|
readonly MozBorderStartStyle?: import("csstype").Property.BorderInlineStartStyle | readonly import("csstype").Property.BorderInlineStartStyle[] | undefined;
|
|
472
472
|
readonly MozBorderTopColors?: import("csstype").Property.MozBorderTopColors | readonly import("csstype").Property.MozBorderTopColors[] | undefined;
|
|
473
473
|
readonly MozBoxSizing?: import("csstype").Property.BoxSizing | readonly import("csstype").Property.BoxSizing[] | undefined;
|
|
474
|
-
readonly MozColumnCount?: readonly ((string & {}) | import("csstype").Globals
|
|
474
|
+
readonly MozColumnCount?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.ColumnCount | readonly import("csstype").Property.ColumnCount[] | undefined;
|
|
475
475
|
readonly MozColumnFill?: import("csstype").Property.ColumnFill | readonly import("csstype").Property.ColumnFill[] | undefined;
|
|
476
476
|
readonly MozColumnRuleColor?: import("csstype").Property.ColumnRuleColor | readonly import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
477
477
|
readonly MozColumnRuleStyle?: import("csstype").Property.ColumnRuleStyle | readonly import("csstype").Property.ColumnRuleStyle[] | undefined;
|
|
@@ -517,7 +517,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
517
517
|
readonly msGridColumns?: readonly (string | (string & {}))[] | import("csstype").Property.MsGridColumns<string | number> | readonly import("csstype").Property.MsGridColumns<string | number>[] | undefined;
|
|
518
518
|
readonly msGridRows?: readonly (string | (string & {}))[] | import("csstype").Property.MsGridRows<string | number> | readonly import("csstype").Property.MsGridRows<string | number>[] | undefined;
|
|
519
519
|
readonly msHighContrastAdjust?: import("csstype").Property.MsHighContrastAdjust | readonly import("csstype").Property.MsHighContrastAdjust[] | undefined;
|
|
520
|
-
readonly msHyphenateLimitChars?: readonly ((string & {}) | import("csstype").Globals
|
|
520
|
+
readonly msHyphenateLimitChars?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.MsHyphenateLimitChars | readonly import("csstype").Property.MsHyphenateLimitChars[] | undefined;
|
|
521
521
|
readonly msHyphenateLimitLines?: import("csstype").Property.MsHyphenateLimitLines | readonly import("csstype").Property.MsHyphenateLimitLines[] | readonly ((string & {}) | import("csstype").Globals | "no-limit")[] | undefined;
|
|
522
522
|
readonly msHyphenateLimitZone?: readonly (string | (string & {}))[] | import("csstype").Property.MsHyphenateLimitZone<string | number> | readonly import("csstype").Property.MsHyphenateLimitZone<string | number>[] | undefined;
|
|
523
523
|
readonly msHyphens?: import("csstype").Property.Hyphens | readonly import("csstype").Property.Hyphens[] | undefined;
|
|
@@ -592,7 +592,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
592
592
|
readonly WebkitBoxShadow?: import("csstype").Property.BoxShadow | readonly import("csstype").Property.BoxShadow[] | undefined;
|
|
593
593
|
readonly WebkitBoxSizing?: import("csstype").Property.BoxSizing | readonly import("csstype").Property.BoxSizing[] | undefined;
|
|
594
594
|
readonly WebkitClipPath?: import("csstype").Property.ClipPath | readonly import("csstype").Property.ClipPath[] | undefined;
|
|
595
|
-
readonly WebkitColumnCount?: readonly ((string & {}) | import("csstype").Globals
|
|
595
|
+
readonly WebkitColumnCount?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.ColumnCount | readonly import("csstype").Property.ColumnCount[] | undefined;
|
|
596
596
|
readonly WebkitColumnFill?: import("csstype").Property.ColumnFill | readonly import("csstype").Property.ColumnFill[] | undefined;
|
|
597
597
|
readonly WebkitColumnRuleColor?: import("csstype").Property.ColumnRuleColor | readonly import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
598
598
|
readonly WebkitColumnRuleStyle?: import("csstype").Property.ColumnRuleStyle | readonly import("csstype").Property.ColumnRuleStyle[] | undefined;
|
|
@@ -614,7 +614,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
614
614
|
readonly WebkitInitialLetter?: import("csstype").Property.InitialLetter | readonly import("csstype").Property.InitialLetter[] | readonly ((string & {}) | import("csstype").Globals | "normal")[] | undefined;
|
|
615
615
|
readonly WebkitJustifyContent?: import("csstype").Property.JustifyContent | readonly import("csstype").Property.JustifyContent[] | undefined;
|
|
616
616
|
readonly WebkitLineBreak?: import("csstype").Property.LineBreak | readonly import("csstype").Property.LineBreak[] | undefined;
|
|
617
|
-
readonly WebkitLineClamp?: readonly ((string & {}) | import("csstype").Globals
|
|
617
|
+
readonly WebkitLineClamp?: readonly ("none" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.WebkitLineClamp | readonly import("csstype").Property.WebkitLineClamp[] | undefined;
|
|
618
618
|
readonly WebkitMarginEnd?: readonly (string | (string & {}))[] | import("csstype").Property.MarginInlineEnd<string | number> | readonly import("csstype").Property.MarginInlineEnd<string | number>[] | undefined;
|
|
619
619
|
readonly WebkitMarginStart?: readonly (string | (string & {}))[] | import("csstype").Property.MarginInlineStart<string | number> | readonly import("csstype").Property.MarginInlineStart<string | number>[] | undefined;
|
|
620
620
|
readonly WebkitMaskAttachment?: import("csstype").Property.WebkitMaskAttachment | readonly import("csstype").Property.WebkitMaskAttachment[] | undefined;
|
|
@@ -671,8 +671,8 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
671
671
|
readonly WebkitUserModify?: import("csstype").Property.WebkitUserModify | readonly import("csstype").Property.WebkitUserModify[] | undefined;
|
|
672
672
|
readonly WebkitUserSelect?: import("csstype").Property.UserSelect | readonly import("csstype").Property.UserSelect[] | undefined;
|
|
673
673
|
readonly WebkitWritingMode?: import("csstype").Property.WritingMode | readonly import("csstype").Property.WritingMode[] | undefined;
|
|
674
|
-
readonly MozAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
675
|
-
readonly MozBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
674
|
+
readonly MozAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ("none" | "auto" | (string & {}) | import("csstype").Globals | "both" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | "alternate" | "alternate-reverse" | "normal" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running")[] | undefined;
|
|
675
|
+
readonly MozBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space")[] | undefined;
|
|
676
676
|
readonly MozColumnRule?: readonly (string | (string & {}))[] | import("csstype").Property.ColumnRule<string | number> | readonly import("csstype").Property.ColumnRule<string | number>[] | undefined;
|
|
677
677
|
readonly MozColumns?: readonly (string | (string & {}))[] | import("csstype").Property.Columns<string | number> | readonly import("csstype").Property.Columns<string | number>[] | undefined;
|
|
678
678
|
readonly MozOutlineRadius?: readonly (string | (string & {}))[] | import("csstype").Property.MozOutlineRadius<string | number> | readonly import("csstype").Property.MozOutlineRadius<string | number>[] | undefined;
|
|
@@ -683,16 +683,16 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
683
683
|
readonly msScrollSnapX?: import("csstype").Property.MsScrollSnapX | readonly import("csstype").Property.MsScrollSnapX[] | undefined;
|
|
684
684
|
readonly msScrollSnapY?: import("csstype").Property.MsScrollSnapY | readonly import("csstype").Property.MsScrollSnapY[] | undefined;
|
|
685
685
|
readonly msTransition?: import("csstype").Property.Transition<string & {}> | readonly import("csstype").Property.Transition<string & {}>[] | undefined;
|
|
686
|
-
readonly WebkitAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
686
|
+
readonly WebkitAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ("none" | "auto" | (string & {}) | import("csstype").Globals | "both" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | "alternate" | "alternate-reverse" | "normal" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running")[] | undefined;
|
|
687
687
|
readonly WebkitBorderBefore?: readonly (string | (string & {}))[] | import("csstype").Property.WebkitBorderBefore<string | number> | readonly import("csstype").Property.WebkitBorderBefore<string | number>[] | undefined;
|
|
688
|
-
readonly WebkitBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
688
|
+
readonly WebkitBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space")[] | undefined;
|
|
689
689
|
readonly WebkitBorderRadius?: readonly (string | (string & {}))[] | import("csstype").Property.BorderRadius<string | number> | readonly import("csstype").Property.BorderRadius<string | number>[] | undefined;
|
|
690
690
|
readonly WebkitColumnRule?: readonly (string | (string & {}))[] | import("csstype").Property.ColumnRule<string | number> | readonly import("csstype").Property.ColumnRule<string | number>[] | undefined;
|
|
691
691
|
readonly WebkitColumns?: readonly (string | (string & {}))[] | import("csstype").Property.Columns<string | number> | readonly import("csstype").Property.Columns<string | number>[] | undefined;
|
|
692
692
|
readonly WebkitFlex?: readonly (string | (string & {}))[] | import("csstype").Property.Flex<string | number> | readonly import("csstype").Property.Flex<string | number>[] | undefined;
|
|
693
693
|
readonly WebkitFlexFlow?: import("csstype").Property.FlexFlow | readonly import("csstype").Property.FlexFlow[] | undefined;
|
|
694
694
|
readonly WebkitMask?: readonly (string | (string & {}))[] | import("csstype").Property.WebkitMask<string | number> | readonly import("csstype").Property.WebkitMask<string | number>[] | undefined;
|
|
695
|
-
readonly WebkitMaskBoxImage?: import("csstype").Property.MaskBorder | readonly import("csstype").Property.MaskBorder[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
695
|
+
readonly WebkitMaskBoxImage?: import("csstype").Property.MaskBorder | readonly import("csstype").Property.MaskBorder[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space" | "alpha" | "luminance")[] | undefined;
|
|
696
696
|
readonly WebkitTextEmphasis?: import("csstype").Property.TextEmphasis | readonly import("csstype").Property.TextEmphasis[] | undefined;
|
|
697
697
|
readonly WebkitTextStroke?: readonly (string | (string & {}))[] | import("csstype").Property.WebkitTextStroke<string | number> | readonly import("csstype").Property.WebkitTextStroke<string | number>[] | undefined;
|
|
698
698
|
readonly WebkitTransition?: import("csstype").Property.Transition<string & {}> | readonly import("csstype").Property.Transition<string & {}>[] | undefined;
|
|
@@ -773,7 +773,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
773
773
|
readonly MozTransitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | readonly import("csstype").Property.TransitionTimingFunction[] | undefined;
|
|
774
774
|
readonly MozUserInput?: import("csstype").Property.MozUserInput | readonly import("csstype").Property.MozUserInput[] | undefined;
|
|
775
775
|
readonly msImeMode?: import("csstype").Property.ImeMode | readonly import("csstype").Property.ImeMode[] | undefined;
|
|
776
|
-
readonly OAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
776
|
+
readonly OAnimation?: import("csstype").Property.Animation<string & {}> | readonly import("csstype").Property.Animation<string & {}>[] | readonly ("none" | "auto" | (string & {}) | import("csstype").Globals | "both" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | "alternate" | "alternate-reverse" | "normal" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running")[] | undefined;
|
|
777
777
|
readonly OAnimationDelay?: import("csstype").Property.AnimationDelay<string & {}> | readonly import("csstype").Property.AnimationDelay<string & {}>[] | undefined;
|
|
778
778
|
readonly OAnimationDirection?: import("csstype").Property.AnimationDirection | readonly import("csstype").Property.AnimationDirection[] | undefined;
|
|
779
779
|
readonly OAnimationDuration?: import("csstype").Property.AnimationDuration<string & {}> | readonly import("csstype").Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -783,7 +783,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
783
783
|
readonly OAnimationPlayState?: import("csstype").Property.AnimationPlayState | readonly import("csstype").Property.AnimationPlayState[] | undefined;
|
|
784
784
|
readonly OAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | readonly import("csstype").Property.AnimationTimingFunction[] | undefined;
|
|
785
785
|
readonly OBackgroundSize?: readonly (string | (string & {}))[] | import("csstype").Property.BackgroundSize<string | number> | readonly import("csstype").Property.BackgroundSize<string | number>[] | undefined;
|
|
786
|
-
readonly OBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ((string & {}) | import("csstype").Globals | "
|
|
786
|
+
readonly OBorderImage?: import("csstype").Property.BorderImage | readonly import("csstype").Property.BorderImage[] | readonly ("repeat" | "none" | (string & {}) | import("csstype").Globals | "stretch" | "round" | "space")[] | undefined;
|
|
787
787
|
readonly OObjectFit?: import("csstype").Property.ObjectFit | readonly import("csstype").Property.ObjectFit[] | undefined;
|
|
788
788
|
readonly OObjectPosition?: readonly (string | (string & {}))[] | import("csstype").Property.ObjectPosition<string | number> | readonly import("csstype").Property.ObjectPosition<string | number>[] | undefined;
|
|
789
789
|
readonly OTabSize?: readonly (string | (string & {}))[] | import("csstype").Property.TabSize<string | number> | readonly import("csstype").Property.TabSize<string | number>[] | undefined;
|
|
@@ -814,7 +814,7 @@ export declare function useButtonStyles({ css, iconOnly, prominence, rounded, si
|
|
|
814
814
|
readonly fillRule?: import("csstype").Property.FillRule | readonly import("csstype").Property.FillRule[] | undefined;
|
|
815
815
|
readonly floodColor?: import("csstype").Property.FloodColor | readonly import("csstype").Property.FloodColor[] | undefined;
|
|
816
816
|
readonly floodOpacity?: readonly ((string & {}) | import("csstype").Globals)[] | import("csstype").Property.FloodOpacity | readonly import("csstype").Property.FloodOpacity[] | undefined;
|
|
817
|
-
readonly glyphOrientationVertical?: readonly ((string & {}) | import("csstype").Globals
|
|
817
|
+
readonly glyphOrientationVertical?: readonly ("auto" | (string & {}) | import("csstype").Globals)[] | import("csstype").Property.GlyphOrientationVertical | readonly import("csstype").Property.GlyphOrientationVertical[] | undefined;
|
|
818
818
|
readonly lightingColor?: import("csstype").Property.LightingColor | readonly import("csstype").Property.LightingColor[] | undefined;
|
|
819
819
|
readonly marker?: import("csstype").Property.Marker | readonly import("csstype").Property.Marker[] | undefined;
|
|
820
820
|
readonly markerEnd?: import("csstype").Property.MarkerEnd | readonly import("csstype").Property.MarkerEnd[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/button",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.29",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.25.0",
|
|
19
19
|
"@emotion/react": "^11.14.0",
|
|
20
|
-
"@spark-web/a11y": "^5.0.0-rc.
|
|
21
|
-
"@spark-web/box": "^5.0.0-rc.
|
|
22
|
-
"@spark-web/icon": "^5.0.0-rc.
|
|
23
|
-
"@spark-web/link": "^5.0.0-rc.
|
|
24
|
-
"@spark-web/spinner": "^5.0.0-rc.
|
|
25
|
-
"@spark-web/text": "^5.0.0-rc.
|
|
26
|
-
"@spark-web/theme": "^5.0.0-rc.
|
|
27
|
-
"@spark-web/utils": "^5.0.0-rc.
|
|
20
|
+
"@spark-web/a11y": "^5.0.0-rc.29",
|
|
21
|
+
"@spark-web/box": "^5.0.0-rc.29",
|
|
22
|
+
"@spark-web/icon": "^5.0.0-rc.29",
|
|
23
|
+
"@spark-web/link": "^5.0.0-rc.29",
|
|
24
|
+
"@spark-web/spinner": "^5.0.0-rc.29",
|
|
25
|
+
"@spark-web/text": "^5.0.0-rc.29",
|
|
26
|
+
"@spark-web/theme": "^5.0.0-rc.29",
|
|
27
|
+
"@spark-web/utils": "^5.0.0-rc.29"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^18.2.0",
|