@pop-ui/foundation 1.1.10 → 1.1.12
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 +8 -1
- package/dist/foundation.js +1751 -723
- package/dist/foundation.umd.cjs +1 -1
- package/dist/native/brand/native/IconInstagram.js +3 -2
- package/dist/native/brand/native/IconInstagramLine.js +3 -2
- package/dist/native/icons/native/IconArrowDown.js +3 -2
- package/dist/native/icons/native/IconArrowLeft.js +3 -2
- package/dist/native/icons/native/IconArrowRight.js +3 -2
- package/dist/native/icons/native/IconArrowUp.js +3 -2
- package/dist/native/icons/native/IconCheck.js +3 -2
- package/dist/native/icons/native/IconChevronDown.js +3 -2
- package/dist/native/icons/native/IconChevronLeft.js +3 -2
- package/dist/native/icons/native/IconChevronRight.js +3 -2
- package/dist/native/icons/native/IconChevronUp.js +3 -2
- package/dist/native/icons/native/IconClockPlus.js +9 -0
- package/dist/native/icons/native/IconMinus.js +3 -2
- package/dist/native/icons/native/IconPlus.js +4 -3
- package/dist/native/icons/native/IconSwapHorizontal.js +1 -1
- package/dist/native/icons/native/IconSwapVertical.js +1 -1
- package/dist/native/icons/native/IconX.js +4 -3
- package/dist/native/icons/native/index.js +1 -0
- package/dist/native/illustrations/native/IllustrationPeopleGray.js +8 -0
- package/dist/native/illustrations/native/IllustrationPopcornFull.js +8 -0
- package/dist/native/illustrations/native/IllustrationPopcornPayback.js +8 -0
- package/dist/native/illustrations/native/IllustrationWrite.js +8 -0
- package/dist/native/illustrations/native/index.js +4 -0
- package/dist/native/index.native.js +1 -0
- package/dist/native/tokens/radius.js +12 -0
- package/dist/types/index.d.ts +48 -12
- package/dist/types-native/icons/native/IconArrowDown.d.ts +2 -2
- package/dist/types-native/icons/native/IconArrowLeft.d.ts +2 -2
- package/dist/types-native/icons/native/IconArrowRight.d.ts +2 -2
- package/dist/types-native/icons/native/IconArrowUp.d.ts +2 -2
- package/dist/types-native/icons/native/IconCheck.d.ts +2 -2
- package/dist/types-native/icons/native/IconChevronDown.d.ts +2 -2
- package/dist/types-native/icons/native/IconChevronLeft.d.ts +2 -2
- package/dist/types-native/icons/native/IconChevronRight.d.ts +2 -2
- package/dist/types-native/icons/native/IconChevronUp.d.ts +2 -2
- package/dist/types-native/icons/native/IconClockPlus.d.ts +2 -0
- package/dist/types-native/icons/native/IconMinus.d.ts +2 -2
- package/dist/types-native/icons/native/IconPlus.d.ts +2 -2
- package/dist/types-native/icons/native/IconX.d.ts +2 -2
- package/dist/types-native/icons/native/index.d.ts +1 -0
- package/dist/types-native/illustrations/native/IllustrationPeopleGray.d.ts +2 -0
- package/dist/types-native/illustrations/native/IllustrationPopcornFull.d.ts +2 -0
- package/dist/types-native/illustrations/native/IllustrationPopcornPayback.d.ts +2 -0
- package/dist/types-native/illustrations/native/IllustrationWrite.d.ts +2 -0
- package/dist/types-native/illustrations/native/index.d.ts +4 -0
- package/dist/types-native/index.native.d.ts +2 -1
- package/dist/types-native/tokens/radius.d.ts +12 -0
- package/dist/types-native/types/icon.native.d.ts +4 -0
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export default function IconChevronUp({ size, color, variant: _variant, ...props }:
|
|
1
|
+
import type { IIconLineWeightProps } from '../../types/icon.native';
|
|
2
|
+
export default function IconChevronUp({ size, color, variant: _variant, thick, ...props }: IIconLineWeightProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export default function IconMinus({ size, color, variant: _variant, ...props }:
|
|
1
|
+
import type { IIconLineWeightProps } from '../../types/icon.native';
|
|
2
|
+
export default function IconMinus({ size, color, variant: _variant, thick, ...props }: IIconLineWeightProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export default function IconPlus({ size, color, variant: _variant, ...props }:
|
|
1
|
+
import type { IIconLineWeightProps } from '../../types/icon.native';
|
|
2
|
+
export default function IconPlus({ size, color, variant: _variant, thick, ...props }: IIconLineWeightProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export default function IconX({ size, color, variant: _variant, ...props }:
|
|
1
|
+
import type { IIconLineWeightProps } from '../../types/icon.native';
|
|
2
|
+
export default function IconX({ size, color, variant: _variant, thick, ...props }: IIconLineWeightProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,6 +29,7 @@ export { default as IconChevronRightDouble } from './IconChevronRightDouble';
|
|
|
29
29
|
export { default as IconChevronUp } from './IconChevronUp';
|
|
30
30
|
export { default as IconChevronUpDown } from './IconChevronUpDown';
|
|
31
31
|
export { default as IconClock } from './IconClock';
|
|
32
|
+
export { default as IconClockPlus } from './IconClockPlus';
|
|
32
33
|
export { default as IconCoffee } from './IconCoffee';
|
|
33
34
|
export { default as IconCopy } from './IconCopy';
|
|
34
35
|
export { default as IconCreditCard } from './IconCreditCard';
|
|
@@ -32,8 +32,11 @@ export { default as IllustrationMoneybag } from './IllustrationMoneybag';
|
|
|
32
32
|
export { default as IllustrationNoCircle } from './IllustrationNoCircle';
|
|
33
33
|
export { default as IllustrationOffice } from './IllustrationOffice';
|
|
34
34
|
export { default as IllustrationPeople } from './IllustrationPeople';
|
|
35
|
+
export { default as IllustrationPeopleGray } from './IllustrationPeopleGray';
|
|
35
36
|
export { default as IllustrationPerson } from './IllustrationPerson';
|
|
36
37
|
export { default as IllustrationPopcorn } from './IllustrationPopcorn';
|
|
38
|
+
export { default as IllustrationPopcornFull } from './IllustrationPopcornFull';
|
|
39
|
+
export { default as IllustrationPopcornPayback } from './IllustrationPopcornPayback';
|
|
37
40
|
export { default as IllustrationPopdeal } from './IllustrationPopdeal';
|
|
38
41
|
export { default as IllustrationPoppass } from './IllustrationPoppass';
|
|
39
42
|
export { default as IllustrationSales } from './IllustrationSales';
|
|
@@ -43,6 +46,7 @@ export { default as IllustrationShoppingbag } from './IllustrationShoppingbag';
|
|
|
43
46
|
export { default as IllustrationSoda } from './IllustrationSoda';
|
|
44
47
|
export { default as IllustrationTicket } from './IllustrationTicket';
|
|
45
48
|
export { default as IllustrationVendingmachine } from './IllustrationVendingmachine';
|
|
49
|
+
export { default as IllustrationWrite } from './IllustrationWrite';
|
|
46
50
|
export { default as IllustrationYesCircle } from './IllustrationYesCircle';
|
|
47
51
|
export { default as IllustrationYesSpike } from './IllustrationYesSpike';
|
|
48
52
|
export { default as IllustrationYoutube } from './IllustrationYoutube';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './tokens/colors';
|
|
2
|
-
export
|
|
2
|
+
export * from './tokens/radius';
|
|
3
|
+
export type { IIconProps, IIconFilledOnlyProps, IIconLineOnlyProps, IIconLineWeightProps, } from './types/icon.native';
|
|
3
4
|
export type { IIllustrationProps } from './types/illustration.native';
|
|
4
5
|
export type { IBrandIconProps } from './types/brand.native';
|
|
5
6
|
export * from './icons/native';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const BorderRadius0 = 0;
|
|
5
|
+
export declare const BorderRadius50 = 2;
|
|
6
|
+
export declare const BorderRadius100 = 4;
|
|
7
|
+
export declare const BorderRadius150 = 6;
|
|
8
|
+
export declare const BorderRadius200 = 8;
|
|
9
|
+
export declare const BorderRadius300 = 12;
|
|
10
|
+
export declare const BorderRadius400 = 16;
|
|
11
|
+
export declare const BorderRadius500 = 20;
|
|
12
|
+
export declare const BorderRadius1000 = 9999;
|
|
@@ -12,4 +12,8 @@ export interface IIconFilledOnlyProps extends IIconBaseProps {
|
|
|
12
12
|
export interface IIconLineOnlyProps extends IIconBaseProps {
|
|
13
13
|
variant?: 'line';
|
|
14
14
|
}
|
|
15
|
+
export interface IIconLineWeightProps extends IIconBaseProps {
|
|
16
|
+
variant?: 'line';
|
|
17
|
+
thick?: boolean;
|
|
18
|
+
}
|
|
15
19
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pop-ui/foundation",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.12",
|
|
5
5
|
"main": "./dist/foundation.umd.cjs",
|
|
6
6
|
"module": "./dist/foundation.js",
|
|
7
7
|
"types": "./dist/types/index.d.ts",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"build": "yarn generate:native && vite build && yarn build:native",
|
|
39
39
|
"build:native": "tsc -p tsconfig.native.json",
|
|
40
40
|
"generate:native": "tsx scripts/generate-native.ts",
|
|
41
|
-
"typecheck": "tsc",
|
|
41
|
+
"typecheck": "yarn generate:native && tsc",
|
|
42
42
|
"token-transform": "token-transformer token.json transformed-token.json --expandTypography --expandShadow --expandCompotision --expandBorder",
|
|
43
|
-
"token-build": "style-dictionary build --config config.
|
|
43
|
+
"token-build": "style-dictionary build --config config.js"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@mantine/core": "^8.3.6",
|
|
47
47
|
"@mantine/hooks": "^8.3.6",
|
|
48
|
-
"react": "^19.
|
|
49
|
-
"react-dom": "^19.
|
|
48
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
49
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
50
50
|
"react-native-svg": ">=13.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|