@moderneinc/neo-styled-components 2.7.0-next.889ddc → 2.7.0-next.91c6ee
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/IconButton/IconButton.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,15 +14,15 @@ export interface NeoIconButtonProps extends Omit<IconButtonProps, 'color' | 'siz
|
|
|
14
14
|
*
|
|
15
15
|
* Simple, neutral icon button with transparent background and icon color states.
|
|
16
16
|
*
|
|
17
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC
|
|
17
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11126-21344
|
|
18
18
|
*
|
|
19
19
|
* Figma Props Mapping:
|
|
20
|
-
* - Hierarchy=Icon → Single default style (no variant prop)
|
|
21
20
|
* - Size (Small|Medium) → size prop
|
|
22
21
|
* - State=Disabled → disabled prop
|
|
23
22
|
* - State=Hover → CSS :hover
|
|
24
|
-
* - State=
|
|
25
|
-
* - State=
|
|
23
|
+
* - State=Active → CSS :active
|
|
24
|
+
* - State=Focus → CSS :focus-visible
|
|
25
|
+
* - State=Loading → not yet implemented
|
|
26
26
|
*/
|
|
27
27
|
export declare const NeoIconButton: {
|
|
28
28
|
({ size, ...props }: NeoIconButtonProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1406,15 +1406,15 @@ interface NeoIconButtonProps extends Omit<IconButtonProps, 'color' | 'size'> {
|
|
|
1406
1406
|
*
|
|
1407
1407
|
* Simple, neutral icon button with transparent background and icon color states.
|
|
1408
1408
|
*
|
|
1409
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC
|
|
1409
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11126-21344
|
|
1410
1410
|
*
|
|
1411
1411
|
* Figma Props Mapping:
|
|
1412
|
-
* - Hierarchy=Icon → Single default style (no variant prop)
|
|
1413
1412
|
* - Size (Small|Medium) → size prop
|
|
1414
1413
|
* - State=Disabled → disabled prop
|
|
1415
1414
|
* - State=Hover → CSS :hover
|
|
1416
|
-
* - State=
|
|
1417
|
-
* - State=
|
|
1415
|
+
* - State=Active → CSS :active
|
|
1416
|
+
* - State=Focus → CSS :focus-visible
|
|
1417
|
+
* - State=Loading → not yet implemented
|
|
1418
1418
|
*/
|
|
1419
1419
|
declare const NeoIconButton: {
|
|
1420
1420
|
({ size, ...props }: NeoIconButtonProps): react_jsx_runtime.JSX.Element;
|
package/dist/index.esm.js
CHANGED
|
@@ -3280,15 +3280,15 @@ const StyledIconButton = styled(IconButton, {
|
|
|
3280
3280
|
*
|
|
3281
3281
|
* Simple, neutral icon button with transparent background and icon color states.
|
|
3282
3282
|
*
|
|
3283
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC
|
|
3283
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11126-21344
|
|
3284
3284
|
*
|
|
3285
3285
|
* Figma Props Mapping:
|
|
3286
|
-
* - Hierarchy=Icon → Single default style (no variant prop)
|
|
3287
3286
|
* - Size (Small|Medium) → size prop
|
|
3288
3287
|
* - State=Disabled → disabled prop
|
|
3289
3288
|
* - State=Hover → CSS :hover
|
|
3290
|
-
* - State=
|
|
3291
|
-
* - State=
|
|
3289
|
+
* - State=Active → CSS :active
|
|
3290
|
+
* - State=Focus → CSS :focus-visible
|
|
3291
|
+
* - State=Loading → not yet implemented
|
|
3292
3292
|
*/
|
|
3293
3293
|
const NeoIconButton = ({ size = 'medium', ...props }) => {
|
|
3294
3294
|
return jsx(StyledIconButton, { size: size, ...props });
|