@indra-inter/neobrutalism-components 0.1.0 → 0.1.2
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/README.md +25 -2
- package/dist/module/components/accordion/accordion.js +8 -0
- package/dist/module/components/accordion/accordion.js.map +1 -1
- package/dist/module/components/app-bar/app-bar.js +23 -2
- package/dist/module/components/app-bar/app-bar.js.map +1 -1
- package/dist/module/components/avatar/avatar.js +15 -7
- package/dist/module/components/avatar/avatar.js.map +1 -1
- package/dist/module/components/badge/badge.js +10 -4
- package/dist/module/components/badge/badge.js.map +1 -1
- package/dist/module/components/bottom-navigation/bottom-navigation.js +9 -1
- package/dist/module/components/bottom-navigation/bottom-navigation.js.map +1 -1
- package/dist/module/components/bottom-sheet/bottom-sheet.js +12 -1
- package/dist/module/components/bottom-sheet/bottom-sheet.js.map +1 -1
- package/dist/module/components/button/button.js +8 -5
- package/dist/module/components/button/button.js.map +1 -1
- package/dist/module/components/calendar/calendar.js +7 -1
- package/dist/module/components/calendar/calendar.js.map +1 -1
- package/dist/module/components/call-item/call-item.js +5 -0
- package/dist/module/components/call-item/call-item.js.map +1 -1
- package/dist/module/components/card/card.js +29 -17
- package/dist/module/components/card/card.js.map +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js +5 -0
- package/dist/module/components/chat-list-item/chat-list-item.js.map +1 -1
- package/dist/module/components/checkbox/checkbox.js +4 -0
- package/dist/module/components/checkbox/checkbox.js.map +1 -1
- package/dist/module/components/dialog/dialog.js +14 -1
- package/dist/module/components/dialog/dialog.js.map +1 -1
- package/dist/module/components/dropdown/dropdown-menu.js +10 -3
- package/dist/module/components/dropdown/dropdown-menu.js.map +1 -1
- package/dist/module/components/dropdown/dropdown.js +13 -4
- package/dist/module/components/dropdown/dropdown.js.map +1 -1
- package/dist/module/components/icon-button/icon-button.js +7 -1
- package/dist/module/components/icon-button/icon-button.js.map +1 -1
- package/dist/module/components/input/currency-input.js +6 -0
- package/dist/module/components/input/currency-input.js.map +1 -1
- package/dist/module/components/input/input.js +11 -0
- package/dist/module/components/input/input.js.map +1 -1
- package/dist/module/components/input/otp-input.js +6 -0
- package/dist/module/components/input/otp-input.js.map +1 -1
- package/dist/module/components/input/password-input.js +6 -0
- package/dist/module/components/input/password-input.js.map +1 -1
- package/dist/module/components/input/phone-input.js +6 -0
- package/dist/module/components/input/phone-input.js.map +1 -1
- package/dist/module/components/input/url-input.js +6 -0
- package/dist/module/components/input/url-input.js.map +1 -1
- package/dist/module/components/progress/progress.js +5 -0
- package/dist/module/components/progress/progress.js.map +1 -1
- package/dist/module/components/shared/styling.js +27 -0
- package/dist/module/components/shared/styling.js.map +1 -0
- package/dist/module/components/skeleton/skeleton.js +6 -1
- package/dist/module/components/skeleton/skeleton.js.map +1 -1
- package/dist/module/components/switch/switch.js +4 -0
- package/dist/module/components/switch/switch.js.map +1 -1
- package/dist/module/components/tabs/tabs.js +10 -11
- package/dist/module/components/tabs/tabs.js.map +1 -1
- package/dist/module/components/toast/toast.js +6 -1
- package/dist/module/components/toast/toast.js.map +1 -1
- package/dist/module/index.js.map +1 -1
- package/dist/typescript/components/accordion/accordion.d.ts +5 -0
- package/dist/typescript/components/accordion/accordion.d.ts.map +1 -1
- package/dist/typescript/components/app-bar/app-bar.d.ts +7 -0
- package/dist/typescript/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/typescript/components/avatar/avatar.d.ts +7 -2
- package/dist/typescript/components/avatar/avatar.d.ts.map +1 -1
- package/dist/typescript/components/badge/badge.d.ts +5 -2
- package/dist/typescript/components/badge/badge.d.ts.map +1 -1
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts +6 -1
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts.map +1 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts +4 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts.map +1 -1
- package/dist/typescript/components/button/button.d.ts +4 -2
- package/dist/typescript/components/button/button.d.ts.map +1 -1
- package/dist/typescript/components/calendar/calendar.d.ts +5 -6
- package/dist/typescript/components/calendar/calendar.d.ts.map +1 -1
- package/dist/typescript/components/call-item/call-item.d.ts +2 -0
- package/dist/typescript/components/call-item/call-item.d.ts.map +1 -1
- package/dist/typescript/components/card/card.d.ts +8 -8
- package/dist/typescript/components/card/card.d.ts.map +1 -1
- package/dist/typescript/components/chat-list-item/chat-list-item.d.ts +2 -0
- package/dist/typescript/components/chat-list-item/chat-list-item.d.ts.map +1 -1
- package/dist/typescript/components/checkbox/checkbox.d.ts +1 -0
- package/dist/typescript/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/typescript/components/dialog/dialog.d.ts +4 -1
- package/dist/typescript/components/dialog/dialog.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts +5 -1
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/dropdown.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/types.d.ts +4 -0
- package/dist/typescript/components/dropdown/types.d.ts.map +1 -1
- package/dist/typescript/components/icon-button/icon-button.d.ts +4 -1
- package/dist/typescript/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/typescript/components/input/currency-input.d.ts.map +1 -1
- package/dist/typescript/components/input/input.d.ts +3 -0
- package/dist/typescript/components/input/input.d.ts.map +1 -1
- package/dist/typescript/components/input/otp-input.d.ts +3 -0
- package/dist/typescript/components/input/otp-input.d.ts.map +1 -1
- package/dist/typescript/components/input/password-input.d.ts.map +1 -1
- package/dist/typescript/components/input/phone-input.d.ts.map +1 -1
- package/dist/typescript/components/input/url-input.d.ts.map +1 -1
- package/dist/typescript/components/progress/progress.d.ts +2 -0
- package/dist/typescript/components/progress/progress.d.ts.map +1 -1
- package/dist/typescript/components/shared/styling.d.ts +13 -0
- package/dist/typescript/components/shared/styling.d.ts.map +1 -0
- package/dist/typescript/components/skeleton/skeleton.d.ts +3 -1
- package/dist/typescript/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/typescript/components/switch/switch.d.ts +1 -0
- package/dist/typescript/components/switch/switch.d.ts.map +1 -1
- package/dist/typescript/components/tabs/tabs.d.ts +7 -2
- package/dist/typescript/components/tabs/tabs.d.ts.map +1 -1
- package/dist/typescript/components/toast/toast.d.ts +4 -1
- package/dist/typescript/components/toast/toast.d.ts.map +1 -1
- package/dist/typescript/index.d.ts +5 -4
- package/dist/typescript/index.d.ts.map +1 -1
- package/package.json +4 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type Rounded } from '../shared/styling.js';
|
|
3
4
|
export type IconButtonVariant = 'default' | 'primary' | 'destructive' | 'ghost';
|
|
4
|
-
export type IconButtonRounded =
|
|
5
|
+
export type IconButtonRounded = Rounded;
|
|
5
6
|
export interface IconButtonProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
6
7
|
accessibilityLabel: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
containerClassName?: string;
|
|
7
10
|
containerStyle?: StyleProp<ViewStyle>;
|
|
8
11
|
icon: ReactNode;
|
|
9
12
|
label?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components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,+BAsEjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currency-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/currency-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"currency-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/currency-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAI3D,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,kBACf,SAAQ,IAAI,CACV,UAAU,EACR,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,oBAAoB,CACvB;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa,0GAoCzB,CAAC"}
|
|
@@ -7,9 +7,12 @@ export interface InputProps extends TextInputProps {
|
|
|
7
7
|
* Android keeps its hard shadow static to avoid native TextInput focus loss.
|
|
8
8
|
*/
|
|
9
9
|
changeShadowOnFocus?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
containerClassName?: string;
|
|
10
12
|
containerStyle?: StyleProp<ViewStyle>;
|
|
11
13
|
error?: string;
|
|
12
14
|
fieldStyle?: StyleProp<ViewStyle>;
|
|
15
|
+
fieldClassName?: string;
|
|
13
16
|
helperText?: string;
|
|
14
17
|
label?: string;
|
|
15
18
|
leadingAddon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAIL,SAAS,EAET,K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,MAAM,KAAK,kGA6JhB,CAAC;AAQH,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,UAAU,EAAE,YAAY,GAAG,WAAW,GAAG,eAAe,CAAC;IACtE,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,qGA2BnB,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { TextInput, type StyleProp, type TextInputProps, type TextStyle, type ViewStyle } from 'react-native';
|
|
2
2
|
export interface OtpInputProps extends Omit<TextInputProps, 'autoComplete' | 'defaultValue' | 'keyboardType' | 'maxLength' | 'onChangeText' | 'secureTextEntry' | 'style' | 'textContentType' | 'value'> {
|
|
3
3
|
cellCount?: number;
|
|
4
|
+
cellClassName?: string;
|
|
4
5
|
cellStyle?: StyleProp<ViewStyle>;
|
|
5
6
|
/**
|
|
6
7
|
* On iOS, changes the hard-shadow color to the primary token for the
|
|
7
8
|
* focused cell. Android keeps the hard shadow static to preserve focus.
|
|
8
9
|
*/
|
|
9
10
|
changeShadowOnFocus?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
containerClassName?: string;
|
|
10
13
|
containerStyle?: StyleProp<ViewStyle>;
|
|
11
14
|
defaultValue?: string;
|
|
12
15
|
error?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otp-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/otp-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"otp-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/otp-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,MAAM,WAAW,aACf,SAAQ,IAAI,CACV,cAAc,EACZ,cAAc,GACd,cAAc,GACd,cAAc,GACd,WAAW,GACX,cAAc,GACd,iBAAiB,GACjB,OAAO,GACP,iBAAiB,GACjB,OAAO,CACV;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,qGAkJnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/password-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAA+B,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"password-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/password-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAA+B,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,kBACf,SAAQ,IAAI,CACV,UAAU,EACR,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,oBAAoB,CACvB;IACD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,0GA4DzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/phone-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"phone-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/phone-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,UAAU,EAAE,cAAc,GAAG,mBAAmB,CAAC;IAC9D,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAID,eAAO,MAAM,UAAU,uGAgDtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/url-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"url-input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/url-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAI3D,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAS,CAAC;AAEjD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC;IACrE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,qGA8BnB,CAAC"}
|
|
@@ -2,6 +2,8 @@ import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
|
2
2
|
export type ProgressType = 'bar' | 'circular';
|
|
3
3
|
export type ProgressProps = {
|
|
4
4
|
accessibilityLabel?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
containerClassName?: string;
|
|
5
7
|
barHeight?: number;
|
|
6
8
|
containerStyle?: StyleProp<ViewStyle>;
|
|
7
9
|
indicatorStyle?: StyleProp<ViewStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../src/components/progress/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../src/components/progress/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOtG,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,UAAU,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAKF,wBAAgB,QAAQ,CAAC,EACvB,kBAAkB,EAClB,SAA8B,EAC9B,cAAc,EACd,cAAc,EACd,UAAU,EACV,GAAG,EACH,SAAS,EACT,IAA4B,EAC5B,KAAK,EACL,UAAU,EACV,IAAY,EACZ,KAAK,GACN,EAAE,aAAa,+BA+Cf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
export type Rounded = 'sharp' | 'rounded' | 'pill';
|
|
3
|
+
export type CornerRadius = {
|
|
4
|
+
topLeft?: number;
|
|
5
|
+
topRight?: number;
|
|
6
|
+
bottomRight?: number;
|
|
7
|
+
bottomLeft?: number;
|
|
8
|
+
};
|
|
9
|
+
export type Radius = number | CornerRadius;
|
|
10
|
+
export type ShadowVariant = 'default' | 'primary' | 'secondary' | 'destructive' | 'warning' | 'success' | 'info';
|
|
11
|
+
export declare function resolveRoundedRadius(rounded: Rounded | undefined, fallback: number): number;
|
|
12
|
+
export declare function resolveRadiusStyle(radius: Radius | undefined, rounded: Rounded | undefined, fallback: number): ViewStyle;
|
|
13
|
+
//# sourceMappingURL=styling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,SAAS,GACT,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,MAAM,CAUR;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,SAAS,CAeX"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type Rounded } from '../shared/styling.js';
|
|
2
3
|
export type SkeletonType = 'chat' | 'list' | 'textBlock';
|
|
3
|
-
export type SkeletonRounded =
|
|
4
|
+
export type SkeletonRounded = Rounded;
|
|
4
5
|
export interface SkeletonProps extends Omit<ViewProps, 'style'> {
|
|
5
6
|
animated?: boolean;
|
|
6
7
|
animationDuration?: number;
|
|
8
|
+
className?: string;
|
|
7
9
|
radius?: number;
|
|
8
10
|
rounded?: SkeletonRounded;
|
|
9
11
|
shadow?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;AACzD,MAAM,MAAM,eAAe,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAwB,KAAK,OAAO,EAAE,MAAM,sBAAmB,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;AACzD,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;AAEtC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAiBD,wBAAgB,QAAQ,CAAC,EACvB,kBAAkB,EAClB,QAAe,EACf,iBAAuB,EACvB,MAAM,EACN,OAAiB,EACjB,MAAa,EACb,WAAW,EACX,YAAY,EACZ,KAAK,EACL,IAAkB,EAClB,GAAG,KAAK,EACT,EAAE,aAAa,+BA0Df"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type PressableProps, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
import type { SelectionControlLabelPosition } from '../checkbox/checkbox.js';
|
|
3
3
|
export interface SwitchProps extends Omit<PressableProps, 'children' | 'onPress' | 'style'> {
|
|
4
|
+
className?: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
label?: string;
|
|
6
7
|
labelPosition?: SelectionControlLabelPosition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAsB,CAAC;AAE1E,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,6BAA6B,CAAC;IAC9C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAID,wBAAgB,MAAM,CAAC,EACrB,kBAAkB,EAClB,WAAW,EACX,QAAQ,EACR,KAAK,EACL,aAAuB,EACvB,aAAa,EACb,KAAK,EACL,KAAa,EACb,GAAG,KAAK,EACT,EAAE,WAAW,+BAiEb"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type Rounded } from '../shared/styling.js';
|
|
3
4
|
export type TabItem = {
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
label: string;
|
|
@@ -9,13 +10,16 @@ export type TabItem = {
|
|
|
9
10
|
};
|
|
10
11
|
export type TabsLayout = 'equal' | 'scroll';
|
|
11
12
|
export type TabsBorder = 'all' | 'bottom' | 'none';
|
|
12
|
-
export type TabsRounded =
|
|
13
|
+
export type TabsRounded = Rounded;
|
|
13
14
|
export type TabsItemRounded = TabsRounded;
|
|
14
15
|
export type TabsVariant = 'primary' | 'secondary' | 'destructive' | 'warning' | 'success' | 'info' | 'neutral';
|
|
15
16
|
export type TabsProps = {
|
|
16
17
|
accessibilityLabel?: string;
|
|
17
18
|
border?: TabsBorder;
|
|
19
|
+
className?: string;
|
|
20
|
+
containerClassName?: string;
|
|
18
21
|
containerStyle?: StyleProp<ViewStyle>;
|
|
22
|
+
contentClassName?: string;
|
|
19
23
|
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
20
24
|
defaultValue?: string;
|
|
21
25
|
items: readonly TabItem[];
|
|
@@ -25,6 +29,7 @@ export type TabsProps = {
|
|
|
25
29
|
labelStyle?: StyleProp<TextStyle>;
|
|
26
30
|
layout?: TabsLayout;
|
|
27
31
|
onValueChange?: (value: string) => void;
|
|
32
|
+
radius?: number;
|
|
28
33
|
rounded?: TabsRounded;
|
|
29
34
|
selectedItemStyle?: StyleProp<ViewStyle>;
|
|
30
35
|
selectedLabelStyle?: StyleProp<TextStyle>;
|
|
@@ -33,5 +38,5 @@ export type TabsProps = {
|
|
|
33
38
|
value?: string;
|
|
34
39
|
variant?: TabsVariant;
|
|
35
40
|
};
|
|
36
|
-
export declare function Tabs({ accessibilityLabel, border, containerStyle, contentContainerStyle, defaultValue, itemRadius, itemRounded, items, itemStyle, labelStyle, layout, onValueChange, rounded, selectedItemStyle, selectedLabelStyle, shadow, style, value, variant, }: TabsProps): import("react").JSX.Element;
|
|
41
|
+
export declare function Tabs({ accessibilityLabel, border, containerStyle, contentContainerStyle, defaultValue, itemRadius, itemRounded, items, itemStyle, labelStyle, layout, onValueChange, radius, rounded, selectedItemStyle, selectedLabelStyle, shadow, style, value, variant, }: TabsProps): import("react").JSX.Element;
|
|
37
42
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAA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
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
1
2
|
export type ToastType = 'success' | 'error' | 'info' | 'note';
|
|
2
3
|
export type ToastAction = {
|
|
3
4
|
label: string;
|
|
@@ -5,11 +6,13 @@ export type ToastAction = {
|
|
|
5
6
|
};
|
|
6
7
|
export type ToastProps = {
|
|
7
8
|
action?: ToastAction;
|
|
9
|
+
className?: string;
|
|
8
10
|
description: string;
|
|
9
11
|
onOpenChange: (open: boolean) => void;
|
|
10
12
|
open: boolean;
|
|
11
13
|
title: string;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
12
15
|
type?: ToastType;
|
|
13
16
|
};
|
|
14
|
-
export declare function Toast({ action, description, onOpenChange, open, title, type, }: ToastProps): import("react").JSX.Element;
|
|
17
|
+
export declare function Toast({ action, description, onOpenChange, open, style, title, type, }: ToastProps): import("react").JSX.Element;
|
|
15
18
|
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AASF,wBAAgB,KAAK,CAAC,EACpB,MAAM,EACN,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,IAAgB,GACjB,EAAE,UAAU,+BAoEZ"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { Button, type ButtonRounded, type ButtonProps, type ButtonSize, type ButtonVariant, } from './components/button/button.js';
|
|
2
2
|
export { IconButton, type IconButtonProps, type IconButtonRounded, type IconButtonVariant, } from './components/icon-button/icon-button.js';
|
|
3
3
|
export { createTheme, theme, type Theme, type ThemeMode, } from './theme/theme.js';
|
|
4
|
+
export type { CornerRadius, Radius, Rounded, ShadowVariant, } from './components/shared/styling.js';
|
|
4
5
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/theme-provider.js';
|
|
5
6
|
export { defaultDesignTokenModes, designTokens, } from './theme/design-tokens.generated.js';
|
|
6
|
-
export { Badge, type BadgeProps, type BadgeRounded, type BadgeSize, type BadgeType, } from './components/badge/badge.js';
|
|
7
|
+
export { Badge, type BadgeProps, type BadgeRounded, type BadgeSize, type BadgeType, type BadgeVariant, } from './components/badge/badge.js';
|
|
7
8
|
export { Input, TextArea, type InputProps, type TextAreaProps, } from './components/input/input.js';
|
|
8
9
|
export { PasswordInput, type PasswordInputProps, } from './components/input/password-input.js';
|
|
9
10
|
export { CurrencyInput, type CurrencyInputProps, } from './components/input/currency-input.js';
|
|
@@ -12,17 +13,17 @@ export { PinCodeField, type PinCodeFieldProps, type PinCodeFieldRounded, } from
|
|
|
12
13
|
export { PhoneInput, type PhoneCountry, type PhoneInputProps, } from './components/input/phone-input.js';
|
|
13
14
|
export { UrlInput, type UrlInputProps } from './components/input/url-input.js';
|
|
14
15
|
export { Dropdown, type DropdownOption, type DropdownOptionState, type DropdownProps, type DropdownType, type MultiSelectDropdownProps, type SingleDropdownProps, } from './components/dropdown/dropdown.js';
|
|
15
|
-
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type DropdownMenuProps, type DropdownMenuShadowVariant, type DropdownMenuSide, type DropdownMenuVariant, } from './components/dropdown/dropdown-menu.js';
|
|
16
|
+
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type DropdownMenuMode, type DropdownMenuProps, type DropdownMenuShadowVariant, type DropdownMenuSide, type DropdownMenuVariant, } from './components/dropdown/dropdown-menu.js';
|
|
16
17
|
export { Checkbox, type CheckboxProps, type SelectionControlLabelPosition, } from './components/checkbox/checkbox.js';
|
|
17
18
|
export { Radio, type RadioProps } from './components/radio/radio.js';
|
|
18
19
|
export { Switch, type SwitchProps } from './components/switch/switch.js';
|
|
19
|
-
export { Avatar, type AvatarRounded, type AvatarProps, type AvatarSize, type AvatarVariant, } from './components/avatar/avatar.js';
|
|
20
|
+
export { Avatar, type AvatarRounded, type AvatarProps, type AvatarSize, type AvatarMode, type AvatarVariant, } from './components/avatar/avatar.js';
|
|
20
21
|
export { Toast, type ToastAction, type ToastProps, type ToastType, } from './components/toast/toast.js';
|
|
21
22
|
export { ToastProvider, useToast, type ToastOptions, type ToastProviderProps, } from './components/toast/toast-provider.js';
|
|
22
23
|
export { ConfirmDialog, Dialog, DialogBody, DialogFooter, DialogHeader, DialogProvider, type ConfirmDialogProps, type DialogHeaderProps, type DialogProps, } from './components/dialog/dialog.js';
|
|
23
24
|
export { BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, type BottomSheetAnimation, type BottomSheetHeaderProps, type BottomSheetProps, } from './components/bottom-sheet/bottom-sheet.js';
|
|
24
25
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps, type CardRadius, type CardShadowVariant, } from './components/card/card.js';
|
|
25
|
-
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type TabsItemRounded, type TabsVariant, } from './components/tabs/tabs.js';
|
|
26
|
+
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type TabsRounded, type TabsItemRounded, type TabsVariant, } from './components/tabs/tabs.js';
|
|
26
27
|
export { ListItem, type ListItemProps, type ListItemTrailingAction, } from './components/list-item/list-item.js';
|
|
27
28
|
export { Divider, type DividerInset, type DividerProps } from './components/divider/divider.js';
|
|
28
29
|
export { CallItem, type CallItemProps, type CallItemType, } from './components/call-item/call-item.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,yCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,KAAK,EACL,KAAK,KAAK,EACV,KAAK,SAAS,GACf,MAAM,kBAAe,CAAC;AACvB,OAAO,EACL,aAAa,EACb,QAAQ,EACR,KAAK,kBAAkB,GACxB,MAAM,2BAAwB,CAAC;AAChC,OAAO,EACL,uBAAuB,EACvB,YAAY,GACb,MAAM,oCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACv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,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,MAAM,2BAAwB,CAAC;AAChC,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,iCAA8B,CAAC;AAC7F,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,+CAA4C,CAAC;AACpD,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,GACjB,MAAM,iCAA8B,CAAC;AACtC,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,qDAAkD,CAAC;AAC1D,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indra-inter/neobrutalism-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
"test:input-addon-padding": "node ./scripts/test-input-addon-padding.mjs",
|
|
52
52
|
"test:list-item-nativewind": "node ./scripts/test-list-item-nativewind.mjs",
|
|
53
53
|
"test:pin-code-field": "node ./scripts/test-pin-code-field.mjs",
|
|
54
|
+
"test:public-styling-contract": "node ./scripts/test-public-styling-contract.mjs",
|
|
55
|
+
"test:shared-styling": "node ./scripts/test-shared-styling.mjs",
|
|
56
|
+
"test:styling-aliases": "node ./scripts/test-styling-aliases.mjs",
|
|
54
57
|
"test:tabs-figma-update": "node ./scripts/test-tabs-figma-update.mjs",
|
|
55
58
|
"prepare": "pnpm build",
|
|
56
59
|
"typecheck": "tsc --noEmit"
|