@okshaun/components 1.0.0 → 1.0.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/dist/index.js +133 -89
- package/dist/index.js.map +1 -1
- package/dist/{preset-KB9Tn8-2.js → preset-DCCViEDs.js} +2879 -2883
- package/dist/preset-DCCViEDs.js.map +1 -0
- package/dist/preset.js +1 -1
- package/dist/specs/conditions.json +1 -1
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +14 -14
- package/dist/styles/global.css +1 -1
- package/dist/styles/recipes/avatar.css +1 -1
- package/dist/styles/recipes/breadcrumbs.css +1 -1
- package/dist/styles/recipes/button.css +1 -1
- package/dist/styles/recipes/checkbox.css +1 -1
- package/dist/styles/recipes/chip.css +1 -1
- package/dist/styles/recipes/divider.css +2 -5
- package/dist/styles/recipes/icon-button.css +1 -1
- package/dist/styles/recipes/menu.css +1 -1
- package/dist/styles/recipes/radio.css +2 -2
- package/dist/styles/recipes/toggle.css +2 -2
- package/dist/styles/utilities.css +9 -9
- package/dist/svgs/building.svg +1 -0
- package/dist/types/index.d.ts +11 -18
- package/package.json +6 -18
- package/src/recipes/avatar.ts +96 -96
- package/src/recipes/badge.ts +0 -9
- package/src/recipes/divider.ts +2 -1
- package/src/recipes/index.ts +1 -1
- package/src/recipes/modal.ts +7 -4
- package/src/recipes/tooltip.ts +3 -3
- package/src/styles/primitives/radii.ts +1 -1
- package/src/styles/utilities/conditions.ts +1 -1
- package/src/styles/utilities/textStyles.ts +1 -1
- package/src/utils/splitProps.ts +1 -1
- package/src/utils/spriteContent.ts +1 -1
- package/dist/preset-KB9Tn8-2.js.map +0 -1
package/dist/styles/global.css
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
pointer-events: none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
*:is(:focus-visible, [data-focus-visible
|
|
54
|
+
*:is(:focus-visible, [data-focus-visible=true]),*::before:is(:focus-visible, [data-focus-visible=true]),*::after:is(:focus-visible, [data-focus-visible=true]) {
|
|
55
55
|
border-color: var(--oks-colors-border-focused);
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
display: none;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.oks-checkbox__input:is(:focus-visible, [data-focus-visible
|
|
72
|
+
.oks-checkbox__input:is(:focus-visible, [data-focus-visible=true]) ~ [name='checkbox-focus'] {
|
|
73
73
|
display: inline-grid;
|
|
74
74
|
position: absolute;
|
|
75
75
|
fill: var(--oks-colors-border-focused);
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
@layer _base {
|
|
3
3
|
.oks-divider {
|
|
4
4
|
--divider-weight: var(--oks-sizes-1);
|
|
5
|
+
border-style: solid;
|
|
5
6
|
border-color: var(--oks-colors-current);
|
|
6
|
-
color:
|
|
7
|
+
color: border.default;
|
|
7
8
|
min-width: var(--oks-sizes-1);
|
|
8
9
|
min-height: var(--oks-sizes-1);
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
.dark .oks-divider,.oks-divider:is([data-color-mode=dark] *),[data-color-mode=dark] .oks-divider {
|
|
12
|
-
color: var(--oks-colors-gray-80);
|
|
13
|
-
}
|
|
14
11
|
}
|
|
15
12
|
|
|
16
13
|
.oks-divider--direction_horizontal {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
fill: var(--oks-colors-icon-selected);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.oks-iconButton__container:is(:focus-visible, [data-focus-visible
|
|
59
|
+
.oks-iconButton__container:is(:focus-visible, [data-focus-visible=true]) {
|
|
60
60
|
outline-color: var(--oks-colors-border-focused);
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
display: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.oks-radio__input:is(:focus-visible, [data-focus-visible
|
|
60
|
+
.oks-radio__input:is(:focus-visible, [data-focus-visible=true]) ~ [name='radio-focus'] {
|
|
61
61
|
display: inline-grid;
|
|
62
62
|
position: absolute;
|
|
63
63
|
fill: var(--oks-colors-gray-90);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.dark .oks-radio__input:is(:focus-visible, [data-focus-visible
|
|
66
|
+
.dark .oks-radio__input:is(:focus-visible, [data-focus-visible=true]) ~ [name='radio-focus'],.oks-radio__input:is(:focus-visible, [data-focus-visible=true]) ~ [name='radio-focus']:is([data-color-mode=dark] *),[data-color-mode=dark] .oks-radio__input:is(:focus-visible, [data-focus-visible=true]) ~ [name='radio-focus'] {
|
|
67
67
|
fill: gray.1;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
--transition-easing: ease-in-out;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.oks-toggle__input:is(:focus-visible, [data-focus-visible
|
|
53
|
+
.oks-toggle__input:is(:focus-visible, [data-focus-visible=true]) {
|
|
54
54
|
border-radius: 24px;
|
|
55
55
|
appearance: none;
|
|
56
56
|
-webkit-appearance: none;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
height: var(--oks-sizes-24);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.dark .oks-toggle__input:is(:focus-visible, [data-focus-visible
|
|
66
|
+
.dark .oks-toggle__input:is(:focus-visible, [data-focus-visible=true]),.oks-toggle__input:is(:focus-visible, [data-focus-visible=true]):is([data-color-mode=dark] *),[data-color-mode=dark] .oks-toggle__input:is(:focus-visible, [data-focus-visible=true]) {
|
|
67
67
|
outline-color: var(--oks-colors-gray-10);
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -846,14 +846,14 @@
|
|
|
846
846
|
font-size: 18px;
|
|
847
847
|
}
|
|
848
848
|
|
|
849
|
-
.oks-c_text\.disabled {
|
|
850
|
-
color: var(--oks-colors-text-disabled);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
849
|
.oks-c_text {
|
|
854
850
|
color: var(--oks-colors-text);
|
|
855
851
|
}
|
|
856
852
|
|
|
853
|
+
.oks-c_text\.disabled {
|
|
854
|
+
color: var(--oks-colors-text-disabled);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
857
|
.oks-lh_none {
|
|
858
858
|
line-height: var(--oks-line-heights-none);
|
|
859
859
|
}
|
|
@@ -1635,23 +1635,23 @@
|
|
|
1635
1635
|
transform: rotate(180deg);
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
|
-
.focusVisible\:oks-bg_surface:is(:focus-visible, [data-focus-visible
|
|
1638
|
+
.focusVisible\:oks-bg_surface:is(:focus-visible, [data-focus-visible=true]) {
|
|
1639
1639
|
background: var(--oks-colors-surface);
|
|
1640
1640
|
}
|
|
1641
1641
|
|
|
1642
|
-
.focusVisible\:oks-bd-w_1:is(:focus-visible, [data-focus-visible
|
|
1642
|
+
.focusVisible\:oks-bd-w_1:is(:focus-visible, [data-focus-visible=true]) {
|
|
1643
1643
|
border-width: var(--oks-border-widths-1);
|
|
1644
1644
|
}
|
|
1645
1645
|
|
|
1646
|
-
.focusVisible\:oks-bd-c_border\.focused:is(:focus-visible, [data-focus-visible
|
|
1646
|
+
.focusVisible\:oks-bd-c_border\.focused:is(:focus-visible, [data-focus-visible=true]) {
|
|
1647
1647
|
border-color: var(--oks-colors-border-focused);
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
1650
|
-
.focusVisible\:oks-bx-sh_elevated:is(:focus-visible, [data-focus-visible
|
|
1650
|
+
.focusVisible\:oks-bx-sh_elevated:is(:focus-visible, [data-focus-visible=true]) {
|
|
1651
1651
|
box-shadow: var(--oks-shadows-elevated);
|
|
1652
1652
|
}
|
|
1653
1653
|
|
|
1654
|
-
.focusVisible\:oks-ring-c_border\.focused:is(:focus-visible, [data-focus-visible
|
|
1654
|
+
.focusVisible\:oks-ring-c_border\.focused:is(:focus-visible, [data-focus-visible=true]) {
|
|
1655
1655
|
outline-color: var(--oks-colors-border-focused);
|
|
1656
1656
|
}
|
|
1657
1657
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="M18.25 19.5v-15h1.25V3.25h-15V4.5h1.25v15H3v1.25h18V19.5zM7.75 6.37h3.12v1.25H7.75zm0 3.13h3.12v1.25H7.75zm0 3.13h3.12v1.25H7.75zm6.13 6.87h-3.75v-3.12h3.75zm2.37-5.63h-3.12v-1.25h3.12zm0-3.12h-3.12V9.5h3.12zm0-3.12h-3.12V6.38h3.12z" clip-rule="evenodd"/></svg>
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
1
2
|
import { ChangeEventHandler } from 'react';
|
|
2
3
|
import { Component } from 'react';
|
|
3
4
|
import { ComponentPropsWithRef } from 'react';
|
|
@@ -106,7 +107,7 @@ export declare type AutocompleteProps = MenuVariantProps & {
|
|
|
106
107
|
/** Callback when input value changes */
|
|
107
108
|
onChange: (value: string) => void;
|
|
108
109
|
/** Size of the input */
|
|
109
|
-
size?:
|
|
110
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
110
111
|
/** Available options to filter and display */
|
|
111
112
|
options: AutocompleteOption[];
|
|
112
113
|
/** Callback when an option is selected */
|
|
@@ -128,7 +129,7 @@ export declare type AutocompleteProps = MenuVariantProps & {
|
|
|
128
129
|
/** Message to show when no options match */
|
|
129
130
|
noResultsMessage?: string;
|
|
130
131
|
/** Props to pass to the TextInput */
|
|
131
|
-
inputProps?: Omit<TextInputProps,
|
|
132
|
+
inputProps?: Omit<TextInputProps, "name" | "value" | "onChange" | "disabled" | "error" | "id">;
|
|
132
133
|
};
|
|
133
134
|
|
|
134
135
|
/**
|
|
@@ -194,12 +195,9 @@ declare type AvatarVariantProps = {
|
|
|
194
195
|
* - Without count prop: shows as dot
|
|
195
196
|
* - With count prop: shows the number (or "99+" if exceeds overflowCount)
|
|
196
197
|
*/
|
|
197
|
-
export declare const Badge:
|
|
198
|
-
(props: BadgeProps): JSX.Element | null;
|
|
199
|
-
displayName: string;
|
|
200
|
-
};
|
|
198
|
+
export declare const Badge: (props: BadgeProps) => JSX.Element | null;
|
|
201
199
|
|
|
202
|
-
export declare type BadgeProps = BoxProps & Omit<BadgeVariantProps, 'standalone' | 'dot'> & {
|
|
200
|
+
export declare type BadgeProps = Omit<BoxProps, keyof BadgeVariantProps> & Omit<BadgeVariantProps, 'standalone' | 'dot'> & {
|
|
203
201
|
/** Number to show in badge. If provided, switches to count mode. */
|
|
204
202
|
count?: number;
|
|
205
203
|
/** Show badge when count is zero. Default: false */
|
|
@@ -208,10 +206,8 @@ export declare type BadgeProps = BoxProps & Omit<BadgeVariantProps, 'standalone'
|
|
|
208
206
|
overflowCount?: number;
|
|
209
207
|
/** Color scheme of the badge. Default: 'danger' */
|
|
210
208
|
variant?: BadgeVariant;
|
|
211
|
-
/** Additional class name */
|
|
212
|
-
className?: string;
|
|
213
209
|
/** Content to wrap with the badge */
|
|
214
|
-
children?:
|
|
210
|
+
children?: React.ReactNode;
|
|
215
211
|
};
|
|
216
212
|
|
|
217
213
|
export declare type BadgeVariant = 'neutral' | 'inverted' | 'subtle' | 'subtle-inverted' | 'success' | 'danger' | 'warning' | 'info';
|
|
@@ -369,7 +365,7 @@ export declare const Checkbox: (props: CheckboxProps) => JSX.Element;
|
|
|
369
365
|
* @example
|
|
370
366
|
* const handleChange: CheckboxChangeHandler = (e) => setChecked(e.target.checked);
|
|
371
367
|
*/
|
|
372
|
-
export declare type CheckboxChangeEvent =
|
|
368
|
+
export declare type CheckboxChangeEvent = ChangeEvent<HTMLInputElement>;
|
|
373
369
|
|
|
374
370
|
/**
|
|
375
371
|
* Helper type for checkbox change handler functions
|
|
@@ -508,7 +504,7 @@ declare interface Conditions {
|
|
|
508
504
|
"_focus": string
|
|
509
505
|
/** `&:focus-within` */
|
|
510
506
|
"_focusWithin": string
|
|
511
|
-
/** `&:is(:focus-visible, [data-focus-visible
|
|
507
|
+
/** `&:is(:focus-visible, [data-focus-visible=true])` */
|
|
512
508
|
"_focusVisible": string
|
|
513
509
|
/** `&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])` */
|
|
514
510
|
"_disabled": string
|
|
@@ -1254,10 +1250,7 @@ declare type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit
|
|
|
1254
1250
|
|
|
1255
1251
|
export declare const Divider: (props: DividerProps) => JSX.Element;
|
|
1256
1252
|
|
|
1257
|
-
export declare type DividerProps = Omit<BoxProps, keyof DividerVariantProps> & DividerVariantProps
|
|
1258
|
-
direction?: string;
|
|
1259
|
-
weight?: string;
|
|
1260
|
-
};
|
|
1253
|
+
export declare type DividerProps = Omit<BoxProps, keyof DividerVariantProps> & DividerVariantProps;
|
|
1261
1254
|
|
|
1262
1255
|
declare interface DividerVariant {
|
|
1263
1256
|
/**
|
|
@@ -1427,7 +1420,7 @@ export declare const IconNames: {
|
|
|
1427
1420
|
readonly bookmark: "bookmark";
|
|
1428
1421
|
readonly bookmarks: "bookmarks";
|
|
1429
1422
|
readonly broadcast: "broadcast";
|
|
1430
|
-
readonly
|
|
1423
|
+
readonly building: "building";
|
|
1431
1424
|
readonly 'calendar-add': "calendar-add";
|
|
1432
1425
|
readonly 'calendar-view-day': "calendar-view-day";
|
|
1433
1426
|
readonly 'calendar-view-month': "calendar-view-month";
|
|
@@ -1689,7 +1682,7 @@ export declare const IconNames: {
|
|
|
1689
1682
|
readonly 'zoom-out': "zoom-out";
|
|
1690
1683
|
};
|
|
1691
1684
|
|
|
1692
|
-
declare type IconNamesList = 'aa-placeholder' | 'alarm' | 'alt-route' | 'apps' | 'arrow-bubble' | 'arrow-down' | 'arrow-drop-down' | 'arrow-drop-up' | 'arrow-left' | 'arrow-line-down' | 'arrow-line-left' | 'arrow-line-right' | 'arrow-line-up' | 'arrow-prompt' | 'arrow-redo' | 'arrow-right' | 'arrow-square-in' | 'arrow-square-out' | 'arrow-undo' | 'arrow-up' | 'arrows-down-up' | 'arrows-left-right' | 'asterisk' | 'at' | 'attachment' | 'bank' | 'barcode-reader' | 'barcode' | 'barricade' | 'basket' | 'bell-active' | 'bell-slash' | 'bell' | 'bin' | 'blog-post' | 'blueprint' | 'book-a' | 'book' | 'bookmark-outlined' | 'bookmark' | 'bookmarks' | 'broadcast' | '
|
|
1685
|
+
declare type IconNamesList = 'aa-placeholder' | 'alarm' | 'alt-route' | 'apps' | 'arrow-bubble' | 'arrow-down' | 'arrow-drop-down' | 'arrow-drop-up' | 'arrow-left' | 'arrow-line-down' | 'arrow-line-left' | 'arrow-line-right' | 'arrow-line-up' | 'arrow-prompt' | 'arrow-redo' | 'arrow-right' | 'arrow-square-in' | 'arrow-square-out' | 'arrow-undo' | 'arrow-up' | 'arrows-down-up' | 'arrows-left-right' | 'asterisk' | 'at' | 'attachment' | 'bank' | 'barcode-reader' | 'barcode' | 'barricade' | 'basket' | 'bell-active' | 'bell-slash' | 'bell' | 'bin' | 'blog-post' | 'blueprint' | 'book-a' | 'book' | 'bookmark-outlined' | 'bookmark' | 'bookmarks' | 'broadcast' | 'building' | 'calendar-add' | 'calendar-view-day' | 'calendar-view-month' | 'calendar-view-week' | 'calendar' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'cart' | 'certificate' | 'check-all' | 'check-thick' | 'check' | 'checkbox-checked' | 'checkbox-focus' | 'checkbox-indeterminate' | 'checkbox' | 'chevron-down' | 'chevron-filled-down' | 'chevron-filled-left' | 'chevron-filled-right' | 'chevron-filled-up' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-change' | 'circle-check' | 'circle' | 'circles-add' | 'circuit' | 'clipboard' | 'clock-countdown' | 'clock' | 'cloud-synced' | 'code' | 'color' | 'compass' | 'cone' | 'confetti' | 'copy' | 'credit-card' | 'cube-focus' | 'cursor-click' | 'cursor' | 'cut' | 'data-object' | 'database' | 'devices' | 'dictionary' | 'dna' | 'donut' | 'dot' | 'dots' | 'download-cloud' | 'download' | 'edit' | 'encrypted' | 'envelope' | 'equal' | 'eraser' | 'error' | 'event-list' | 'export' | 'extension' | 'eye-slash' | 'eye' | 'faq' | 'file-add' | 'file' | 'files' | 'filter-remove' | 'filter' | 'finish' | 'fit-screen' | 'flag-checkered' | 'flag' | 'forklift' | 'fullscreen-exit' | 'fullscreen' | 'garage' | 'gauge' | 'globe-grid' | 'globe' | 'gripper' | 'handle-vertical' | 'handle' | 'hash' | 'heart-outlined' | 'heart' | 'help' | 'history' | 'home' | 'image' | 'images' | 'inbox' | 'infinity' | 'info' | 'inventory' | 'invoice' | 'jump-back' | 'jump-forward' | 'kanban' | 'kbd-backspace' | 'kbd-capslock' | 'kbd-command' | 'kbd-control' | 'kbd-hide' | 'kbd-option' | 'kbd-return' | 'kbd-shift' | 'kbd-space' | 'kbd' | 'lightning' | 'line-segment' | 'line-segments' | 'link-slash' | 'link' | 'linked-services' | 'list-bullets' | 'list-checks' | 'list-numbers' | 'lock-open' | 'lock' | 'map-pin' | 'map' | 'mark-unread' | 'menu-close' | 'menu' | 'message' | 'messages' | 'minus-thick' | 'minus' | 'money' | 'monitor' | 'moon' | 'navigation' | 'network-x' | 'network' | 'newspaper-clipping' | 'newspaper' | 'note-stack' | 'note' | 'notepad' | 'notification' | 'nut' | 'order' | 'package' | 'page-first' | 'page-last' | 'parts' | 'password' | 'path' | 'pause' | 'pencil' | 'percent' | 'play-pause' | 'play' | 'plus' | 'printer' | 'prohibit' | 'question-mark' | 'quote' | 'radio-checked' | 'radio-focus' | 'radio' | 'read-doc' | 'receipt' | 'recycle' | 'refresh' | 'repeat' | 'reply-all' | 'reply' | 'resize' | 'ribbon' | 'rows-add' | 'ruler' | 'rules' | 'scale' | 'schedule-backward' | 'schedule-forward' | 'screwdriver' | 'scroll' | 'search-check' | 'search-items' | 'search-objects' | 'search' | 'send' | 'settings' | 'shapes' | 'share' | 'shuffle' | 'signpost' | 'skip-back' | 'skip-forward' | 'skull' | 'sliders' | 'sort-alpha-down' | 'sort-alpha-up' | 'sort-ascending' | 'sort-descending' | 'sort-time-down' | 'sort-time-up' | 'square-add' | 'square-inside' | 'square-select' | 'square' | 'stamp' | 'star-outlined' | 'star' | 'start' | 'step' | 'stop' | 'story' | 'strategy' | 'success' | 'sun' | 'support' | 'sync' | 'tag' | 'target-2' | 'target' | 'task-alt' | 'text-add' | 'textbox' | 'time-add' | 'timer' | 'toolbox' | 'tools' | 'trash' | 'trophy' | 'truck-trailer' | 'update' | 'upload-cloud' | 'upload' | 'user-add' | 'user-details' | 'user-group' | 'user-id-badge' | 'user-id-card' | 'user-recent' | 'user' | 'verified' | 'video' | 'view-cards' | 'view-doc' | 'view-grid' | 'view-rows' | 'view-table' | 'wand' | 'warning' | 'weight' | 'widgets' | 'work-order' | 'wrench-2' | 'wrench' | 'x' | 'zoom-in' | 'zoom-out'
|
|
1693
1686
|
|
|
1694
1687
|
export declare type IconProps = Omit<BoxProps, 'size'> & SVGAttributes<SVGElement> & {
|
|
1695
1688
|
name: IconNamesList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okshaun/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A comprehensive React component library with Panda CSS theming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,14 +10,16 @@
|
|
|
10
10
|
"prepare": "npx panda codegen",
|
|
11
11
|
"dev": "npx panda codegen --watch & vite",
|
|
12
12
|
"build": "rm -rf dist && PANDA_STATIC=true npx panda codegen && npx panda cssgen --splitting && npx panda spec && npx panda init-mcp --client claude && vite build",
|
|
13
|
-
"lint": "
|
|
13
|
+
"lint": "biome lint src/",
|
|
14
|
+
"check": "biome check --write src/",
|
|
15
|
+
"doctor": "npx -y react-doctor@latest .",
|
|
14
16
|
"preview": "vite preview",
|
|
15
17
|
"generate-sprite": "node src/utils/generate-sprite.js",
|
|
16
18
|
"storybook": "PANDA_STATIC=true storybook dev -p 6006",
|
|
17
19
|
"storybook:build": "PANDA_STATIC=true storybook build",
|
|
18
20
|
"panda-mcp": "npx panda mcp",
|
|
19
21
|
"prepublishOnly": "npm run build",
|
|
20
|
-
"format": "
|
|
22
|
+
"format": "biome format --write src/"
|
|
21
23
|
},
|
|
22
24
|
"files": [
|
|
23
25
|
"./dist/",
|
|
@@ -58,7 +60,7 @@
|
|
|
58
60
|
"date-fns": "^4.1.0"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
|
-
"@
|
|
63
|
+
"@biomejs/biome": "^1.9.4",
|
|
62
64
|
"@fontsource-variable/piazzolla": "^5.2.8",
|
|
63
65
|
"@fontsource/ibm-plex-mono": "^5.2.7",
|
|
64
66
|
"@fontsource/ibm-plex-sans": "^5.2.8",
|
|
@@ -74,30 +76,16 @@
|
|
|
74
76
|
"@types/react": "19.0.8",
|
|
75
77
|
"@types/react-dom": "19.0.3",
|
|
76
78
|
"@vitejs/plugin-react": "^4.3.4",
|
|
77
|
-
"eslint": "^9.17.0",
|
|
78
|
-
"eslint-config-prettier": "^9.1.0",
|
|
79
|
-
"eslint-plugin-react": "^7.37.2",
|
|
80
|
-
"eslint-plugin-react-hooks": "^5.0.0",
|
|
81
|
-
"eslint-plugin-react-refresh": "^0.4.16",
|
|
82
|
-
"eslint-plugin-storybook": "^0.11.2",
|
|
83
79
|
"gh-pages": "^6.2.0",
|
|
84
|
-
"globals": "^15.14.0",
|
|
85
80
|
"postcss": "^8.5.1",
|
|
86
|
-
"prettier": "^3.3.3",
|
|
87
81
|
"storybook": "^8.6.15",
|
|
88
82
|
"svg-sprite": "^2.0.4",
|
|
89
83
|
"svgo": "^3.0.2",
|
|
90
84
|
"typescript": "^5.7.3",
|
|
91
|
-
"typescript-eslint": "^8.54.0",
|
|
92
85
|
"vite": "^6.0.5",
|
|
93
86
|
"vite-plugin-dts": "^4.5.4",
|
|
94
87
|
"vite-plugin-static-copy": "^3.1.4"
|
|
95
88
|
},
|
|
96
|
-
"eslintConfig": {
|
|
97
|
-
"extends": [
|
|
98
|
-
"plugin:storybook/recommended"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
89
|
"exports": {
|
|
102
90
|
".": {
|
|
103
91
|
"types": "./dist/types/index.d.ts",
|