@indra-inter/neobrutalism-components 0.1.4 → 0.2.0
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 +98 -127
- package/dist/module/components/accordion/accordion.js +2 -13
- package/dist/module/components/accordion/accordion.js.map +1 -1
- package/dist/module/components/app-bar/app-bar.js +3 -5
- package/dist/module/components/app-bar/app-bar.js.map +1 -1
- package/dist/module/components/avatar/avatar.js +10 -11
- package/dist/module/components/avatar/avatar.js.map +1 -1
- package/dist/module/components/badge/badge.js +4 -5
- package/dist/module/components/badge/badge.js.map +1 -1
- package/dist/module/components/bottom-navigation/bottom-navigation.js +2 -15
- package/dist/module/components/bottom-navigation/bottom-navigation.js.map +1 -1
- package/dist/module/components/bottom-sheet/bottom-sheet.js +10 -4
- package/dist/module/components/bottom-sheet/bottom-sheet.js.map +1 -1
- package/dist/module/components/button/button.js +6 -16
- package/dist/module/components/button/button.js.map +1 -1
- package/dist/module/components/calendar/calendar.js.map +1 -1
- package/dist/module/components/card/card.js +3 -19
- package/dist/module/components/card/card.js.map +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js.map +1 -1
- package/dist/module/components/dialog/dialog.js +1 -1
- package/dist/module/components/dialog/dialog.js.map +1 -1
- package/dist/module/components/dropdown/dropdown-menu.js +4 -17
- package/dist/module/components/dropdown/dropdown-menu.js.map +1 -1
- package/dist/module/components/dropdown/dropdown.js +1 -1
- package/dist/module/components/dropdown/dropdown.js.map +1 -1
- package/dist/module/components/icon-button/icon-button.js +3 -3
- package/dist/module/components/icon-button/icon-button.js.map +1 -1
- package/dist/module/components/pin-code-field/pin-code-field.js +3 -2
- package/dist/module/components/pin-code-field/pin-code-field.js.map +1 -1
- package/dist/module/components/shared/styling.js +12 -0
- package/dist/module/components/shared/styling.js.map +1 -1
- package/dist/module/components/skeleton/skeleton.js +3 -3
- package/dist/module/components/skeleton/skeleton.js.map +1 -1
- package/dist/module/components/tabs/tabs.js.map +1 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/theme/design-tokens.generated.js +5 -5
- package/dist/module/theme/design-tokens.generated.js.map +1 -1
- package/dist/module/theme/nativewind-tokens.generated.js +4 -4
- package/dist/module/theme/nativewind-tokens.generated.js.map +1 -1
- package/dist/typescript/components/accordion/accordion.d.ts +2 -3
- package/dist/typescript/components/accordion/accordion.d.ts.map +1 -1
- package/dist/typescript/components/app-bar/app-bar.d.ts +0 -2
- package/dist/typescript/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/typescript/components/avatar/avatar.d.ts +4 -7
- package/dist/typescript/components/avatar/avatar.d.ts.map +1 -1
- package/dist/typescript/components/badge/badge.d.ts +5 -8
- package/dist/typescript/components/badge/badge.d.ts.map +1 -1
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts +3 -5
- 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 +2 -3
- package/dist/typescript/components/button/button.d.ts.map +1 -1
- package/dist/typescript/components/calendar/calendar.d.ts +3 -4
- package/dist/typescript/components/calendar/calendar.d.ts.map +1 -1
- package/dist/typescript/components/card/card.d.ts +3 -7
- package/dist/typescript/components/card/card.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts +3 -7
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts.map +1 -1
- package/dist/typescript/components/icon-button/icon-button.d.ts +4 -5
- package/dist/typescript/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts +3 -2
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts.map +1 -1
- package/dist/typescript/components/shared/styling.d.ts +2 -0
- package/dist/typescript/components/shared/styling.d.ts.map +1 -1
- package/dist/typescript/components/skeleton/skeleton.d.ts +4 -5
- package/dist/typescript/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/typescript/components/tabs/tabs.d.ts +2 -4
- package/dist/typescript/components/tabs/tabs.d.ts.map +1 -1
- package/dist/typescript/index.d.ts +9 -9
- package/dist/typescript/index.d.ts.map +1 -1
- package/dist/typescript/theme/design-tokens.generated.d.ts +5 -5
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts +4 -4
- package/nativewind.css +2 -2
- package/package.json +3 -1
- package/tokens.css +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Button, type
|
|
2
|
-
export { IconButton, type IconButtonProps, type
|
|
1
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, } from './components/button/button.js';
|
|
2
|
+
export { IconButton, type IconButtonProps, type IconButtonVariant, } from './components/icon-button/icon-button.js';
|
|
3
3
|
export { createTheme, createNativeWindVariables, theme, type Theme, type ThemeMode, type ThemeStatus, type ThemeVariant, } from './theme/theme.js';
|
|
4
4
|
export type { CornerRadius, Radius, Rounded, ShadowVariant, } from './components/shared/styling.js';
|
|
5
5
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/theme-provider.js';
|
|
6
6
|
export { NativeWindThemeProvider, type NativeWindThemeProviderProps, } from './theme/nativewind-theme-provider.js';
|
|
7
7
|
export { defaultDesignTokenModes, designTokens, } from './theme/design-tokens.generated.js';
|
|
8
|
-
export { Badge, type BadgeProps, type
|
|
8
|
+
export { Badge, type BadgeProps, type BadgeSize, type BadgeVariant, } from './components/badge/badge.js';
|
|
9
9
|
export { Input, TextArea, type InputProps, type TextAreaProps, } from './components/input/input.js';
|
|
10
10
|
export { PasswordInput, type PasswordInputProps, } from './components/input/password-input.js';
|
|
11
11
|
export { CurrencyInput, type CurrencyInputProps, } from './components/input/currency-input.js';
|
|
@@ -14,17 +14,17 @@ export { PinCodeField, type PinCodeFieldProps, type PinCodeFieldRounded, } from
|
|
|
14
14
|
export { PhoneInput, type PhoneCountry, type PhoneInputProps, } from './components/input/phone-input.js';
|
|
15
15
|
export { UrlInput, type UrlInputProps } from './components/input/url-input.js';
|
|
16
16
|
export { Dropdown, type DropdownOption, type DropdownOptionState, type DropdownProps, type DropdownType, type MultiSelectDropdownProps, type SingleDropdownProps, } from './components/dropdown/dropdown.js';
|
|
17
|
-
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type
|
|
17
|
+
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type DropdownMenuProps, type DropdownMenuSide, type DropdownMenuVariant, } from './components/dropdown/dropdown-menu.js';
|
|
18
18
|
export { Checkbox, type CheckboxProps, type SelectionControlLabelPosition, } from './components/checkbox/checkbox.js';
|
|
19
19
|
export { Radio, type RadioProps } from './components/radio/radio.js';
|
|
20
20
|
export { Switch, type SwitchProps } from './components/switch/switch.js';
|
|
21
|
-
export { Avatar, type
|
|
21
|
+
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, } from './components/avatar/avatar.js';
|
|
22
22
|
export { Toast, type ToastAction, type ToastProps, type ToastType, } from './components/toast/toast.js';
|
|
23
23
|
export { ToastProvider, useToast, type ToastOptions, type ToastProviderProps, } from './components/toast/toast-provider.js';
|
|
24
24
|
export { ConfirmDialog, Dialog, DialogBody, DialogFooter, DialogHeader, DialogProvider, type ConfirmDialogProps, type DialogHeaderProps, type DialogProps, } from './components/dialog/dialog.js';
|
|
25
25
|
export { BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, type BottomSheetAnimation, type BottomSheetHeaderProps, type BottomSheetProps, } from './components/bottom-sheet/bottom-sheet.js';
|
|
26
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps,
|
|
27
|
-
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type
|
|
26
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps, } from './components/card/card.js';
|
|
27
|
+
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type TabsVariant, } from './components/tabs/tabs.js';
|
|
28
28
|
export { ListItem, type ListItemProps, type ListItemTrailingAction, } from './components/list-item/list-item.js';
|
|
29
29
|
export { Divider, type DividerInset, type DividerProps } from './components/divider/divider.js';
|
|
30
30
|
export { CallItem, type CallItemProps, type CallItemType, } from './components/call-item/call-item.js';
|
|
@@ -32,7 +32,7 @@ export { ChatListItem, type ChatListItemProps, type ChatListItemState, } from '.
|
|
|
32
32
|
export { Progress, type ProgressProps, type ProgressType, } from './components/progress/progress.js';
|
|
33
33
|
export { Accordion, type AccordionItem, type AccordionProps, type AccordionType, } from './components/accordion/accordion.js';
|
|
34
34
|
export { AppBar, type AppBarBottomProps, type AppBarContentProps, type AppBarProps, } from './components/app-bar/app-bar.js';
|
|
35
|
-
export { Calendar, type CalendarMode, type CalendarProps, type
|
|
35
|
+
export { Calendar, type CalendarMode, type CalendarProps, type CalendarRangeValue, } from './components/calendar/calendar.js';
|
|
36
36
|
export { BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, } from './components/bottom-navigation/bottom-navigation.js';
|
|
37
|
-
export { Skeleton, type SkeletonProps, type
|
|
37
|
+
export { Skeleton, type SkeletonProps, type SkeletonType, } from './components/skeleton/skeleton.js';
|
|
38
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,yCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,yBAAyB,EAC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ChC,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,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,YAAY,GAClB,MAAM,mCAAgC,CAAC"}
|
|
@@ -44,7 +44,7 @@ export declare const designTokens: {
|
|
|
44
44
|
readonly "decor-accent": "#01ABFF";
|
|
45
45
|
readonly "decor-ink": "#000000";
|
|
46
46
|
readonly "decor-paper": "#FFFFFF";
|
|
47
|
-
readonly
|
|
47
|
+
readonly overlay: "#00000080";
|
|
48
48
|
readonly "semantic-background": "#8D8D8D";
|
|
49
49
|
readonly "semantic-border": "#908F8F";
|
|
50
50
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -190,7 +190,7 @@ export declare const designTokens: {
|
|
|
190
190
|
readonly "decor-accent": "#01ABFF";
|
|
191
191
|
readonly "decor-ink": "#000000";
|
|
192
192
|
readonly "decor-paper": "#FFFFFF";
|
|
193
|
-
readonly
|
|
193
|
+
readonly overlay: "#00000080";
|
|
194
194
|
readonly "semantic-background": "#8D8D8D";
|
|
195
195
|
readonly "semantic-border": "#908F8F";
|
|
196
196
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -234,7 +234,7 @@ export declare const designTokens: {
|
|
|
234
234
|
readonly "decor-accent": "#FF7F50";
|
|
235
235
|
readonly "decor-ink": "#000000";
|
|
236
236
|
readonly "decor-paper": "#FFFFFF";
|
|
237
|
-
readonly
|
|
237
|
+
readonly overlay: "#00000080";
|
|
238
238
|
readonly "semantic-background": "#8D8D8D";
|
|
239
239
|
readonly "semantic-border": "#908F8F";
|
|
240
240
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -280,7 +280,7 @@ export declare const designTokens: {
|
|
|
280
280
|
readonly "decor-accent": "#5CA1C4";
|
|
281
281
|
readonly "decor-ink": "#000000";
|
|
282
282
|
readonly "decor-paper": "#FFFFFF";
|
|
283
|
-
readonly
|
|
283
|
+
readonly overlay: "#00000080";
|
|
284
284
|
readonly "semantic-background": "#272625";
|
|
285
285
|
readonly "semantic-border": "#515253";
|
|
286
286
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -324,7 +324,7 @@ export declare const designTokens: {
|
|
|
324
324
|
readonly "decor-accent": "#29130A";
|
|
325
325
|
readonly "decor-ink": "#000000";
|
|
326
326
|
readonly "decor-paper": "#FFFFFF";
|
|
327
|
-
readonly
|
|
327
|
+
readonly overlay: "#00000080";
|
|
328
328
|
readonly "semantic-background": "#272625";
|
|
329
329
|
readonly "semantic-border": "#515253";
|
|
330
330
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -4,7 +4,6 @@ export declare const nativeWindTokenVariables: {
|
|
|
4
4
|
readonly "--accent": "201.11 100% 89.41%";
|
|
5
5
|
readonly "--accent-foreground": "202.17 79.31% 11.37%";
|
|
6
6
|
readonly "--background": "0 0% 100%";
|
|
7
|
-
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
8
7
|
readonly "--border": "0 0% 0%";
|
|
9
8
|
readonly "--card": "0 0% 95.29%";
|
|
10
9
|
readonly "--card-foreground": "0 0% 3.92%";
|
|
@@ -19,6 +18,7 @@ export declare const nativeWindTokenVariables: {
|
|
|
19
18
|
readonly "--input": "0 0% 100%";
|
|
20
19
|
readonly "--muted": "0 0% 94.9%";
|
|
21
20
|
readonly "--muted-foreground": "0 0% 36.08%";
|
|
21
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
22
22
|
readonly "--popover": "0 0% 98.04%";
|
|
23
23
|
readonly "--popover-foreground": "0 0% 3.92%";
|
|
24
24
|
readonly "--primary": "199.84 100% 50.2%";
|
|
@@ -76,7 +76,6 @@ export declare const nativeWindTokenVariables: {
|
|
|
76
76
|
readonly "--accent": "202.5 64.86% 14.51%";
|
|
77
77
|
readonly "--accent-foreground": "201.11 100% 89.41%";
|
|
78
78
|
readonly "--background": "0 0% 12.16%";
|
|
79
|
-
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
80
79
|
readonly "--border": "0 0% 0%";
|
|
81
80
|
readonly "--card": "0 0% 10.2%";
|
|
82
81
|
readonly "--card-foreground": "0 0% 98.04%";
|
|
@@ -91,6 +90,7 @@ export declare const nativeWindTokenVariables: {
|
|
|
91
90
|
readonly "--input": "200 8.57% 13.73%";
|
|
92
91
|
readonly "--muted": "0 0% 14.9%";
|
|
93
92
|
readonly "--muted-foreground": "0 0% 63.92%";
|
|
93
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
94
94
|
readonly "--popover": "0 0% 10.2%";
|
|
95
95
|
readonly "--popover-foreground": "0 0% 98.04%";
|
|
96
96
|
readonly "--primary": "199.84 100% 50.2%";
|
|
@@ -150,7 +150,6 @@ export declare const nativeWindTokenVariables: {
|
|
|
150
150
|
readonly "--accent": "16.8 49.02% 90%";
|
|
151
151
|
readonly "--accent-foreground": "16.8 49.02% 20%";
|
|
152
152
|
readonly "--background": "0 0% 100%";
|
|
153
|
-
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
154
153
|
readonly "--border": "0 0% 0%";
|
|
155
154
|
readonly "--card": "0 0% 95.29%";
|
|
156
155
|
readonly "--card-foreground": "0 0% 3.92%";
|
|
@@ -165,6 +164,7 @@ export declare const nativeWindTokenVariables: {
|
|
|
165
164
|
readonly "--input": "0 0% 100%";
|
|
166
165
|
readonly "--muted": "0 0% 94.9%";
|
|
167
166
|
readonly "--muted-foreground": "0 0% 36.08%";
|
|
167
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
168
168
|
readonly "--popover": "0 0% 98.04%";
|
|
169
169
|
readonly "--popover-foreground": "0 0% 3.92%";
|
|
170
170
|
readonly "--primary": "16.11 100% 65.69%";
|
|
@@ -222,7 +222,6 @@ export declare const nativeWindTokenVariables: {
|
|
|
222
222
|
readonly "--accent": "16.8 49.02% 20%";
|
|
223
223
|
readonly "--accent-foreground": "16.8 49.02% 90%";
|
|
224
224
|
readonly "--background": "0 0% 12.16%";
|
|
225
|
-
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
226
225
|
readonly "--border": "0 0% 0%";
|
|
227
226
|
readonly "--card": "0 0% 10.2%";
|
|
228
227
|
readonly "--card-foreground": "0 0% 98.04%";
|
|
@@ -237,6 +236,7 @@ export declare const nativeWindTokenVariables: {
|
|
|
237
236
|
readonly "--input": "200 8.57% 13.73%";
|
|
238
237
|
readonly "--muted": "0 0% 14.9%";
|
|
239
238
|
readonly "--muted-foreground": "0 0% 63.92%";
|
|
239
|
+
readonly "--overlay": "0 0% 0% / 50.2%";
|
|
240
240
|
readonly "--popover": "0 0% 10.2%";
|
|
241
241
|
readonly "--popover-foreground": "0 0% 98.04%";
|
|
242
242
|
readonly "--primary": "16.11 100% 65.69%";
|
package/nativewind.css
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
--accent: 201.11 100% 89.41%;
|
|
4
4
|
--accent-foreground: 202.17 79.31% 11.37%;
|
|
5
5
|
--background: 0 0% 100%;
|
|
6
|
-
--background-color: 0 0% 0% / 50.2%;
|
|
7
6
|
--border: 0 0% 0%;
|
|
8
7
|
--card: 0 0% 95.29%;
|
|
9
8
|
--card-foreground: 0 0% 3.92%;
|
|
@@ -18,6 +17,7 @@
|
|
|
18
17
|
--input: 0 0% 100%;
|
|
19
18
|
--muted: 0 0% 94.9%;
|
|
20
19
|
--muted-foreground: 0 0% 36.08%;
|
|
20
|
+
--overlay: 0 0% 0% / 50.2%;
|
|
21
21
|
--popover: 0 0% 98.04%;
|
|
22
22
|
--popover-foreground: 0 0% 3.92%;
|
|
23
23
|
--primary: 199.84 100% 50.2%;
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
--accent: 202.5 64.86% 14.51%;
|
|
77
77
|
--accent-foreground: 201.11 100% 89.41%;
|
|
78
78
|
--background: 0 0% 12.16%;
|
|
79
|
-
--background-color: 0 0% 0% / 50.2%;
|
|
80
79
|
--border: 0 0% 0%;
|
|
81
80
|
--card: 0 0% 10.2%;
|
|
82
81
|
--card-foreground: 0 0% 98.04%;
|
|
@@ -91,6 +90,7 @@
|
|
|
91
90
|
--input: 200 8.57% 13.73%;
|
|
92
91
|
--muted: 0 0% 14.9%;
|
|
93
92
|
--muted-foreground: 0 0% 63.92%;
|
|
93
|
+
--overlay: 0 0% 0% / 50.2%;
|
|
94
94
|
--popover: 0 0% 10.2%;
|
|
95
95
|
--popover-foreground: 0 0% 98.04%;
|
|
96
96
|
--primary: 199.84 100% 50.2%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indra-inter/neobrutalism-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"generate:design-tokens": "node ./scripts/generate-design-tokens.mjs",
|
|
46
46
|
"test:badge-nativewind": "node ./scripts/test-badge-nativewind.mjs",
|
|
47
47
|
"test:card-nativewind": "node ./scripts/test-card-nativewind.mjs",
|
|
48
|
+
"test:canonical-component-api": "node ./scripts/test-canonical-component-api.mjs",
|
|
48
49
|
"test:bottom-sheet-drag-dismiss": "node ./scripts/test-bottom-sheet-drag-dismiss.mjs",
|
|
49
50
|
"test:chat-list-item-slots": "node ./scripts/test-chat-list-item-slots.mjs",
|
|
50
51
|
"test:design-tokens": "node ./scripts/test-design-tokens.mjs && node ./scripts/test-theme-family-token-contract.mjs",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"test:list-item-nativewind": "node ./scripts/test-list-item-nativewind.mjs",
|
|
55
56
|
"test:pin-code-field": "node ./scripts/test-pin-code-field.mjs",
|
|
56
57
|
"test:public-styling-contract": "node ./scripts/test-public-styling-contract.mjs && node ./scripts/test-theme-family-public-contract.mjs",
|
|
58
|
+
"test:semantic-color-contract": "node ./scripts/test-semantic-color-contract.mjs",
|
|
57
59
|
"test:shared-styling": "node ./scripts/test-shared-styling.mjs",
|
|
58
60
|
"test:styling-aliases": "node ./scripts/test-styling-aliases.mjs",
|
|
59
61
|
"test:theme-family-runtime": "node ./scripts/test-theme-family-runtime-contract.mjs",
|
package/tokens.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--neo-decor-accent: 199.84 100% 50.2%;
|
|
39
39
|
--neo-decor-ink: 0 0% 0%;
|
|
40
40
|
--neo-decor-paper: 0 0% 100%;
|
|
41
|
-
--neo-
|
|
41
|
+
--neo-overlay: 0 0% 0% / 50.2%;
|
|
42
42
|
--neo-semantic-background: 0 0% 55.29%;
|
|
43
43
|
--neo-semantic-border: 0 0.45% 56.27%;
|
|
44
44
|
--neo-semantic-foreground: 0 0% 100%;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
--neo-decor-accent: 200.19 46.85% 56.47%;
|
|
105
105
|
--neo-decor-ink: 0 0% 0%;
|
|
106
106
|
--neo-decor-paper: 0 0% 100%;
|
|
107
|
-
--neo-
|
|
107
|
+
--neo-overlay: 0 0% 0% / 50.2%;
|
|
108
108
|
--neo-semantic-background: 30 2.63% 14.9%;
|
|
109
109
|
--neo-semantic-border: 210 1.22% 32.16%;
|
|
110
110
|
--neo-semantic-foreground: 0 0% 100%;
|