@pop-ui/foundation 2.2.0 → 2.2.1

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.
@@ -5,5 +5,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  import { Path, Rect, Svg } from 'react-native-svg';
6
6
  import { ColorGray900 } from '../../tokens/colors';
7
7
  export default function IconSmartphone({ size = 24, color = ColorGray900, variant: _variant = 'line', ...props }) {
8
- return (_jsxs(Svg, { width: size, height: size, viewBox: "0 0 24 26", fill: "none", ...props, children: [_jsx(Rect, { x: "5.15039", y: "1.50391", width: "13.6986", height: "22.9916", rx: "2", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M9.79688 4.54102H14.2482", stroke: color, strokeWidth: "1.5", strokeLinecap: "round" })] }));
8
+ return (_jsxs(Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", ...props, children: [_jsx(Rect, { x: "6.5", y: "2.75", width: "11", height: "18.5", rx: "2", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M10.25 5.25H13.75", stroke: color, strokeWidth: "1.5", strokeLinecap: "round" })] }));
9
9
  }
@@ -1,9 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
1
  // This file is auto-generated by scripts/generate-native.ts
3
2
  // DO NOT EDIT MANUALLY — changes will be overwritten on the next build
4
3
  // To update: modify the source in src/icons/*.tsx, src/illustrations/*.tsx, or src/brand/*.tsx, then run `yarn build`
5
- import { Path, Svg } from 'react-native-svg';
6
- import { ColorGray900 } from '../../tokens/colors';
7
- export default function IconStore({ size = 24, color = ColorGray900, variant: _variant = 'line', ...props }) {
8
- return (_jsxs(Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", ...props, children: [_jsx(Path, { d: "M4.27039 4.76645C4.36249 4.31962 4.75591 3.99902 5.21213 3.99902H8.14449L7.81016 8.91457C7.733 10.0491 6.79023 10.9299 5.65311 10.9299V10.9299C4.28358 10.9299 3.25912 9.67273 3.53559 8.3314L4.27039 4.76645Z", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M8.12535 3.99902L12.0001 3.99903V8.84469C12.0001 9.99632 11.0665 10.9299 9.91489 10.9299V10.9299C8.71265 10.9299 7.75947 9.91595 7.83367 8.716L8.12535 3.99902Z", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M19.7296 4.76645C19.6375 4.31962 19.2441 3.99902 18.7879 3.99902H15.8555L16.1898 8.91457C16.267 10.0491 17.2098 10.9299 18.3469 10.9299V10.9299C19.7164 10.9299 20.7409 9.67273 20.4644 8.3314L19.7296 4.76645Z", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M15.8747 3.99902L11.9999 3.99903V8.84469C11.9999 9.99632 12.9335 10.9299 14.0851 10.9299V10.9299C15.2873 10.9299 16.2405 9.91595 16.1663 8.716L15.8747 3.99902Z", stroke: color, strokeWidth: "1.5" }), _jsx(Path, { d: "M4.46191 10.5876V18.4999C4.46191 19.3284 5.13349 19.9999 5.96191 19.9999H18.0381C18.8665 19.9999 19.5381 19.3284 19.5381 18.4999V10.5876", stroke: color, strokeWidth: "1.5" })] }));
9
- }
4
+ // Backward-compatible alias. Use IconShop for new code.
5
+ export { default } from './IconShop';
@@ -1,10 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
1
  // This file is auto-generated by scripts/generate-native.ts
3
2
  // DO NOT EDIT MANUALLY — changes will be overwritten on the next build
4
3
  // To update: modify the source in src/icons/*.tsx, src/illustrations/*.tsx, or src/brand/*.tsx, then run `yarn build`
5
- import { Circle, Path, Svg } from 'react-native-svg';
6
- import { ColorGray900, ColorWhite } from '../../tokens/colors';
7
- export default function IconWarningCircle({ size = 24, color = ColorGray900, variant = 'line', ...props }) {
8
- const isFilled = variant === 'filled';
9
- return (_jsxs(Svg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", ...props, children: [_jsx(Circle, { cx: "12", cy: "12", r: "10", fill: isFilled ? color : 'none', stroke: color, strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round" }), _jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M12.0046 15.2893C12.6552 15.2893 13.181 15.8152 13.181 16.4658C13.181 17.1164 12.6552 17.6422 12.0046 17.6422C11.354 17.6422 10.8222 17.1164 10.8222 16.4658C10.8222 15.8152 11.3434 15.2893 11.9928 15.2893H12.0046ZM11.993 6.6518C12.4801 6.6518 12.8754 7.047 12.8754 7.5341V12.733C12.8754 13.22 12.4801 13.6153 11.993 13.6153C11.506 13.6153 11.1107 13.22 11.1107 12.733V7.5341C11.1107 7.047 11.506 6.6518 11.993 6.6518Z", fill: isFilled ? ColorWhite : color, strokeWidth: 0 })] }));
10
- }
4
+ // Backward-compatible alias. Use IconCaution for new code.
5
+ export { default } from './IconCaution';
@@ -292,7 +292,9 @@ export declare function IconCartAdd({ size, color, ...props }: IIconLineOnlyProp
292
292
 
293
293
  export declare function IconCartCheck({ size, color, ...props }: IIconLineOnlyProps): JSX.Element;
294
294
 
295
- export declare function IconCaution({ size, color, variant, ...props }: IIconProps): JSX.Element;
295
+ declare function IconCaution({ size, color, variant, ...props }: IIconProps): JSX.Element;
296
+ export { IconCaution }
297
+ export { IconCaution as IconWarningCircle }
296
298
 
297
299
  export declare function IconChartBar({ size, color, variant, ...props }: IIconProps): JSX.Element;
298
300
 
@@ -490,7 +492,9 @@ export declare function IconSetting({ size, color, variant: _variant, ...props }
490
492
 
491
493
  export declare function IconShare({ size, color, variant, ...props }: IIconProps): JSX.Element;
492
494
 
493
- export declare function IconShop({ size, color, variant, ...props }: IIconProps): JSX.Element;
495
+ declare function IconShop({ size, color, variant, ...props }: IIconProps): JSX.Element;
496
+ export { IconShop }
497
+ export { IconShop as IconStore }
494
498
 
495
499
  export declare function IconShoppingBagCheck({ size, color, variant, ...props }: IIconProps): JSX.Element;
496
500
 
@@ -506,8 +510,6 @@ export declare function IconStar({ size, color, variant, ...props }: IIconProps)
506
510
 
507
511
  export declare function IconStopSign({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
508
512
 
509
- export declare function IconStore({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
510
-
511
513
  export declare function IconSync({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
512
514
 
513
515
  export declare function IconSyncAlt({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
@@ -536,8 +538,6 @@ export declare function IconVisibility({ size, color, variant: _variant, ...prop
536
538
 
537
539
  export declare function IconVisibilityOff({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
538
540
 
539
- export declare function IconWarningCircle({ size, color, variant, ...props }: IIconProps): JSX.Element;
540
-
541
541
  export declare function IconWarningTriangle({ size, color, variant, ...props }: IIconProps): JSX.Element;
542
542
 
543
543
  export declare function IconWeb({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): JSX.Element;
@@ -1,2 +1 @@
1
- import type { IIconLineOnlyProps } from '../../types/icon.native';
2
- export default function IconStore({ size, color, variant: _variant, ...props }: IIconLineOnlyProps): import("react/jsx-runtime").JSX.Element;
1
+ export { default } from './IconShop';
@@ -1,2 +1 @@
1
- import type { IIconProps } from '../../types/icon.native';
2
- export default function IconWarningCircle({ size, color, variant, ...props }: IIconProps): import("react/jsx-runtime").JSX.Element;
1
+ export { default } from './IconCaution';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pop-ui/foundation",
3
3
  "type": "module",
4
- "version": "2.2.0",
4
+ "version": "2.2.1",
5
5
  "main": "./dist/foundation.umd.cjs",
6
6
  "module": "./dist/foundation.js",
7
7
  "types": "./dist/types/index.d.ts",