@nice2dev/ui 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +252 -0
- package/dist/NiceAlertDialog.doc-BST0-aVs.cjs +14 -0
- package/dist/NiceAlertDialog.doc-GRpJU_5Y.js +38 -0
- package/dist/NiceAnimatePresence.doc-BrttRpeS.js +36 -0
- package/dist/NiceAnimatePresence.doc-IdEWrSnT.cjs +12 -0
- package/dist/NiceCalendarScheduler.doc-Cc-DFMhR.js +33 -0
- package/dist/NiceCalendarScheduler.doc-TPe0kRBN.cjs +9 -0
- package/dist/NiceCameraFeed.doc-BJl0gdWv.js +31 -0
- package/dist/NiceCameraFeed.doc-Bt4eZ8MH.cjs +7 -0
- package/dist/NiceChip.doc-Bccf4IQe.cjs +7 -0
- package/dist/NiceChip.doc-DEsqjL7z.js +31 -0
- package/dist/NiceCombobox.doc-8hMzrsdM.js +34 -0
- package/dist/NiceCombobox.doc-C5IPnVuz.cjs +10 -0
- package/dist/NiceConfigProvider.doc-CKIudO44.js +32 -0
- package/dist/NiceConfigProvider.doc-bMLQj3Zx.cjs +8 -0
- package/dist/NiceCronEditor.doc-BThdELxx.js +31 -0
- package/dist/NiceCronEditor.doc-w_TbOWFo.cjs +7 -0
- package/dist/NiceDataList.doc-DHXrpTPT.cjs +9 -0
- package/dist/NiceDataList.doc-R8SchHqZ.js +33 -0
- package/dist/NiceDiagram.doc-CASS0Tnj.cjs +8 -0
- package/dist/NiceDiagram.doc-DGX-Hwhg.js +32 -0
- package/dist/NiceDocPage.doc-BVBe27kj.cjs +1 -0
- package/dist/NiceDocPage.doc-CDcL3Sqt.js +25 -0
- package/dist/NiceDrawingCanvas.doc-DYYFKKMW.js +32 -0
- package/dist/NiceDrawingCanvas.doc-wa684gbC.cjs +8 -0
- package/dist/NiceDropdown.doc-D2NS9hBT.js +35 -0
- package/dist/NiceDropdown.doc-dAgER8da.cjs +11 -0
- package/dist/NiceDropzone.doc-CVVNc9SE.cjs +9 -0
- package/dist/NiceDropzone.doc-aeajYWqU.js +33 -0
- package/dist/NiceEnergyMonitor.doc-BBnVKuwf.js +32 -0
- package/dist/NiceEnergyMonitor.doc-lf6CCIYi.cjs +8 -0
- package/dist/NiceErrorBoundary-B1Y6X3Ya.js +762 -0
- package/dist/NiceErrorBoundary-COY0cEsF.js +762 -0
- package/dist/NiceErrorBoundary-CR-_ZScD.cjs +1 -0
- package/dist/NiceErrorBoundary-DM5IMdOr.cjs +1 -0
- package/dist/NiceExpressionBuilder.doc-CTjqEcZR.cjs +8 -0
- package/dist/NiceExpressionBuilder.doc-Cu_ORFhd.js +32 -0
- package/dist/NiceFileExplorer.doc-B0aN041v.js +32 -0
- package/dist/NiceFileExplorer.doc-DNHYQF_t.cjs +8 -0
- package/dist/NiceFloatingActionButton.doc-BOlJwq4S.cjs +7 -0
- package/dist/NiceFloatingActionButton.doc-oYnwvMP9.js +31 -0
- package/dist/NiceFontPicker.doc-B10vOqeF.cjs +8 -0
- package/dist/NiceFontPicker.doc-DuPp0cDP.js +32 -0
- package/dist/NiceForm-BSkm9-yP.js +5357 -0
- package/dist/NiceForm-COk1rNVa.js +5357 -0
- package/dist/NiceForm-CU8Dldq-.cjs +382 -0
- package/dist/NiceForm-DDN-yf30.cjs +382 -0
- package/dist/NiceGestureHandler.doc-9GGvVnM5.cjs +8 -0
- package/dist/NiceGestureHandler.doc-BduQU3SA.js +32 -0
- package/dist/NiceHeader.doc-Cxoy_f_k.cjs +6 -0
- package/dist/NiceHeader.doc-DjAVl-T4.js +30 -0
- package/dist/NiceImage.doc-COy4iVy1.js +34 -0
- package/dist/NiceImage.doc-CvnaTRj8.cjs +10 -0
- package/dist/NiceInPlaceEditor.doc-8nC6Kqvn.cjs +1 -0
- package/dist/NiceInPlaceEditor.doc-gF1XPyu5.js +25 -0
- package/dist/NiceInteractiveTimeline.doc-BTeASFR4.js +50 -0
- package/dist/NiceInteractiveTimeline.doc-WMOVQhMe.cjs +11 -0
- package/dist/NiceJsonEditor.doc-BpVa-AlY.js +31 -0
- package/dist/NiceJsonEditor.doc-DeyoVDQw.cjs +7 -0
- package/dist/NiceMegaMenu.doc-CO34gN43.cjs +7 -0
- package/dist/NiceMegaMenu.doc-DpchTBL6.js +31 -0
- package/dist/NiceMentionInput.doc-O0W58Unu.js +32 -0
- package/dist/NiceMentionInput.doc-ZSPjBsZc.cjs +8 -0
- package/dist/NiceModal-9uxWPAE_.cjs +1 -0
- package/dist/NiceModal-BPDP1Fi-.js +95 -0
- package/dist/NiceModal-CIITx65V.cjs +1 -0
- package/dist/NiceModal-CN23FZsc.js +95 -0
- package/dist/NiceModuleLifecyclePanel-BDnsr5ZW.js +6349 -0
- package/dist/NiceModuleLifecyclePanel-DF0Ay1oH.js +6349 -0
- package/dist/NiceModuleLifecyclePanel-F1uN0gMh.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-g_ZVFzoE.cjs +1 -0
- package/dist/NiceMotion.doc-COF5BldG.cjs +9 -0
- package/dist/NiceMotion.doc-utheTBgM.js +33 -0
- package/dist/NiceMultiColumnComboBox.doc-Ben0Q0J0.cjs +1 -0
- package/dist/NiceMultiColumnComboBox.doc-CK1DppZI.js +25 -0
- package/dist/NiceNotificationList.doc-CBWusjJX.cjs +7 -0
- package/dist/NiceNotificationList.doc-D7lQIxK0.js +31 -0
- package/dist/NiceOfflineSync.doc-BLQFyOf2.cjs +8 -0
- package/dist/NiceOfflineSync.doc-CKWFmR3b.js +32 -0
- package/dist/NicePagination-B4U0LwZy.js +171 -0
- package/dist/NicePagination-CGQf54a9.cjs +1 -0
- package/dist/NicePagination-D829pF7A.cjs +1 -0
- package/dist/NicePagination-D89Kst8b.js +171 -0
- package/dist/NicePinCodeInput-Bf_QcaPW.cjs +419 -0
- package/dist/NicePinCodeInput-Co42gC9R.js +11875 -0
- package/dist/NicePinCodeInput-DG_-eXXJ.cjs +419 -0
- package/dist/NicePinCodeInput-g-yUiepm.js +11875 -0
- package/dist/NicePreview.doc-Cl7_5MVR.js +30 -0
- package/dist/NicePreview.doc-atKISvmp.cjs +6 -0
- package/dist/NicePropertyGrid.doc-D6xljYe1.cjs +7 -0
- package/dist/NicePropertyGrid.doc-nX2etusg.js +31 -0
- package/dist/NiceRadio.doc-BTURz62X.js +27 -0
- package/dist/NiceRadio.doc-Cc8-1vbn.cjs +3 -0
- package/dist/NiceRecurrencePicker.doc-78HjPJm0.js +31 -0
- package/dist/NiceRecurrencePicker.doc-vC2YmCXF.cjs +7 -0
- package/dist/NiceRichTextEditor.doc-ClPCkzCd.cjs +6 -0
- package/dist/NiceRichTextEditor.doc-CtmV9UvX.js +30 -0
- package/dist/NiceSavedQueryPanel-BuvMBwIf.cjs +596 -0
- package/dist/NiceSavedQueryPanel-CE3QR4RY.js +6446 -0
- package/dist/NiceSavedQueryPanel-DR-j6eA5.js +6446 -0
- package/dist/NiceSavedQueryPanel-DSnj-3Es.cjs +596 -0
- package/dist/NiceSceneSelector.doc-CY2OmaWQ.cjs +7 -0
- package/dist/NiceSceneSelector.doc-UsVgDrw1.js +31 -0
- package/dist/NiceScrollArea.doc-C6Y-odUa.js +27 -0
- package/dist/NiceScrollArea.doc-LdxDrGDY.cjs +3 -0
- package/dist/NiceSheet.doc-CsIu3Y1G.cjs +11 -0
- package/dist/NiceSheet.doc-DLfSY-MA.js +35 -0
- package/dist/NiceSpeedDial.doc-CSWvNR9n.cjs +7 -0
- package/dist/NiceSpeedDial.doc-DqnpBcMy.js +31 -0
- package/dist/NiceSplitPane.doc-Ck_FvdL6.cjs +9 -0
- package/dist/NiceSplitPane.doc-Di68JZuy.js +33 -0
- package/dist/NiceSpotlight.doc-CM4PnsHE.js +34 -0
- package/dist/NiceSpotlight.doc-Dm_B-kUJ.cjs +10 -0
- package/dist/NiceStepNavigation.doc-DXraCs7t.js +31 -0
- package/dist/NiceStepNavigation.doc-TSy2dWmf.cjs +7 -0
- package/dist/NiceSteps.doc-C_mkhnez.cjs +10 -0
- package/dist/NiceSteps.doc-PW1zubHM.js +34 -0
- package/dist/NiceSwitch.doc-CLc7OxrE.cjs +6 -0
- package/dist/NiceSwitch.doc-dGMMY4es.js +30 -0
- package/dist/NiceTabs-32xjguOv.cjs +1 -0
- package/dist/NiceTabs-B6E7-er3.cjs +1 -0
- package/dist/NiceTabs-Blk0h4jY.js +1624 -0
- package/dist/NiceTabs-J2zAw8vC.js +1624 -0
- package/dist/NiceTransition.doc-BmImVoB8.js +35 -0
- package/dist/NiceTransition.doc-GA1N91ON.cjs +11 -0
- package/dist/NiceTree.doc-D7SCXljC.js +40 -0
- package/dist/NiceTree.doc-DZx3hUwY.cjs +16 -0
- package/dist/NiceUnitConverter.doc-DmiyYOH_.cjs +10 -0
- package/dist/NiceUnitConverter.doc-YnzD3uKT.js +34 -0
- package/dist/NiceVirtualGrid.doc-DI2c9ckY.js +35 -0
- package/dist/NiceVirtualGrid.doc-rtwudxTG.cjs +11 -0
- package/dist/NiceVirtualList.doc-BpoTiXoV.js +31 -0
- package/dist/NiceVirtualList.doc-C8q-Hfl0.cjs +7 -0
- package/dist/NiceWindow-6F_z4_18.js +1409 -0
- package/dist/NiceWindow-B4jA_-hi.js +1409 -0
- package/dist/NiceWindow-Bnh6rKt4.cjs +1 -0
- package/dist/NiceWindow-UpKllge7.cjs +1 -0
- package/dist/charts-0BEMJ0Xt.js +4657 -0
- package/dist/charts-CbxmU6Z2.cjs +761 -0
- package/dist/charts-DXkFBiD4.cjs +761 -0
- package/dist/charts-SHnY1_oD.js +4645 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +19 -19
- package/dist/charts.mjs +1 -1
- package/dist/core-BIA5_uSq.js +22316 -0
- package/dist/core-DQYnL6uf.cjs +96 -0
- package/dist/core-Dpfb_THi.js +22316 -0
- package/dist/core-DqlrEV-9.cjs +96 -0
- package/dist/data.cjs +1 -1
- package/dist/data.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.mjs +3 -3
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +10 -10
- package/dist/feedback.mjs +2 -2
- package/dist/index-BjBsn6ad.cjs +5194 -0
- package/dist/index-C2Uoywo9.js +63852 -0
- package/dist/index-GIkNMdRp.js +61439 -0
- package/dist/index-pQGuLKEE.cjs +5194 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1631 -53
- package/dist/index.mjs +943 -895
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +4 -3
- package/dist/lazy.mjs +3 -3
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.mjs +4 -4
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.mjs +2 -2
- package/dist/style.css +22 -7
- package/package.json +3 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceTransition", n = "Animation transition wrapper.", i = "utility", o = "1.0.0", a = "planned", s = [{ name: "children", type: "React.ReactNode", required: !0, description: "Content to animate" }, { name: "show", type: "boolean", required: !0, description: "Visibility trigger" }, { name: "enter", type: "string", description: "Enter class/animation" }, { name: "enterFrom", type: "string", description: "Enter from state" }, { name: "enterTo", type: "string", description: "Enter to state" }, { name: "leave", type: "string", description: "Leave class/animation" }, { name: "leaveFrom", type: "string", description: "Leave from state" }, { name: "leaveTo", type: "string", description: "Leave to state" }, { name: "appear", type: "boolean", default: "false", description: "Animate on initial mount" }, { name: "unmount", type: "boolean", default: "true", description: "Unmount when hidden" }], r = [{ title: "Transition", description: "Animated visibility", code: `<NiceTransition
|
|
2
|
+
show={isVisible}
|
|
3
|
+
enter="transition-opacity duration-300"
|
|
4
|
+
enterFrom="opacity-0"
|
|
5
|
+
enterTo="opacity-100"
|
|
6
|
+
leave="transition-opacity duration-200"
|
|
7
|
+
leaveFrom="opacity-100"
|
|
8
|
+
leaveTo="opacity-0"
|
|
9
|
+
>
|
|
10
|
+
<div>Animated content</div>
|
|
11
|
+
</NiceTransition>` }], c = { keyboard: [], aria: ["Motion safe handling"] }, p = ["NiceCollapse", "NiceAnimatePresence"], d = {
|
|
12
|
+
$schema: e,
|
|
13
|
+
name: t,
|
|
14
|
+
description: n,
|
|
15
|
+
category: i,
|
|
16
|
+
since: o,
|
|
17
|
+
status: a,
|
|
18
|
+
props: s,
|
|
19
|
+
examples: r,
|
|
20
|
+
accessibility: c,
|
|
21
|
+
seeAlso: p
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
e as $schema,
|
|
25
|
+
c as accessibility,
|
|
26
|
+
i as category,
|
|
27
|
+
d as default,
|
|
28
|
+
n as description,
|
|
29
|
+
r as examples,
|
|
30
|
+
t as name,
|
|
31
|
+
s as props,
|
|
32
|
+
p as seeAlso,
|
|
33
|
+
o as since,
|
|
34
|
+
a as status
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceTransition",n="Animation transition wrapper.",i="utility",o="1.0.0",a="planned",s=[{name:"children",type:"React.ReactNode",required:!0,description:"Content to animate"},{name:"show",type:"boolean",required:!0,description:"Visibility trigger"},{name:"enter",type:"string",description:"Enter class/animation"},{name:"enterFrom",type:"string",description:"Enter from state"},{name:"enterTo",type:"string",description:"Enter to state"},{name:"leave",type:"string",description:"Leave class/animation"},{name:"leaveFrom",type:"string",description:"Leave from state"},{name:"leaveTo",type:"string",description:"Leave to state"},{name:"appear",type:"boolean",default:"false",description:"Animate on initial mount"},{name:"unmount",type:"boolean",default:"true",description:"Unmount when hidden"}],r=[{title:"Transition",description:"Animated visibility",code:`<NiceTransition
|
|
2
|
+
show={isVisible}
|
|
3
|
+
enter="transition-opacity duration-300"
|
|
4
|
+
enterFrom="opacity-0"
|
|
5
|
+
enterTo="opacity-100"
|
|
6
|
+
leave="transition-opacity duration-200"
|
|
7
|
+
leaveFrom="opacity-100"
|
|
8
|
+
leaveTo="opacity-0"
|
|
9
|
+
>
|
|
10
|
+
<div>Animated content</div>
|
|
11
|
+
</NiceTransition>`}],c={keyboard:[],aria:["Motion safe handling"]},p=["NiceCollapse","NiceAnimatePresence"],d={$schema:e,name:t,description:n,category:i,since:o,status:a,props:s,examples:r,accessibility:c,seeAlso:p};exports.$schema=e;exports.accessibility=c;exports.category=i;exports.default=d;exports.description=n;exports.examples=r;exports.name=t;exports.props=s;exports.seeAlso=p;exports.since=o;exports.status=a;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", n = "NiceTree", t = "Tree component for hierarchical data display.", o = "display", c = "1.0.0", a = "planned", i = [{ name: "treeData", type: "TreeNode[]", required: !0, description: "Tree data" }, { name: "defaultExpandedKeys", type: "string[]", description: "Default expanded keys" }, { name: "defaultSelectedKeys", type: "string[]", description: "Default selected keys" }, { name: "defaultCheckedKeys", type: "string[]", description: "Default checked keys" }, { name: "checkable", type: "boolean", default: "false", description: "Show checkboxes" }, { name: "selectable", type: "boolean", default: "true", description: "Enable selection" }, { name: "draggable", type: "boolean", default: "false", description: "Enable drag and drop" }, { name: "showLine", type: "boolean", default: "false", description: "Show connection lines" }, { name: "showIcon", type: "boolean", default: "false", description: "Show icons" }, { name: "onSelect", type: "(keys: string[], info: object) => void", description: "Selection callback" }, { name: "onCheck", type: "(keys: string[], info: object) => void", description: "Check callback" }, { name: "onDrop", type: "(info: DropInfo) => void", description: "Drop callback" }], s = [{ title: "Tree", description: "Hierarchical tree", code: `<NiceTree
|
|
2
|
+
treeData={[
|
|
3
|
+
{
|
|
4
|
+
title: 'Parent',
|
|
5
|
+
key: 'parent',
|
|
6
|
+
children: [
|
|
7
|
+
{ title: 'Child 1', key: 'child1' },
|
|
8
|
+
{ title: 'Child 2', key: 'child2' }
|
|
9
|
+
]
|
|
10
|
+
}
|
|
11
|
+
]}
|
|
12
|
+
checkable
|
|
13
|
+
draggable
|
|
14
|
+
showLine
|
|
15
|
+
onSelect={(keys) => console.log('Selected:', keys)}
|
|
16
|
+
/>` }], l = { keyboard: ["Arrow keys to navigate", "Space to check", "Enter to select"], aria: ["Tree role", "Expanded/collapsed state"] }, d = ["NiceTreeView", "NiceTreeSelect"], r = {
|
|
17
|
+
$schema: e,
|
|
18
|
+
name: n,
|
|
19
|
+
description: t,
|
|
20
|
+
category: o,
|
|
21
|
+
since: c,
|
|
22
|
+
status: a,
|
|
23
|
+
props: i,
|
|
24
|
+
examples: s,
|
|
25
|
+
accessibility: l,
|
|
26
|
+
seeAlso: d
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
e as $schema,
|
|
30
|
+
l as accessibility,
|
|
31
|
+
o as category,
|
|
32
|
+
r as default,
|
|
33
|
+
t as description,
|
|
34
|
+
s as examples,
|
|
35
|
+
n as name,
|
|
36
|
+
i as props,
|
|
37
|
+
d as seeAlso,
|
|
38
|
+
c as since,
|
|
39
|
+
a as status
|
|
40
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceTree",n="Tree component for hierarchical data display.",o="display",c="1.0.0",a="planned",s=[{name:"treeData",type:"TreeNode[]",required:!0,description:"Tree data"},{name:"defaultExpandedKeys",type:"string[]",description:"Default expanded keys"},{name:"defaultSelectedKeys",type:"string[]",description:"Default selected keys"},{name:"defaultCheckedKeys",type:"string[]",description:"Default checked keys"},{name:"checkable",type:"boolean",default:"false",description:"Show checkboxes"},{name:"selectable",type:"boolean",default:"true",description:"Enable selection"},{name:"draggable",type:"boolean",default:"false",description:"Enable drag and drop"},{name:"showLine",type:"boolean",default:"false",description:"Show connection lines"},{name:"showIcon",type:"boolean",default:"false",description:"Show icons"},{name:"onSelect",type:"(keys: string[], info: object) => void",description:"Selection callback"},{name:"onCheck",type:"(keys: string[], info: object) => void",description:"Check callback"},{name:"onDrop",type:"(info: DropInfo) => void",description:"Drop callback"}],i=[{title:"Tree",description:"Hierarchical tree",code:`<NiceTree
|
|
2
|
+
treeData={[
|
|
3
|
+
{
|
|
4
|
+
title: 'Parent',
|
|
5
|
+
key: 'parent',
|
|
6
|
+
children: [
|
|
7
|
+
{ title: 'Child 1', key: 'child1' },
|
|
8
|
+
{ title: 'Child 2', key: 'child2' }
|
|
9
|
+
]
|
|
10
|
+
}
|
|
11
|
+
]}
|
|
12
|
+
checkable
|
|
13
|
+
draggable
|
|
14
|
+
showLine
|
|
15
|
+
onSelect={(keys) => console.log('Selected:', keys)}
|
|
16
|
+
/>`}],l={keyboard:["Arrow keys to navigate","Space to check","Enter to select"],aria:["Tree role","Expanded/collapsed state"]},r=["NiceTreeView","NiceTreeSelect"],d={$schema:e,name:t,description:n,category:o,since:c,status:a,props:s,examples:i,accessibility:l,seeAlso:r};exports.$schema=e;exports.accessibility=l;exports.category=o;exports.default=d;exports.description=n;exports.examples=i;exports.name=t;exports.props=s;exports.seeAlso=r;exports.since=c;exports.status=a;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceUnitConverter",n="Unit converter for various measurement types.",i="tools",o="1.0.0",r="planned",s=[{name:"value",type:"number",required:!0,description:"Input value"},{name:"onChange",type:"(value: number) => void",required:!0,description:"Change callback"},{name:"fromUnit",type:"string",required:!0,description:"Source unit"},{name:"toUnit",type:"string",required:!0,description:"Target unit"},{name:"onFromUnitChange",type:"(unit: string) => void",description:"From unit change"},{name:"onToUnitChange",type:"(unit: string) => void",description:"To unit change"},{name:"category",type:"'length' | 'weight' | 'temperature' | 'volume' | 'area' | 'speed'",required:!0,description:"Unit category"},{name:"showSwap",type:"boolean",default:"true",description:"Show swap button"},{name:"precision",type:"number",default:"4",description:"Decimal precision"}],a=[{title:"Unit Converter",description:"Convert units",code:`<NiceUnitConverter
|
|
2
|
+
value={inputValue}
|
|
3
|
+
onChange={setInputValue}
|
|
4
|
+
fromUnit="km"
|
|
5
|
+
toUnit="mi"
|
|
6
|
+
onFromUnitChange={setFromUnit}
|
|
7
|
+
onToUnitChange={setToUnit}
|
|
8
|
+
category="length"
|
|
9
|
+
showSwap
|
|
10
|
+
/>`}],c={keyboard:["Tab through fields"],aria:["Unit converter","Input and output values"]},u=["NiceCalculator","NiceNumericInput"],p={$schema:e,name:t,description:n,category:i,since:o,status:r,props:s,examples:a,accessibility:c,seeAlso:u};exports.$schema=e;exports.accessibility=c;exports.category=i;exports.default=p;exports.description=n;exports.examples=a;exports.name=t;exports.props=s;exports.seeAlso=u;exports.since=o;exports.status=r;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", n = "NiceUnitConverter", t = "Unit converter for various measurement types.", o = "tools", i = "1.0.0", r = "planned", a = [{ name: "value", type: "number", required: !0, description: "Input value" }, { name: "onChange", type: "(value: number) => void", required: !0, description: "Change callback" }, { name: "fromUnit", type: "string", required: !0, description: "Source unit" }, { name: "toUnit", type: "string", required: !0, description: "Target unit" }, { name: "onFromUnitChange", type: "(unit: string) => void", description: "From unit change" }, { name: "onToUnitChange", type: "(unit: string) => void", description: "To unit change" }, { name: "category", type: "'length' | 'weight' | 'temperature' | 'volume' | 'area' | 'speed'", required: !0, description: "Unit category" }, { name: "showSwap", type: "boolean", default: "true", description: "Show swap button" }, { name: "precision", type: "number", default: "4", description: "Decimal precision" }], s = [{ title: "Unit Converter", description: "Convert units", code: `<NiceUnitConverter
|
|
2
|
+
value={inputValue}
|
|
3
|
+
onChange={setInputValue}
|
|
4
|
+
fromUnit="km"
|
|
5
|
+
toUnit="mi"
|
|
6
|
+
onFromUnitChange={setFromUnit}
|
|
7
|
+
onToUnitChange={setToUnit}
|
|
8
|
+
category="length"
|
|
9
|
+
showSwap
|
|
10
|
+
/>` }], c = { keyboard: ["Tab through fields"], aria: ["Unit converter", "Input and output values"] }, u = ["NiceCalculator", "NiceNumericInput"], p = {
|
|
11
|
+
$schema: e,
|
|
12
|
+
name: n,
|
|
13
|
+
description: t,
|
|
14
|
+
category: o,
|
|
15
|
+
since: i,
|
|
16
|
+
status: r,
|
|
17
|
+
props: a,
|
|
18
|
+
examples: s,
|
|
19
|
+
accessibility: c,
|
|
20
|
+
seeAlso: u
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
e as $schema,
|
|
24
|
+
c as accessibility,
|
|
25
|
+
o as category,
|
|
26
|
+
p as default,
|
|
27
|
+
t as description,
|
|
28
|
+
s as examples,
|
|
29
|
+
n as name,
|
|
30
|
+
a as props,
|
|
31
|
+
u as seeAlso,
|
|
32
|
+
i as since,
|
|
33
|
+
r as status
|
|
34
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", i = "NiceVirtualGrid", r = "Virtualized grid for large datasets.", t = "display", n = "1.0.0", o = "planned", d = [{ name: "items", type: "T[]", required: !0, description: "Grid items" }, { name: "renderItem", type: "(item: T, index: number) => React.ReactNode", required: !0, description: "Item renderer" }, { name: "columnCount", type: "number", required: !0, description: "Number of columns" }, { name: "rowHeight", type: "number | ((rowIndex: number) => number)", required: !0, description: "Row height" }, { name: "columnWidth", type: "number | ((colIndex: number) => number)", required: !0, description: "Column width" }, { name: "height", type: "number", required: !0, description: "Container height" }, { name: "width", type: "number", required: !0, description: "Container width" }, { name: "overscanRows", type: "number", default: "2", description: "Overscan rows" }, { name: "overscanColumns", type: "number", default: "2", description: "Overscan columns" }], c = [{ title: "Virtual Grid", description: "Large grid virtualization", code: `<NiceVirtualGrid
|
|
2
|
+
items={Array.from({ length: 10000 }, (_, i) => ({ id: i }))}
|
|
3
|
+
columnCount={4}
|
|
4
|
+
rowHeight={150}
|
|
5
|
+
columnWidth={200}
|
|
6
|
+
height={600}
|
|
7
|
+
width={800}
|
|
8
|
+
renderItem={(item) => (
|
|
9
|
+
<div key={item.id}>Cell {item.id}</div>
|
|
10
|
+
)}
|
|
11
|
+
/>` }], a = { keyboard: ["Arrow keys navigation"], aria: ["grid role", "aria-rowcount", "aria-colcount"] }, s = ["NiceVirtualList", "NiceDataGrid"], u = {
|
|
12
|
+
$schema: e,
|
|
13
|
+
name: i,
|
|
14
|
+
description: r,
|
|
15
|
+
category: t,
|
|
16
|
+
since: n,
|
|
17
|
+
status: o,
|
|
18
|
+
props: d,
|
|
19
|
+
examples: c,
|
|
20
|
+
accessibility: a,
|
|
21
|
+
seeAlso: s
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
e as $schema,
|
|
25
|
+
a as accessibility,
|
|
26
|
+
t as category,
|
|
27
|
+
u as default,
|
|
28
|
+
r as description,
|
|
29
|
+
c as examples,
|
|
30
|
+
i as name,
|
|
31
|
+
d as props,
|
|
32
|
+
s as seeAlso,
|
|
33
|
+
n as since,
|
|
34
|
+
o as status
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceVirtualGrid",i="Virtualized grid for large datasets.",r="display",n="1.0.0",o="planned",s=[{name:"items",type:"T[]",required:!0,description:"Grid items"},{name:"renderItem",type:"(item: T, index: number) => React.ReactNode",required:!0,description:"Item renderer"},{name:"columnCount",type:"number",required:!0,description:"Number of columns"},{name:"rowHeight",type:"number | ((rowIndex: number) => number)",required:!0,description:"Row height"},{name:"columnWidth",type:"number | ((colIndex: number) => number)",required:!0,description:"Column width"},{name:"height",type:"number",required:!0,description:"Container height"},{name:"width",type:"number",required:!0,description:"Container width"},{name:"overscanRows",type:"number",default:"2",description:"Overscan rows"},{name:"overscanColumns",type:"number",default:"2",description:"Overscan columns"}],c=[{title:"Virtual Grid",description:"Large grid virtualization",code:`<NiceVirtualGrid
|
|
2
|
+
items={Array.from({ length: 10000 }, (_, i) => ({ id: i }))}
|
|
3
|
+
columnCount={4}
|
|
4
|
+
rowHeight={150}
|
|
5
|
+
columnWidth={200}
|
|
6
|
+
height={600}
|
|
7
|
+
width={800}
|
|
8
|
+
renderItem={(item) => (
|
|
9
|
+
<div key={item.id}>Cell {item.id}</div>
|
|
10
|
+
)}
|
|
11
|
+
/>`}],a={keyboard:["Arrow keys navigation"],aria:["grid role","aria-rowcount","aria-colcount"]},d=["NiceVirtualList","NiceDataGrid"],u={$schema:e,name:t,description:i,category:r,since:n,status:o,props:s,examples:c,accessibility:a,seeAlso:d};exports.$schema=e;exports.accessibility=a;exports.category=r;exports.default=u;exports.description=i;exports.examples=c;exports.name=t;exports.props=s;exports.seeAlso=d;exports.since=n;exports.status=o;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceVirtualList", i = "Virtualized list for rendering large datasets efficiently.", n = "data", r = "1.0.0", s = "planned", o = [{ name: "items", type: "T[]", required: !0, description: "List items" }, { name: "renderItem", type: "(item: T, index: number) => React.ReactNode", required: !0, description: "Item renderer" }, { name: "itemHeight", type: "number | ((index: number) => number)", required: !0, description: "Item height" }, { name: "height", type: "number | string", required: !0, description: "Container height" }, { name: "width", type: "number | string", default: "'100%'", description: "Container width" }, { name: "overscan", type: "number", default: "5", description: "Overscan count" }, { name: "onScroll", type: "(offset: number) => void", description: "Scroll callback" }, { name: "keyExtractor", type: "(item: T, index: number) => string", description: "Key extractor" }], c = [{ title: "Virtual List", description: "Virtualized rendering", code: `<NiceVirtualList
|
|
2
|
+
items={largeDataset}
|
|
3
|
+
renderItem={(item) => <ListItem {...item} />}
|
|
4
|
+
itemHeight={50}
|
|
5
|
+
height={600}
|
|
6
|
+
overscan={10}
|
|
7
|
+
/>` }], a = { keyboard: ["Arrow keys to scroll"], aria: ["List role", "Item positions"] }, d = ["NiceInfiniteScroll", "NiceDataGrid"], m = {
|
|
8
|
+
$schema: e,
|
|
9
|
+
name: t,
|
|
10
|
+
description: i,
|
|
11
|
+
category: n,
|
|
12
|
+
since: r,
|
|
13
|
+
status: s,
|
|
14
|
+
props: o,
|
|
15
|
+
examples: c,
|
|
16
|
+
accessibility: a,
|
|
17
|
+
seeAlso: d
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as $schema,
|
|
21
|
+
a as accessibility,
|
|
22
|
+
n as category,
|
|
23
|
+
m as default,
|
|
24
|
+
i as description,
|
|
25
|
+
c as examples,
|
|
26
|
+
t as name,
|
|
27
|
+
o as props,
|
|
28
|
+
d as seeAlso,
|
|
29
|
+
r as since,
|
|
30
|
+
s as status
|
|
31
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceVirtualList",i="Virtualized list for rendering large datasets efficiently.",n="data",r="1.0.0",s="planned",c=[{name:"items",type:"T[]",required:!0,description:"List items"},{name:"renderItem",type:"(item: T, index: number) => React.ReactNode",required:!0,description:"Item renderer"},{name:"itemHeight",type:"number | ((index: number) => number)",required:!0,description:"Item height"},{name:"height",type:"number | string",required:!0,description:"Container height"},{name:"width",type:"number | string",default:"'100%'",description:"Container width"},{name:"overscan",type:"number",default:"5",description:"Overscan count"},{name:"onScroll",type:"(offset: number) => void",description:"Scroll callback"},{name:"keyExtractor",type:"(item: T, index: number) => string",description:"Key extractor"}],o=[{title:"Virtual List",description:"Virtualized rendering",code:`<NiceVirtualList
|
|
2
|
+
items={largeDataset}
|
|
3
|
+
renderItem={(item) => <ListItem {...item} />}
|
|
4
|
+
itemHeight={50}
|
|
5
|
+
height={600}
|
|
6
|
+
overscan={10}
|
|
7
|
+
/>`}],a={keyboard:["Arrow keys to scroll"],aria:["List role","Item positions"]},d=["NiceInfiniteScroll","NiceDataGrid"],m={$schema:e,name:t,description:i,category:n,since:r,status:s,props:c,examples:o,accessibility:a,seeAlso:d};exports.$schema=e;exports.accessibility=a;exports.category=n;exports.default=m;exports.description=i;exports.examples=o;exports.name=t;exports.props=c;exports.seeAlso=d;exports.since=r;exports.status=s;
|