@pglevy/sailwind 0.1.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 +219 -0
- package/dist/components/Button/ButtonArrayLayout.d.ts +37 -0
- package/dist/components/Button/ButtonArrayLayout.d.ts.map +1 -0
- package/dist/components/Button/ButtonArrayLayout.js +42 -0
- package/dist/components/Button/ButtonWidget.d.ts +75 -0
- package/dist/components/Button/ButtonWidget.d.ts.map +1 -0
- package/dist/components/Button/ButtonWidget.js +101 -0
- package/dist/components/Button/index.d.ts +5 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Card/CardLayout.d.ts +55 -0
- package/dist/components/Card/CardLayout.d.ts.map +1 -0
- package/dist/components/Card/CardLayout.js +139 -0
- package/dist/components/Card/index.d.ts +3 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxField.d.ts +65 -0
- package/dist/components/Checkbox/CheckboxField.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxField.js +136 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Dialog/DialogField.d.ts +51 -0
- package/dist/components/Dialog/DialogField.d.ts.map +1 -0
- package/dist/components/Dialog/DialogField.js +113 -0
- package/dist/components/Dialog/index.d.ts +3 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/Dropdown/DropdownField.d.ts +87 -0
- package/dist/components/Dropdown/DropdownField.d.ts.map +1 -0
- package/dist/components/Dropdown/DropdownField.js +7 -0
- package/dist/components/Dropdown/DropdownFieldBase.d.ts +54 -0
- package/dist/components/Dropdown/DropdownFieldBase.d.ts.map +1 -0
- package/dist/components/Dropdown/DropdownFieldBase.js +183 -0
- package/dist/components/Dropdown/MultipleDropdownField.d.ts +85 -0
- package/dist/components/Dropdown/MultipleDropdownField.d.ts.map +1 -0
- package/dist/components/Dropdown/MultipleDropdownField.js +7 -0
- package/dist/components/Dropdown/index.d.ts +5 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/Heading/HeadingField.d.ts +48 -0
- package/dist/components/Heading/HeadingField.d.ts.map +1 -0
- package/dist/components/Heading/HeadingField.js +103 -0
- package/dist/components/Heading/index.d.ts +3 -0
- package/dist/components/Heading/index.d.ts.map +1 -0
- package/dist/components/Image/DocumentImage.d.ts +20 -0
- package/dist/components/Image/DocumentImage.d.ts.map +1 -0
- package/dist/components/Image/ImageField.d.ts +42 -0
- package/dist/components/Image/ImageField.d.ts.map +1 -0
- package/dist/components/Image/ImageField.js +159 -0
- package/dist/components/Image/UserImage.d.ts +49 -0
- package/dist/components/Image/UserImage.d.ts.map +1 -0
- package/dist/components/Image/index.d.ts +5 -0
- package/dist/components/Image/index.d.ts.map +1 -0
- package/dist/components/MessageBanner/MessageBanner.d.ts +33 -0
- package/dist/components/MessageBanner/MessageBanner.d.ts.map +1 -0
- package/dist/components/MessageBanner/MessageBanner.js +97 -0
- package/dist/components/MessageBanner/index.d.ts +2 -0
- package/dist/components/MessageBanner/index.d.ts.map +1 -0
- package/dist/components/Milestone/MilestoneField.d.ts +50 -0
- package/dist/components/Milestone/MilestoneField.d.ts.map +1 -0
- package/dist/components/Milestone/MilestoneField.js +206 -0
- package/dist/components/Milestone/index.d.ts +3 -0
- package/dist/components/Milestone/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +32 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +117 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/RadioButton/RadioButtonField.d.ts +63 -0
- package/dist/components/RadioButton/RadioButtonField.d.ts.map +1 -0
- package/dist/components/RadioButton/RadioButtonField.js +128 -0
- package/dist/components/RadioButton/index.d.ts +3 -0
- package/dist/components/RadioButton/index.d.ts.map +1 -0
- package/dist/components/RichText/Icon.d.ts +28 -0
- package/dist/components/RichText/Icon.d.ts.map +1 -0
- package/dist/components/RichText/Icon.js +94 -0
- package/dist/components/RichText/RichTextDisplayField.d.ts +36 -0
- package/dist/components/RichText/RichTextDisplayField.d.ts.map +1 -0
- package/dist/components/RichText/RichTextDisplayField.js +79 -0
- package/dist/components/RichText/TextItem.d.ts +27 -0
- package/dist/components/RichText/TextItem.d.ts.map +1 -0
- package/dist/components/RichText/TextItem.js +58 -0
- package/dist/components/RichText/index.d.ts +7 -0
- package/dist/components/RichText/index.d.ts.map +1 -0
- package/dist/components/Slider/SliderField.d.ts +63 -0
- package/dist/components/Slider/SliderField.d.ts.map +1 -0
- package/dist/components/Slider/SliderField.js +164 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/index.d.ts.map +1 -0
- package/dist/components/Stamp/StampField.d.ts +48 -0
- package/dist/components/Stamp/StampField.d.ts.map +1 -0
- package/dist/components/Stamp/StampField.js +173 -0
- package/dist/components/Stamp/index.d.ts +3 -0
- package/dist/components/Stamp/index.d.ts.map +1 -0
- package/dist/components/Switch/SwitchField.d.ts +49 -0
- package/dist/components/Switch/SwitchField.d.ts.map +1 -0
- package/dist/components/Switch/SwitchField.js +106 -0
- package/dist/components/Switch/index.d.ts +3 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/TableOfContents.d.ts +2 -0
- package/dist/components/TableOfContents.d.ts.map +1 -0
- package/dist/components/TableOfContents.js +142 -0
- package/dist/components/Tabs/TabsField.d.ts +50 -0
- package/dist/components/Tabs/TabsField.d.ts.map +1 -0
- package/dist/components/Tabs/TabsField.js +96 -0
- package/dist/components/Tabs/index.d.ts +3 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tag/TagField.d.ts +52 -0
- package/dist/components/Tag/TagField.d.ts.map +1 -0
- package/dist/components/Tag/TagField.js +125 -0
- package/dist/components/Tag/TagItem.d.ts +26 -0
- package/dist/components/Tag/TagItem.d.ts.map +1 -0
- package/dist/components/Tag/TagItem.js +4 -0
- package/dist/components/Tag/index.d.ts +5 -0
- package/dist/components/Tag/index.d.ts.map +1 -0
- package/dist/components/TextField/TextField.d.ts +88 -0
- package/dist/components/TextField/TextField.d.ts.map +1 -0
- package/dist/components/TextField/TextField.js +113 -0
- package/dist/components/TextField/index.d.ts +3 -0
- package/dist/components/TextField/index.d.ts.map +1 -0
- package/dist/components/Toggle/ToggleField.d.ts +62 -0
- package/dist/components/Toggle/ToggleField.d.ts.map +1 -0
- package/dist/components/Toggle/ToggleField.js +126 -0
- package/dist/components/Toggle/index.d.ts +3 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/shared/CollapsibleSection.d.ts +9 -0
- package/dist/components/shared/CollapsibleSection.d.ts.map +1 -0
- package/dist/components/shared/CollapsibleSection.js +39 -0
- package/dist/components/shared/FieldLabel.d.ts +27 -0
- package/dist/components/shared/FieldLabel.d.ts.map +1 -0
- package/dist/components/shared/FieldLabel.js +40 -0
- package/dist/components/shared/FieldWrapper.d.ts +35 -0
- package/dist/components/shared/FieldWrapper.d.ts.map +1 -0
- package/dist/components/shared/FieldWrapper.js +71 -0
- package/dist/components/shared/index.d.ts +6 -0
- package/dist/components/shared/index.d.ts.map +1 -0
- package/dist/esg_world_logo_no_year.png +0 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +58 -0
- package/dist/types/sail.d.ts +37 -0
- package/dist/types/sail.d.ts.map +1 -0
- package/dist/uifaces-human-avatar.jpg +0 -0
- package/dist/utils/classNames.d.ts +21 -0
- package/dist/utils/classNames.d.ts.map +1 -0
- package/dist/utils/classNames.js +16 -0
- package/dist/vite.svg +1 -0
- package/package.json +85 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { FieldLabel as r } from "./components/shared/FieldLabel.js";
|
|
2
|
+
import { FieldWrapper as p } from "./components/shared/FieldWrapper.js";
|
|
3
|
+
import { CollapsibleSection as x } from "./components/shared/CollapsibleSection.js";
|
|
4
|
+
import { TagField as l } from "./components/Tag/TagField.js";
|
|
5
|
+
import { TagItem as d } from "./components/Tag/TagItem.js";
|
|
6
|
+
import { ButtonWidget as F } from "./components/Button/ButtonWidget.js";
|
|
7
|
+
import { ButtonArrayLayout as g } from "./components/Button/ButtonArrayLayout.js";
|
|
8
|
+
import { CardLayout as T } from "./components/Card/CardLayout.js";
|
|
9
|
+
import { HeadingField as b } from "./components/Heading/HeadingField.js";
|
|
10
|
+
import { MessageBanner as B } from "./components/MessageBanner/MessageBanner.js";
|
|
11
|
+
import { MilestoneField as C } from "./components/Milestone/MilestoneField.js";
|
|
12
|
+
import { ProgressBar as I } from "./components/ProgressBar/ProgressBar.js";
|
|
13
|
+
import { RichTextDisplayField as h } from "./components/RichText/RichTextDisplayField.js";
|
|
14
|
+
import { TextItem as L } from "./components/RichText/TextItem.js";
|
|
15
|
+
import { Icon as R } from "./components/RichText/Icon.js";
|
|
16
|
+
import { StampField as k } from "./components/Stamp/StampField.js";
|
|
17
|
+
import { TextField as H } from "./components/TextField/TextField.js";
|
|
18
|
+
import { CheckboxField as P } from "./components/Checkbox/CheckboxField.js";
|
|
19
|
+
import { RadioButtonField as q } from "./components/RadioButton/RadioButtonField.js";
|
|
20
|
+
import { DropdownField as z } from "./components/Dropdown/DropdownField.js";
|
|
21
|
+
import { MultipleDropdownField as G } from "./components/Dropdown/MultipleDropdownField.js";
|
|
22
|
+
import { SwitchField as K } from "./components/Switch/SwitchField.js";
|
|
23
|
+
import { ToggleField as Q } from "./components/Toggle/ToggleField.js";
|
|
24
|
+
import { SliderField as V } from "./components/Slider/SliderField.js";
|
|
25
|
+
import { TabsField as Y } from "./components/Tabs/TabsField.js";
|
|
26
|
+
import { ImageField as _ } from "./components/Image/ImageField.js";
|
|
27
|
+
import { DialogField as oo } from "./components/Dialog/DialogField.js";
|
|
28
|
+
import { TableOfContents as ro } from "./components/TableOfContents.js";
|
|
29
|
+
export {
|
|
30
|
+
g as ButtonArrayLayout,
|
|
31
|
+
F as ButtonWidget,
|
|
32
|
+
T as CardLayout,
|
|
33
|
+
P as CheckboxField,
|
|
34
|
+
x as CollapsibleSection,
|
|
35
|
+
oo as DialogField,
|
|
36
|
+
z as DropdownField,
|
|
37
|
+
r as FieldLabel,
|
|
38
|
+
p as FieldWrapper,
|
|
39
|
+
b as HeadingField,
|
|
40
|
+
R as Icon,
|
|
41
|
+
_ as ImageField,
|
|
42
|
+
B as MessageBanner,
|
|
43
|
+
C as MilestoneField,
|
|
44
|
+
G as MultipleDropdownField,
|
|
45
|
+
I as ProgressBar,
|
|
46
|
+
q as RadioButtonField,
|
|
47
|
+
h as RichTextDisplayField,
|
|
48
|
+
V as SliderField,
|
|
49
|
+
k as StampField,
|
|
50
|
+
K as SwitchField,
|
|
51
|
+
ro as TableOfContents,
|
|
52
|
+
Y as TabsField,
|
|
53
|
+
l as TagField,
|
|
54
|
+
d as TagItem,
|
|
55
|
+
H as TextField,
|
|
56
|
+
L as TextItem,
|
|
57
|
+
Q as ToggleField
|
|
58
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared SAIL type definitions
|
|
3
|
+
* These types are used across multiple components to ensure consistency
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Border radius/shape values matching SAIL's shape parameter
|
|
7
|
+
*/
|
|
8
|
+
export type SAILShape = "SQUARED" | "SEMI_ROUNDED" | "ROUNDED";
|
|
9
|
+
/**
|
|
10
|
+
* Padding values matching SAIL's padding parameter
|
|
11
|
+
*/
|
|
12
|
+
export type SAILPadding = "NONE" | "EVEN_LESS" | "LESS" | "STANDARD" | "MORE" | "EVEN_MORE";
|
|
13
|
+
/**
|
|
14
|
+
* Margin size values matching SAIL's marginAbove/marginBelow parameters
|
|
15
|
+
*/
|
|
16
|
+
export type SAILMarginSize = "NONE" | "EVEN_LESS" | "LESS" | "STANDARD" | "MORE" | "EVEN_MORE";
|
|
17
|
+
/**
|
|
18
|
+
* Common size values matching SAIL's size parameter
|
|
19
|
+
*/
|
|
20
|
+
export type SAILSize = "SMALL" | "STANDARD" | "MEDIUM" | "LARGE";
|
|
21
|
+
/**
|
|
22
|
+
* Extended size values (includes additional sizes used by some components)
|
|
23
|
+
*/
|
|
24
|
+
export type SAILSizeExtended = SAILSize | "MEDIUM_PLUS" | "LARGE_PLUS" | "EXTRA_LARGE";
|
|
25
|
+
/**
|
|
26
|
+
* Alignment values matching SAIL's align parameter
|
|
27
|
+
*/
|
|
28
|
+
export type SAILAlign = "START" | "CENTER" | "END";
|
|
29
|
+
/**
|
|
30
|
+
* Label position values matching SAIL's labelPosition parameter
|
|
31
|
+
*/
|
|
32
|
+
export type SAILLabelPosition = "ABOVE" | "ADJACENT" | "COLLAPSED" | "JUSTIFIED";
|
|
33
|
+
/**
|
|
34
|
+
* Semantic color values matching SAIL's color constants
|
|
35
|
+
*/
|
|
36
|
+
export type SAILSemanticColor = "ACCENT" | "POSITIVE" | "NEGATIVE" | "SECONDARY" | "STANDARD";
|
|
37
|
+
//# sourceMappingURL=sail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sail.d.ts","sourceRoot":"","sources":["../../src/types/sail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE3F;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE9F;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,CAAA;AAEtF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAElD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA"}
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Merges SAIL-computed classes with optional override className
|
|
3
|
+
*
|
|
4
|
+
* This utility provides a consistent way to allow className overrides
|
|
5
|
+
* while maintaining SAIL parameter integrity across all components.
|
|
6
|
+
*
|
|
7
|
+
* When override classes conflict with SAIL classes (same prefix like bg-, text-, etc.),
|
|
8
|
+
* the override classes take precedence and conflicting SAIL classes are removed.
|
|
9
|
+
*
|
|
10
|
+
* @param sailClasses - Classes computed from SAIL parameters
|
|
11
|
+
* @param override - Optional Tailwind classes to append/override
|
|
12
|
+
* @returns Merged class string with conflicts resolved
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* const sailClasses = "px-4 py-2 bg-blue-500 text-white"
|
|
16
|
+
* const override = "bg-red-500 rounded-lg"
|
|
17
|
+
* mergeClasses(sailClasses, override) // "px-4 py-2 text-white bg-red-500 rounded-lg"
|
|
18
|
+
* // Note: bg-blue-500 removed because bg-red-500 overrides it
|
|
19
|
+
*/
|
|
20
|
+
export declare const mergeClasses: (sailClasses: string, override?: string) => string;
|
|
21
|
+
//# sourceMappingURL=classNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classNames.d.ts","sourceRoot":"","sources":["../../src/utils/classNames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,YAAY,GAAI,aAAa,MAAM,EAAE,WAAW,MAAM,KAAG,MA4BrE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const p = (t, a) => {
|
|
2
|
+
if (!a) return t;
|
|
3
|
+
const n = t.split(" ").filter(Boolean), l = a.split(" ").filter(Boolean), o = new Set(
|
|
4
|
+
l.map((s) => {
|
|
5
|
+
const e = (s.includes(":") ? s.split(":").pop() : s)?.match(/^([a-z-]+)-/);
|
|
6
|
+
return e ? e[1] + "-" : null;
|
|
7
|
+
}).filter(Boolean)
|
|
8
|
+
);
|
|
9
|
+
return [...n.filter((s) => {
|
|
10
|
+
const e = (s.includes(":") ? s.split(":").pop() : s)?.match(/^([a-z-]+)-/), r = e ? e[1] + "-" : null;
|
|
11
|
+
return !r || !o.has(r);
|
|
12
|
+
}), ...l].join(" ");
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
p as mergeClasses
|
|
16
|
+
};
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pglevy/sailwind",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Appian SAIL components for React - Pre-release version under active development",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"keywords": [
|
|
21
|
+
"appian",
|
|
22
|
+
"sail",
|
|
23
|
+
"components",
|
|
24
|
+
"react",
|
|
25
|
+
"prototyping",
|
|
26
|
+
"design-system",
|
|
27
|
+
"ui-components"
|
|
28
|
+
],
|
|
29
|
+
"author": "Philip Levy",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/pglevy/sailwind.git"
|
|
34
|
+
},
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/pglevy/sailwind/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/pglevy/sailwind#readme",
|
|
39
|
+
"scripts": {
|
|
40
|
+
"dev": "vite",
|
|
41
|
+
"build": "vite build",
|
|
42
|
+
"build:lib": "vite build --mode library",
|
|
43
|
+
"lint": "eslint .",
|
|
44
|
+
"preview": "vite preview",
|
|
45
|
+
"check-page": "node scripts/quick-check.cjs",
|
|
46
|
+
"check-page:full": "node scripts/full-check.cjs",
|
|
47
|
+
"prepublishOnly": "npm run build:lib"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
51
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
55
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
56
|
+
"@radix-ui/react-progress": "^1.1.7",
|
|
57
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
58
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
59
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
60
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
61
|
+
"lucide-react": "^0.545.0",
|
|
62
|
+
"wouter": "^3.7.1"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@eslint/js": "^9.36.0",
|
|
66
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
67
|
+
"@types/react": "^19.1.13",
|
|
68
|
+
"@types/react-dom": "^19.1.9",
|
|
69
|
+
"@vitejs/plugin-react": "^5.0.3",
|
|
70
|
+
"autoprefixer": "^10.4.21",
|
|
71
|
+
"eslint": "^9.36.0",
|
|
72
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
73
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
74
|
+
"globals": "^16.4.0",
|
|
75
|
+
"playwright": "^1.56.1",
|
|
76
|
+
"postcss": "^8.5.6",
|
|
77
|
+
"react": "^19.1.1",
|
|
78
|
+
"react-dom": "^19.1.1",
|
|
79
|
+
"tailwindcss": "^4.1.14",
|
|
80
|
+
"typescript": "~5.8.3",
|
|
81
|
+
"typescript-eslint": "^8.44.0",
|
|
82
|
+
"vite": "^7.1.7",
|
|
83
|
+
"vite-plugin-dts": "^4.5.4"
|
|
84
|
+
}
|
|
85
|
+
}
|