@health-samurai/react-components 0.0.0-alpha.4 → 0.0.0-alpha.6
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/bundle.css +1375 -484
- package/dist/src/components/code-editor/http/grammar/http.d.ts +3 -0
- package/dist/src/components/code-editor/http/grammar/http.d.ts.map +1 -0
- package/dist/src/components/code-editor/http/grammar/http.grammar +74 -0
- package/dist/src/components/code-editor/http/grammar/http.js +38 -0
- package/dist/src/components/code-editor/http/grammar/http.js.map +1 -0
- package/dist/src/components/code-editor/http/grammar/http.terms.d.ts +2 -0
- package/dist/src/components/code-editor/http/grammar/http.terms.d.ts.map +1 -0
- package/dist/src/components/code-editor/http/grammar/http.terms.js +4 -0
- package/dist/src/components/code-editor/http/grammar/http.terms.js.map +1 -0
- package/dist/src/components/code-editor/http/grammar/http.test.d.ts +2 -0
- package/dist/src/components/code-editor/http/grammar/http.test.d.ts.map +1 -0
- package/dist/src/components/code-editor/http/grammar/http.test.js +80 -0
- package/dist/src/components/code-editor/http/grammar/http.test.js.map +1 -0
- package/dist/src/components/code-editor/http/index.d.ts +4 -0
- package/dist/src/components/code-editor/http/index.d.ts.map +1 -0
- package/dist/src/components/code-editor/http/index.js +66 -0
- package/dist/src/components/code-editor/http/index.js.map +1 -0
- package/dist/src/components/code-editor/index.d.ts +14 -2
- package/dist/src/components/code-editor/index.d.ts.map +1 -1
- package/dist/src/components/code-editor/index.js +309 -20
- package/dist/src/components/code-editor/index.js.map +1 -1
- package/dist/src/components/code-editor.stories.d.ts +1 -0
- package/dist/src/components/code-editor.stories.d.ts.map +1 -1
- package/dist/src/components/code-editor.stories.js +255 -2
- package/dist/src/components/code-editor.stories.js.map +1 -1
- package/dist/src/components/copy-icon.d.ts +5 -1
- package/dist/src/components/copy-icon.d.ts.map +1 -1
- package/dist/src/components/copy-icon.js +41 -3
- package/dist/src/components/copy-icon.js.map +1 -1
- package/dist/src/components/data-table.d.ts +8 -0
- package/dist/src/components/data-table.d.ts.map +1 -0
- package/dist/src/components/data-table.js +65 -0
- package/dist/src/components/data-table.js.map +1 -0
- package/dist/src/components/data-table.stories.d.ts +7 -0
- package/dist/src/components/data-table.stories.d.ts.map +1 -0
- package/dist/src/components/data-table.stories.js +44 -0
- package/dist/src/components/data-table.stories.js.map +1 -0
- package/dist/src/components/fhir-structure-view.d.ts +34 -0
- package/dist/src/components/fhir-structure-view.d.ts.map +1 -0
- package/dist/src/components/fhir-structure-view.js +229 -0
- package/dist/src/components/fhir-structure-view.js.map +1 -0
- package/dist/src/components/fhir-structure-view.stories.d.ts +7 -0
- package/dist/src/components/fhir-structure-view.stories.d.ts.map +1 -0
- package/dist/src/components/fhir-structure-view.stories.js +447 -0
- package/dist/src/components/fhir-structure-view.stories.js.map +1 -0
- package/dist/src/components/patient-table.d.ts +73 -0
- package/dist/src/components/patient-table.d.ts.map +1 -0
- package/dist/src/components/patient-table.js +921 -0
- package/dist/src/components/patient-table.js.map +1 -0
- package/dist/src/components/patient-table.stories.d.ts +111 -0
- package/dist/src/components/patient-table.stories.d.ts.map +1 -0
- package/dist/src/components/patient-table.stories.js +172 -0
- package/dist/src/components/patient-table.stories.js.map +1 -0
- package/dist/src/components/request-line-editor.d.ts +13 -35
- package/dist/src/components/request-line-editor.d.ts.map +1 -1
- package/dist/src/components/request-line-editor.js +72 -49
- package/dist/src/components/request-line-editor.js.map +1 -1
- package/dist/src/components/request-line-editor.stories.d.ts.map +1 -1
- package/dist/src/components/request-line-editor.stories.js +17 -53
- package/dist/src/components/request-line-editor.stories.js.map +1 -1
- package/dist/src/components/segment-control.d.ts +16 -0
- package/dist/src/components/segment-control.d.ts.map +1 -0
- package/dist/src/components/segment-control.js +48 -0
- package/dist/src/components/segment-control.js.map +1 -0
- package/dist/src/components/segment-control.stories.d.ts +15 -0
- package/dist/src/components/segment-control.stories.d.ts.map +1 -0
- package/dist/src/components/segment-control.stories.js +33 -0
- package/dist/src/components/segment-control.stories.js.map +1 -0
- package/dist/src/components/split-button.d.ts +5 -0
- package/dist/src/components/split-button.d.ts.map +1 -0
- package/dist/src/components/split-button.js +12 -0
- package/dist/src/components/split-button.js.map +1 -0
- package/dist/src/components/split-button.stories.d.ts +7 -0
- package/dist/src/components/split-button.stories.d.ts.map +1 -0
- package/dist/src/components/split-button.stories.js +57 -0
- package/dist/src/components/split-button.stories.js.map +1 -0
- package/dist/src/components/tree-view.d.ts +22 -0
- package/dist/src/components/tree-view.d.ts.map +1 -0
- package/dist/src/components/tree-view.js +101 -0
- package/dist/src/components/tree-view.js.map +1 -0
- package/dist/src/components/tree-view.stories.d.ts +13 -0
- package/dist/src/components/tree-view.stories.d.ts.map +1 -0
- package/dist/src/components/tree-view.stories.js +274 -0
- package/dist/src/components/tree-view.stories.js.map +1 -0
- package/dist/src/icons.d.ts +9 -0
- package/dist/src/icons.d.ts.map +1 -0
- package/dist/src/icons.js +279 -0
- package/dist/src/icons.js.map +1 -0
- package/dist/src/index.css +42 -3
- package/dist/src/index.d.ts +9 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +9 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/shadcn/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/accordion.js +23 -5
- package/dist/src/shadcn/components/ui/accordion.js.map +1 -1
- package/dist/src/shadcn/components/ui/alert-dialog.d.ts +3 -1
- package/dist/src/shadcn/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/alert-dialog.js +5 -2
- package/dist/src/shadcn/components/ui/alert-dialog.js.map +1 -1
- package/dist/src/shadcn/components/ui/alert.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/alert.js +12 -5
- package/dist/src/shadcn/components/ui/alert.js.map +1 -1
- package/dist/src/shadcn/components/ui/avatar.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/avatar.js +4 -3
- package/dist/src/shadcn/components/ui/avatar.js.map +1 -1
- package/dist/src/shadcn/components/ui/badge.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/badge.js +16 -5
- package/dist/src/shadcn/components/ui/badge.js.map +1 -1
- package/dist/src/shadcn/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/breadcrumb.js +6 -6
- package/dist/src/shadcn/components/ui/breadcrumb.js.map +1 -1
- package/dist/src/shadcn/components/ui/button.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/button.js +19 -11
- package/dist/src/shadcn/components/ui/button.js.map +1 -1
- package/dist/src/shadcn/components/ui/card.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/card.js +14 -6
- package/dist/src/shadcn/components/ui/card.js.map +1 -1
- package/dist/src/shadcn/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/checkbox.js +20 -5
- package/dist/src/shadcn/components/ui/checkbox.js.map +1 -1
- package/dist/src/shadcn/components/ui/checkbox.stories.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/checkbox.stories.js +44 -35
- package/dist/src/shadcn/components/ui/checkbox.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/combobox.d.ts +18 -0
- package/dist/src/shadcn/components/ui/combobox.d.ts.map +1 -0
- package/dist/src/shadcn/components/ui/combobox.js +121 -0
- package/dist/src/shadcn/components/ui/combobox.js.map +1 -0
- package/dist/src/shadcn/components/ui/combobox.stories.d.ts +11 -0
- package/dist/src/shadcn/components/ui/combobox.stories.d.ts.map +1 -0
- package/dist/src/shadcn/components/ui/combobox.stories.js +16 -0
- package/dist/src/shadcn/components/ui/combobox.stories.js.map +1 -0
- package/dist/src/shadcn/components/ui/command.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/command.js +73 -12
- package/dist/src/shadcn/components/ui/command.js.map +1 -1
- package/dist/src/shadcn/components/ui/command.stories.js +0 -1
- package/dist/src/shadcn/components/ui/command.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/dialog.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/dialog.js +35 -7
- package/dist/src/shadcn/components/ui/dialog.js.map +1 -1
- package/dist/src/shadcn/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/drawer.js +26 -5
- package/dist/src/shadcn/components/ui/drawer.js.map +1 -1
- package/dist/src/shadcn/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/dropdown-menu.js +12 -1
- package/dist/src/shadcn/components/ui/dropdown-menu.js.map +1 -1
- package/dist/src/shadcn/components/ui/form.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/form.js +12 -4
- package/dist/src/shadcn/components/ui/form.js.map +1 -1
- package/dist/src/shadcn/components/ui/input.d.ts +3 -1
- package/dist/src/shadcn/components/ui/input.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/input.js +126 -17
- package/dist/src/shadcn/components/ui/input.js.map +1 -1
- package/dist/src/shadcn/components/ui/label.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/label.js +8 -1
- package/dist/src/shadcn/components/ui/label.js.map +1 -1
- package/dist/src/shadcn/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/menubar.js +35 -13
- package/dist/src/shadcn/components/ui/menubar.js.map +1 -1
- package/dist/src/shadcn/components/ui/pagination.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/pagination.js +6 -6
- package/dist/src/shadcn/components/ui/pagination.js.map +1 -1
- package/dist/src/shadcn/components/ui/popover.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/popover.js +12 -1
- package/dist/src/shadcn/components/ui/popover.js.map +1 -1
- package/dist/src/shadcn/components/ui/progress.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/progress.js +6 -2
- package/dist/src/shadcn/components/ui/progress.js.map +1 -1
- package/dist/src/shadcn/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/radio-group.js +11 -6
- package/dist/src/shadcn/components/ui/radio-group.js.map +1 -1
- package/dist/src/shadcn/components/ui/radio-group.stories.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/radio-group.stories.js +57 -34
- package/dist/src/shadcn/components/ui/radio-group.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/scroll-area.js +9 -3
- package/dist/src/shadcn/components/ui/scroll-area.js.map +1 -1
- package/dist/src/shadcn/components/ui/select.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/select.js +49 -14
- package/dist/src/shadcn/components/ui/select.js.map +1 -1
- package/dist/src/shadcn/components/ui/select.stories.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/select.stories.js +1 -4
- package/dist/src/shadcn/components/ui/select.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/separator.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/separator.js +7 -1
- package/dist/src/shadcn/components/ui/separator.js.map +1 -1
- package/dist/src/shadcn/components/ui/sidebar.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/sidebar.js +20 -6
- package/dist/src/shadcn/components/ui/sidebar.js.map +1 -1
- package/dist/src/shadcn/components/ui/skeleton.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/skeleton.js +3 -1
- package/dist/src/shadcn/components/ui/skeleton.js.map +1 -1
- package/dist/src/shadcn/components/ui/slider.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/slider.js +34 -4
- package/dist/src/shadcn/components/ui/slider.js.map +1 -1
- package/dist/src/shadcn/components/ui/sonner.d.ts +16 -1
- package/dist/src/shadcn/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/sonner.js +23 -3
- package/dist/src/shadcn/components/ui/sonner.js.map +1 -1
- package/dist/src/shadcn/components/ui/sonner.stories.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/sonner.stories.js +19 -11
- package/dist/src/shadcn/components/ui/sonner.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/switch.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/switch.js +18 -2
- package/dist/src/shadcn/components/ui/switch.js.map +1 -1
- package/dist/src/shadcn/components/ui/table.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/table.js +12 -8
- package/dist/src/shadcn/components/ui/table.js.map +1 -1
- package/dist/src/shadcn/components/ui/tabs.d.ts +21 -3
- package/dist/src/shadcn/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/tabs.js +315 -9
- package/dist/src/shadcn/components/ui/tabs.js.map +1 -1
- package/dist/src/shadcn/components/ui/tabs.stories.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/tabs.stories.js +50 -1
- package/dist/src/shadcn/components/ui/tabs.stories.js.map +1 -1
- package/dist/src/shadcn/components/ui/textarea.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/textarea.js +15 -1
- package/dist/src/shadcn/components/ui/textarea.js.map +1 -1
- package/dist/src/shadcn/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/toggle-group.js +6 -2
- package/dist/src/shadcn/components/ui/toggle-group.js.map +1 -1
- package/dist/src/shadcn/components/ui/toggle.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/toggle.js +18 -6
- package/dist/src/shadcn/components/ui/toggle.js.map +1 -1
- package/dist/src/shadcn/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/shadcn/components/ui/tooltip.js +11 -1
- package/dist/src/shadcn/components/ui/tooltip.js.map +1 -1
- package/dist/src/shadcn/components/ui/tree.d.ts +28 -0
- package/dist/src/shadcn/components/ui/tree.d.ts.map +1 -0
- package/dist/src/shadcn/components/ui/tree.js +122 -0
- package/dist/src/shadcn/components/ui/tree.js.map +1 -0
- package/dist/src/typography.css +12 -0
- package/package.json +13 -2
- package/src/components/code-editor/http/grammar/http.grammar +74 -0
- package/src/components/code-editor/http/grammar/http.terms.ts +9 -0
- package/src/components/code-editor/http/grammar/http.test.ts +110 -0
- package/src/components/code-editor/http/grammar/http.ts +21 -0
- package/src/components/code-editor/http/index.ts +87 -0
- package/src/components/code-editor/index.tsx +307 -21
- package/src/components/code-editor.stories.tsx +295 -1
- package/src/components/copy-icon.tsx +57 -3
- package/src/components/data-table.stories.tsx +38 -0
- package/src/components/data-table.tsx +117 -0
- package/src/components/fhir-structure-view.stories.tsx +439 -0
- package/src/components/fhir-structure-view.tsx +231 -0
- package/src/components/patient-table.stories.tsx +111 -0
- package/src/components/patient-table.tsx +1301 -0
- package/src/components/request-line-editor.stories.tsx +17 -27
- package/src/components/request-line-editor.tsx +98 -61
- package/src/components/segment-control.stories.tsx +29 -0
- package/src/components/segment-control.tsx +80 -0
- package/src/components/split-button.stories.tsx +49 -0
- package/src/components/split-button.tsx +17 -0
- package/src/components/tree-view.stories.tsx +259 -0
- package/src/components/tree-view.tsx +172 -0
- package/src/icons.tsx +287 -0
- package/src/index.css +42 -3
- package/src/index.tsx +9 -2
- package/src/shadcn/components/ui/accordion.tsx +66 -8
- package/src/shadcn/components/ui/alert-dialog.tsx +6 -2
- package/src/shadcn/components/ui/alert.tsx +53 -15
- package/src/shadcn/components/ui/avatar.tsx +17 -6
- package/src/shadcn/components/ui/badge.tsx +67 -18
- package/src/shadcn/components/ui/breadcrumb.tsx +35 -7
- package/src/shadcn/components/ui/button.tsx +118 -57
- package/src/shadcn/components/ui/card.tsx +44 -13
- package/src/shadcn/components/ui/checkbox.stories.tsx +20 -24
- package/src/shadcn/components/ui/checkbox.tsx +45 -4
- package/src/shadcn/components/ui/combobox.stories.tsx +19 -0
- package/src/shadcn/components/ui/combobox.tsx +142 -0
- package/src/shadcn/components/ui/command.stories.tsx +1 -1
- package/src/shadcn/components/ui/command.tsx +192 -36
- package/src/shadcn/components/ui/dialog.tsx +101 -13
- package/src/shadcn/components/ui/drawer.tsx +93 -18
- package/src/shadcn/components/ui/dropdown-menu.tsx +37 -9
- package/src/shadcn/components/ui/form.tsx +16 -4
- package/src/shadcn/components/ui/input.tsx +400 -29
- package/src/shadcn/components/ui/label.tsx +21 -4
- package/src/shadcn/components/ui/menubar.tsx +188 -43
- package/src/shadcn/components/ui/pagination.tsx +12 -6
- package/src/shadcn/components/ui/popover.tsx +35 -4
- package/src/shadcn/components/ui/progress.tsx +21 -5
- package/src/shadcn/components/ui/radio-group.stories.tsx +22 -14
- package/src/shadcn/components/ui/radio-group.tsx +42 -5
- package/src/shadcn/components/ui/scroll-area.tsx +33 -5
- package/src/shadcn/components/ui/select.stories.tsx +0 -2
- package/src/shadcn/components/ui/select.tsx +184 -33
- package/src/shadcn/components/ui/separator.tsx +15 -5
- package/src/shadcn/components/ui/sidebar.tsx +68 -26
- package/src/shadcn/components/ui/skeleton.tsx +4 -1
- package/src/shadcn/components/ui/slider.tsx +82 -11
- package/src/shadcn/components/ui/sonner.stories.tsx +19 -15
- package/src/shadcn/components/ui/sonner.tsx +53 -3
- package/src/shadcn/components/ui/switch.tsx +53 -7
- package/src/shadcn/components/ui/table.tsx +38 -11
- package/src/shadcn/components/ui/tabs.stories.tsx +32 -0
- package/src/shadcn/components/ui/tabs.tsx +456 -17
- package/src/shadcn/components/ui/textarea.tsx +42 -4
- package/src/shadcn/components/ui/toggle-group.tsx +27 -5
- package/src/shadcn/components/ui/toggle.tsx +59 -18
- package/src/shadcn/components/ui/tooltip.tsx +33 -8
- package/src/shadcn/components/ui/tree.tsx +233 -0
- package/src/typography.css +12 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const PlayIcon = ()=>{
|
|
3
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
4
|
+
width: "16",
|
|
5
|
+
height: "16",
|
|
6
|
+
viewBox: "0 0 16 16",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"aria-label": "Play",
|
|
10
|
+
role: "img",
|
|
11
|
+
children: [
|
|
12
|
+
/*#__PURE__*/ _jsx("title", {
|
|
13
|
+
children: "Play"
|
|
14
|
+
}),
|
|
15
|
+
/*#__PURE__*/ _jsx("path", {
|
|
16
|
+
d: "M3.76074 1.56153C3.92124 1.47395 4.11669 1.48025 4.27051 1.57911L13.6035 7.57911C13.7466 7.67111 13.833 7.82988 13.833 8.00001C13.833 8.17014 13.7466 8.32891 13.6035 8.42091L4.27051 14.4209C4.11669 14.5198 3.92124 14.5261 3.76074 14.4385C3.60021 14.3508 3.5 14.1829 3.5 14V2.00001C3.5 1.81711 3.60021 1.64918 3.76074 1.56153Z",
|
|
17
|
+
fill: "white"
|
|
18
|
+
})
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
export const PinIcon = ()=>{
|
|
23
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
24
|
+
width: "16",
|
|
25
|
+
height: "16",
|
|
26
|
+
viewBox: "0 0 16 16",
|
|
27
|
+
fill: "none",
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
"aria-label": "Pin",
|
|
30
|
+
role: "img",
|
|
31
|
+
children: [
|
|
32
|
+
/*#__PURE__*/ _jsx("path", {
|
|
33
|
+
d: "M8 11.3334V14.6667",
|
|
34
|
+
stroke: "#717684",
|
|
35
|
+
"stroke-width": "1.25",
|
|
36
|
+
"stroke-linecap": "round",
|
|
37
|
+
"stroke-linejoin": "round"
|
|
38
|
+
}),
|
|
39
|
+
/*#__PURE__*/ _jsx("path", {
|
|
40
|
+
d: "M5.9987 7.17337C5.99857 7.42143 5.92924 7.66453 5.79851 7.87534C5.66778 8.08616 5.48084 8.25632 5.2587 8.36671L4.07203 8.96671C3.84989 9.07709 3.66295 9.24726 3.53222 9.45807C3.40149 9.66888 3.33216 9.91198 3.33203 10.16V10.6667C3.33203 10.8435 3.40227 11.0131 3.52729 11.1381C3.65232 11.2631 3.82189 11.3334 3.9987 11.3334H11.9987C12.1755 11.3334 12.3451 11.2631 12.4701 11.1381C12.5951 11.0131 12.6654 10.8435 12.6654 10.6667V10.16C12.6652 9.91198 12.5959 9.66888 12.4652 9.45807C12.3345 9.24726 12.1475 9.07709 11.9254 8.96671L10.7387 8.36671C10.5166 8.25632 10.3296 8.08616 10.1989 7.87534C10.0682 7.66453 9.99883 7.42143 9.9987 7.17337V4.66671C9.9987 4.4899 10.0689 4.32033 10.194 4.1953C10.319 4.07028 10.4886 4.00004 10.6654 4.00004C11.019 4.00004 11.3581 3.85957 11.6082 3.60952C11.8582 3.35947 11.9987 3.02033 11.9987 2.66671C11.9987 2.31309 11.8582 1.97395 11.6082 1.7239C11.3581 1.47385 11.019 1.33337 10.6654 1.33337H5.33203C4.97841 1.33337 4.63927 1.47385 4.38922 1.7239C4.13917 1.97395 3.9987 2.31309 3.9987 2.66671C3.9987 3.02033 4.13917 3.35947 4.38922 3.60952C4.63927 3.85957 4.97841 4.00004 5.33203 4.00004C5.50884 4.00004 5.67841 4.07028 5.80344 4.1953C5.92846 4.32033 5.9987 4.4899 5.9987 4.66671V7.17337Z",
|
|
41
|
+
fill: "#717684"
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
export const ResourceIcon = ()=>{
|
|
47
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
48
|
+
width: "16",
|
|
49
|
+
height: "17",
|
|
50
|
+
viewBox: "0 0 16 17",
|
|
51
|
+
fill: "none",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
53
|
+
"aria-label": "Resource",
|
|
54
|
+
role: "img",
|
|
55
|
+
children: [
|
|
56
|
+
/*#__PURE__*/ _jsx("path", {
|
|
57
|
+
d: "M13.9974 11.167H11.3307C10.9625 11.167 10.6641 11.4655 10.6641 11.8337V14.5003C10.6641 14.8685 10.9625 15.167 11.3307 15.167H13.9974C14.3656 15.167 14.6641 14.8685 14.6641 14.5003V11.8337C14.6641 11.4655 14.3656 11.167 13.9974 11.167Z",
|
|
58
|
+
stroke: "#717684",
|
|
59
|
+
"stroke-width": "1.25",
|
|
60
|
+
"stroke-linecap": "round",
|
|
61
|
+
"stroke-linejoin": "round"
|
|
62
|
+
}),
|
|
63
|
+
/*#__PURE__*/ _jsx("path", {
|
|
64
|
+
d: "M4.66927 11.167H2.0026C1.63441 11.167 1.33594 11.4655 1.33594 11.8337V14.5003C1.33594 14.8685 1.63441 15.167 2.0026 15.167H4.66927C5.03746 15.167 5.33594 14.8685 5.33594 14.5003V11.8337C5.33594 11.4655 5.03746 11.167 4.66927 11.167Z",
|
|
65
|
+
stroke: "#717684",
|
|
66
|
+
"stroke-width": "1.25",
|
|
67
|
+
"stroke-linecap": "round",
|
|
68
|
+
"stroke-linejoin": "round"
|
|
69
|
+
}),
|
|
70
|
+
/*#__PURE__*/ _jsx("path", {
|
|
71
|
+
d: "M9.33333 1.83301H6.66667C6.29848 1.83301 6 2.13148 6 2.49967V5.16634C6 5.53453 6.29848 5.83301 6.66667 5.83301H9.33333C9.70152 5.83301 10 5.53453 10 5.16634V2.49967C10 2.13148 9.70152 1.83301 9.33333 1.83301Z",
|
|
72
|
+
stroke: "#717684",
|
|
73
|
+
"stroke-width": "1.25",
|
|
74
|
+
"stroke-linecap": "round",
|
|
75
|
+
"stroke-linejoin": "round"
|
|
76
|
+
}),
|
|
77
|
+
/*#__PURE__*/ _jsx("path", {
|
|
78
|
+
d: "M3.33594 11.1667V9.16667C3.33594 8.98986 3.40618 8.82029 3.5312 8.69526C3.65622 8.57024 3.82579 8.5 4.0026 8.5H12.0026C12.1794 8.5 12.349 8.57024 12.474 8.69526C12.599 8.82029 12.6693 8.98986 12.6693 9.16667V11.1667",
|
|
79
|
+
stroke: "#717684",
|
|
80
|
+
"stroke-width": "1.25",
|
|
81
|
+
"stroke-linecap": "round",
|
|
82
|
+
"stroke-linejoin": "round"
|
|
83
|
+
}),
|
|
84
|
+
/*#__PURE__*/ _jsx("path", {
|
|
85
|
+
d: "M8 8.49967V5.83301",
|
|
86
|
+
stroke: "#717684",
|
|
87
|
+
"stroke-width": "1.25",
|
|
88
|
+
"stroke-linecap": "round",
|
|
89
|
+
"stroke-linejoin": "round"
|
|
90
|
+
})
|
|
91
|
+
]
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
export const BackoneElementIcon = ()=>{
|
|
95
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
96
|
+
width: "16",
|
|
97
|
+
height: "17",
|
|
98
|
+
viewBox: "0 0 16 17",
|
|
99
|
+
fill: "none",
|
|
100
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
101
|
+
"aria-label": "BackoneElement",
|
|
102
|
+
role: "img",
|
|
103
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
104
|
+
d: "M4.0026 9.83333L4.96927 7.9C5.08058 7.6791 5.25114 7.49353 5.46189 7.36402C5.67263 7.23451 5.91525 7.16618 6.1626 7.16667H13.3359M13.3359 7.16667C13.5396 7.16631 13.7407 7.21262 13.9237 7.30206C14.1067 7.39149 14.2668 7.52166 14.3917 7.68258C14.5165 7.8435 14.6029 8.03089 14.6441 8.23037C14.6853 8.42985 14.6802 8.63611 14.6293 8.83333L13.5959 12.8333C13.5219 13.1199 13.3547 13.3738 13.1205 13.5548C12.8864 13.7359 12.5986 13.8339 12.3026 13.8333H2.66927C2.31565 13.8333 1.97651 13.6929 1.72646 13.4428C1.47641 13.1928 1.33594 12.8536 1.33594 12.5V3.83333C1.33594 3.1 1.93594 2.5 2.66927 2.5H5.28927C5.50888 2.50114 5.72481 2.5565 5.91787 2.66117C6.11094 2.76585 6.27515 2.91659 6.39594 3.1L6.9426 3.9C7.06339 4.08341 7.22761 4.23415 7.42067 4.33883C7.61373 4.4435 7.82966 4.49886 8.04927 4.5H12.0026C12.3562 4.5 12.6954 4.64048 12.9454 4.89052C13.1955 5.14057 13.3359 5.47971 13.3359 5.83333V7.16667Z",
|
|
105
|
+
stroke: "#717684",
|
|
106
|
+
"stroke-width": "1.25",
|
|
107
|
+
"stroke-linecap": "round",
|
|
108
|
+
"stroke-linejoin": "round"
|
|
109
|
+
})
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
export const TypCodeIcon = ()=>{
|
|
113
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
114
|
+
width: "16",
|
|
115
|
+
height: "17",
|
|
116
|
+
viewBox: "0 0 16 17",
|
|
117
|
+
fill: "none",
|
|
118
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
119
|
+
"aria-label": "Code",
|
|
120
|
+
role: "img",
|
|
121
|
+
children: [
|
|
122
|
+
/*#__PURE__*/ _jsx("path", {
|
|
123
|
+
d: "M3.33594 2.74969H4.0026C4.53304 2.74969 5.04175 2.96041 5.41682 3.33548C5.79189 3.71055 6.0026 4.21926 6.0026 4.74969C6.0026 4.21926 6.21332 3.71055 6.58839 3.33548C6.96346 2.96041 7.47217 2.74969 8.0026 2.74969H8.66927",
|
|
124
|
+
stroke: "#717684",
|
|
125
|
+
"stroke-width": "1.25",
|
|
126
|
+
"stroke-linecap": "round",
|
|
127
|
+
"stroke-linejoin": "round"
|
|
128
|
+
}),
|
|
129
|
+
/*#__PURE__*/ _jsx("path", {
|
|
130
|
+
d: "M8.66927 13.4163H8.0026C7.47217 13.4163 6.96346 13.2056 6.58839 12.8305C6.21332 12.4555 6.0026 11.9468 6.0026 11.4163C6.0026 11.9468 5.79189 12.4555 5.41682 12.8305C5.04175 13.2056 4.53304 13.4163 4.0026 13.4163H3.33594",
|
|
131
|
+
stroke: "#717684",
|
|
132
|
+
"stroke-width": "1.25",
|
|
133
|
+
"stroke-linecap": "round",
|
|
134
|
+
"stroke-linejoin": "round"
|
|
135
|
+
}),
|
|
136
|
+
/*#__PURE__*/ _jsx("path", {
|
|
137
|
+
d: "M3.33594 10.7497H2.66927C2.31565 10.7497 1.97651 10.6092 1.72646 10.3591C1.47641 10.1091 1.33594 9.76994 1.33594 9.41632V6.74965C1.33594 6.39603 1.47641 6.05689 1.72646 5.80685C1.97651 5.5568 2.31565 5.41632 2.66927 5.41632H3.33594",
|
|
138
|
+
stroke: "#717684",
|
|
139
|
+
"stroke-width": "1.25",
|
|
140
|
+
"stroke-linecap": "round",
|
|
141
|
+
"stroke-linejoin": "round"
|
|
142
|
+
}),
|
|
143
|
+
/*#__PURE__*/ _jsx("path", {
|
|
144
|
+
d: "M8.66406 5.41632H13.3307C13.6844 5.41632 14.0235 5.5568 14.2735 5.80685C14.5236 6.05689 14.6641 6.39603 14.6641 6.74965V9.41632C14.6641 9.76994 14.5236 10.1091 14.2735 10.3591C14.0235 10.6092 13.6844 10.7497 13.3307 10.7497H8.66406",
|
|
145
|
+
stroke: "#717684",
|
|
146
|
+
"stroke-width": "1.25",
|
|
147
|
+
"stroke-linecap": "round",
|
|
148
|
+
"stroke-linejoin": "round"
|
|
149
|
+
}),
|
|
150
|
+
/*#__PURE__*/ _jsx("path", {
|
|
151
|
+
d: "M6 4.74969V11.4164",
|
|
152
|
+
stroke: "#717684",
|
|
153
|
+
"stroke-width": "1.25",
|
|
154
|
+
"stroke-linecap": "round",
|
|
155
|
+
"stroke-linejoin": "round"
|
|
156
|
+
})
|
|
157
|
+
]
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
export const ReferenceIcon = ()=>{
|
|
161
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
162
|
+
width: "16",
|
|
163
|
+
height: "17",
|
|
164
|
+
viewBox: "0 0 16 17",
|
|
165
|
+
fill: "none",
|
|
166
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
167
|
+
"aria-label": "Reference",
|
|
168
|
+
role: "img",
|
|
169
|
+
children: [
|
|
170
|
+
/*#__PURE__*/ _jsx("path", {
|
|
171
|
+
d: "M10 2.08301H14V6.08301",
|
|
172
|
+
stroke: "#2278E1",
|
|
173
|
+
"stroke-width": "1.25",
|
|
174
|
+
"stroke-linecap": "round",
|
|
175
|
+
"stroke-linejoin": "round"
|
|
176
|
+
}),
|
|
177
|
+
/*#__PURE__*/ _jsx("path", {
|
|
178
|
+
d: "M6.66406 9.41634L13.9974 2.08301",
|
|
179
|
+
stroke: "#2278E1",
|
|
180
|
+
"stroke-width": "1.25",
|
|
181
|
+
"stroke-linecap": "round",
|
|
182
|
+
"stroke-linejoin": "round"
|
|
183
|
+
}),
|
|
184
|
+
/*#__PURE__*/ _jsx("path", {
|
|
185
|
+
d: "M12 8.74967V12.7497C12 13.1033 11.8595 13.4424 11.6095 13.6925C11.3594 13.9425 11.0203 14.083 10.6667 14.083H3.33333C2.97971 14.083 2.64057 13.9425 2.39052 13.6925C2.14048 13.4424 2 13.1033 2 12.7497V5.41634C2 5.06272 2.14048 4.72358 2.39052 4.47353C2.64057 4.22348 2.97971 4.08301 3.33333 4.08301H7.33333",
|
|
186
|
+
stroke: "#2278E1",
|
|
187
|
+
"stroke-width": "1.25",
|
|
188
|
+
"stroke-linecap": "round",
|
|
189
|
+
"stroke-linejoin": "round"
|
|
190
|
+
})
|
|
191
|
+
]
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
export const ComplexTypeIcon = ()=>{
|
|
195
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
196
|
+
width: "16",
|
|
197
|
+
height: "17",
|
|
198
|
+
viewBox: "0 0 16 17",
|
|
199
|
+
fill: "none",
|
|
200
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
201
|
+
"aria-label": "ComplexType",
|
|
202
|
+
role: "img",
|
|
203
|
+
children: [
|
|
204
|
+
/*#__PURE__*/ _jsxs("g", {
|
|
205
|
+
"clip-path": "url(#clip0_858_18924)",
|
|
206
|
+
children: [
|
|
207
|
+
/*#__PURE__*/ _jsx("path", {
|
|
208
|
+
d: "M3.91406 5.77679L8.00281 8.08304L12.0793 5.77691",
|
|
209
|
+
stroke: "#717684",
|
|
210
|
+
"stroke-width": "1.25",
|
|
211
|
+
"stroke-linecap": "round",
|
|
212
|
+
"stroke-linejoin": "round"
|
|
213
|
+
}),
|
|
214
|
+
/*#__PURE__*/ _jsx("path", {
|
|
215
|
+
d: "M8 12.6996V8.08301",
|
|
216
|
+
stroke: "#717684",
|
|
217
|
+
"stroke-width": "1.25",
|
|
218
|
+
"stroke-linecap": "round",
|
|
219
|
+
"stroke-linejoin": "round"
|
|
220
|
+
}),
|
|
221
|
+
/*#__PURE__*/ _jsx("path", {
|
|
222
|
+
d: "M14 5.41636C13.9998 5.18254 13.938 4.9529 13.821 4.75047C13.704 4.54803 13.5358 4.37993 13.3333 4.26302L8.66667 1.59636C8.46397 1.47933 8.23405 1.41772 8 1.41772C7.76595 1.41772 7.53603 1.47933 7.33333 1.59636L2.66667 4.26302C2.46418 4.37993 2.29599 4.54803 2.17897 4.75047C2.06196 4.9529 2.00024 5.18254 2 5.41636V10.7497C2.00024 10.9835 2.06196 11.2132 2.17897 11.4156C2.29599 11.618 2.46418 11.7861 2.66667 11.903L7.33333 14.5697C7.53603 14.6867 7.76595 14.7483 8 14.7483C8.23405 14.7483 8.46397 14.6867 8.66667 14.5697L13.3333 11.903C13.5358 11.7861 13.704 11.618 13.821 11.4156C13.938 11.2132 13.9998 10.9835 14 10.7497V5.41636Z",
|
|
223
|
+
stroke: "#717684",
|
|
224
|
+
"stroke-width": "1.25",
|
|
225
|
+
"stroke-linecap": "round",
|
|
226
|
+
"stroke-linejoin": "round"
|
|
227
|
+
})
|
|
228
|
+
]
|
|
229
|
+
}),
|
|
230
|
+
/*#__PURE__*/ _jsx("defs", {
|
|
231
|
+
children: /*#__PURE__*/ _jsx("clipPath", {
|
|
232
|
+
id: "clip0_858_18924",
|
|
233
|
+
children: /*#__PURE__*/ _jsx("rect", {
|
|
234
|
+
width: "16",
|
|
235
|
+
height: "16",
|
|
236
|
+
fill: "white",
|
|
237
|
+
transform: "translate(0 0.0830078)"
|
|
238
|
+
})
|
|
239
|
+
})
|
|
240
|
+
})
|
|
241
|
+
]
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
export const UnionIcon = ()=>{
|
|
245
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
246
|
+
width: "16",
|
|
247
|
+
height: "17",
|
|
248
|
+
viewBox: "0 0 16 17",
|
|
249
|
+
fill: "none",
|
|
250
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
251
|
+
"aria-label": "Union",
|
|
252
|
+
role: "img",
|
|
253
|
+
children: /*#__PURE__*/ _jsxs("g", {
|
|
254
|
+
children: [
|
|
255
|
+
/*#__PURE__*/ _jsx("path", {
|
|
256
|
+
d: "M1.21109 6.84206C1.04758 7.0054 0.917866 7.19937 0.829365 7.41287C0.740865 7.62638 0.695313 7.85523 0.695312 8.08635C0.695313 8.31747 0.740865 8.54632 0.829365 8.75983C0.917866 8.97333 1.04758 9.1673 1.21109 9.33064L6.7502 14.8698C6.91354 15.0333 7.10751 15.163 7.32101 15.2515C7.53452 15.34 7.76337 15.3855 7.99449 15.3855C8.22561 15.3855 8.45446 15.34 8.66797 15.2515C8.88147 15.163 9.07544 15.0333 9.23878 14.8698L14.7779 9.33064C14.9414 9.1673 15.0711 8.97333 15.1596 8.75983C15.2481 8.54632 15.2937 8.31747 15.2937 8.08635C15.2937 7.85523 15.2481 7.62638 15.1596 7.41287C15.0711 7.19937 14.9414 7.0054 14.7779 6.84206L9.23878 1.30295C9.07544 1.13944 8.88147 1.00972 8.66797 0.921223C8.45446 0.832723 8.22561 0.78717 7.99449 0.78717C7.76337 0.78717 7.53452 0.832723 7.32101 0.921223C7.10751 1.00972 6.91354 1.13944 6.7502 1.30295L1.21109 6.84206Z",
|
|
257
|
+
stroke: "#2278E1",
|
|
258
|
+
"stroke-width": "1.25",
|
|
259
|
+
"stroke-linecap": "round",
|
|
260
|
+
"stroke-linejoin": "round"
|
|
261
|
+
}),
|
|
262
|
+
/*#__PURE__*/ _jsx("path", {
|
|
263
|
+
"fill-rule": "evenodd",
|
|
264
|
+
"clip-rule": "evenodd",
|
|
265
|
+
d: "M8.18179 5.7278C7.86175 5.67291 7.5326 5.73305 7.25265 5.89758C6.9727 6.06211 6.76001 6.32041 6.65225 6.62673C6.53771 6.95235 6.18089 7.12346 5.85527 7.00891C5.52965 6.89437 5.35854 6.53754 5.47309 6.21192C5.6788 5.62713 6.08484 5.13402 6.6193 4.81992C7.15375 4.50581 7.78212 4.391 8.39312 4.4958C9.00411 4.6006 9.5583 4.91826 9.95753 5.39251C10.3567 5.8667 10.5752 6.46684 10.5743 7.08667C10.574 8.08475 9.83365 8.74761 9.29602 9.10602C9.00813 9.29795 8.72468 9.43923 8.51567 9.53213C8.41028 9.57897 8.32158 9.61449 8.25777 9.6388C8.08575 9.70433 8.22306 9.66463 8.14777 9.67866C8.20338 9.66012 8.22643 9.6509 8.14777 9.67866C7.8203 9.78781 7.46556 9.6111 7.35641 9.28364C7.2474 8.9566 7.42377 8.60314 7.75042 8.49349L7.75172 8.49305L7.76242 8.4893C7.77295 8.48555 7.79005 8.47935 7.81278 8.47069C7.85834 8.45333 7.92589 8.42635 8.008 8.38986C8.17399 8.31609 8.39054 8.20737 8.60265 8.06596C9.0649 7.7578 9.32434 7.42087 9.32434 7.08599C9.32482 6.76127 9.21037 6.44593 9.00125 6.19751C8.79213 5.94909 8.50184 5.7827 8.18179 5.7278Z",
|
|
266
|
+
fill: "#2278E1"
|
|
267
|
+
}),
|
|
268
|
+
/*#__PURE__*/ _jsx("path", {
|
|
269
|
+
"fill-rule": "evenodd",
|
|
270
|
+
"clip-rule": "evenodd",
|
|
271
|
+
d: "M7.375 11.7526C7.375 11.4074 7.65482 11.1276 8 11.1276H8.00667C8.35184 11.1276 8.63167 11.4074 8.63167 11.7526C8.63167 12.0978 8.35184 12.3776 8.00667 12.3776H8C7.65482 12.3776 7.375 12.0978 7.375 11.7526Z",
|
|
272
|
+
fill: "#2278E1"
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
})
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/icons.tsx"],"sourcesContent":["export const PlayIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"16\"\n\t\t\tviewBox=\"0 0 16 16\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Play\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<title>Play</title>\n\t\t\t<path\n\t\t\t\td=\"M3.76074 1.56153C3.92124 1.47395 4.11669 1.48025 4.27051 1.57911L13.6035 7.57911C13.7466 7.67111 13.833 7.82988 13.833 8.00001C13.833 8.17014 13.7466 8.32891 13.6035 8.42091L4.27051 14.4209C4.11669 14.5198 3.92124 14.5261 3.76074 14.4385C3.60021 14.3508 3.5 14.1829 3.5 14V2.00001C3.5 1.81711 3.60021 1.64918 3.76074 1.56153Z\"\n\t\t\t\tfill=\"white\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const PinIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"16\"\n\t\t\tviewBox=\"0 0 16 16\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Pin\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M8 11.3334V14.6667\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M5.9987 7.17337C5.99857 7.42143 5.92924 7.66453 5.79851 7.87534C5.66778 8.08616 5.48084 8.25632 5.2587 8.36671L4.07203 8.96671C3.84989 9.07709 3.66295 9.24726 3.53222 9.45807C3.40149 9.66888 3.33216 9.91198 3.33203 10.16V10.6667C3.33203 10.8435 3.40227 11.0131 3.52729 11.1381C3.65232 11.2631 3.82189 11.3334 3.9987 11.3334H11.9987C12.1755 11.3334 12.3451 11.2631 12.4701 11.1381C12.5951 11.0131 12.6654 10.8435 12.6654 10.6667V10.16C12.6652 9.91198 12.5959 9.66888 12.4652 9.45807C12.3345 9.24726 12.1475 9.07709 11.9254 8.96671L10.7387 8.36671C10.5166 8.25632 10.3296 8.08616 10.1989 7.87534C10.0682 7.66453 9.99883 7.42143 9.9987 7.17337V4.66671C9.9987 4.4899 10.0689 4.32033 10.194 4.1953C10.319 4.07028 10.4886 4.00004 10.6654 4.00004C11.019 4.00004 11.3581 3.85957 11.6082 3.60952C11.8582 3.35947 11.9987 3.02033 11.9987 2.66671C11.9987 2.31309 11.8582 1.97395 11.6082 1.7239C11.3581 1.47385 11.019 1.33337 10.6654 1.33337H5.33203C4.97841 1.33337 4.63927 1.47385 4.38922 1.7239C4.13917 1.97395 3.9987 2.31309 3.9987 2.66671C3.9987 3.02033 4.13917 3.35947 4.38922 3.60952C4.63927 3.85957 4.97841 4.00004 5.33203 4.00004C5.50884 4.00004 5.67841 4.07028 5.80344 4.1953C5.92846 4.32033 5.9987 4.4899 5.9987 4.66671V7.17337Z\"\n\t\t\t\tfill=\"#717684\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const ResourceIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Resource\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M13.9974 11.167H11.3307C10.9625 11.167 10.6641 11.4655 10.6641 11.8337V14.5003C10.6641 14.8685 10.9625 15.167 11.3307 15.167H13.9974C14.3656 15.167 14.6641 14.8685 14.6641 14.5003V11.8337C14.6641 11.4655 14.3656 11.167 13.9974 11.167Z\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M4.66927 11.167H2.0026C1.63441 11.167 1.33594 11.4655 1.33594 11.8337V14.5003C1.33594 14.8685 1.63441 15.167 2.0026 15.167H4.66927C5.03746 15.167 5.33594 14.8685 5.33594 14.5003V11.8337C5.33594 11.4655 5.03746 11.167 4.66927 11.167Z\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M9.33333 1.83301H6.66667C6.29848 1.83301 6 2.13148 6 2.49967V5.16634C6 5.53453 6.29848 5.83301 6.66667 5.83301H9.33333C9.70152 5.83301 10 5.53453 10 5.16634V2.49967C10 2.13148 9.70152 1.83301 9.33333 1.83301Z\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M3.33594 11.1667V9.16667C3.33594 8.98986 3.40618 8.82029 3.5312 8.69526C3.65622 8.57024 3.82579 8.5 4.0026 8.5H12.0026C12.1794 8.5 12.349 8.57024 12.474 8.69526C12.599 8.82029 12.6693 8.98986 12.6693 9.16667V11.1667\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M8 8.49967V5.83301\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const BackoneElementIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"BackoneElement\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M4.0026 9.83333L4.96927 7.9C5.08058 7.6791 5.25114 7.49353 5.46189 7.36402C5.67263 7.23451 5.91525 7.16618 6.1626 7.16667H13.3359M13.3359 7.16667C13.5396 7.16631 13.7407 7.21262 13.9237 7.30206C14.1067 7.39149 14.2668 7.52166 14.3917 7.68258C14.5165 7.8435 14.6029 8.03089 14.6441 8.23037C14.6853 8.42985 14.6802 8.63611 14.6293 8.83333L13.5959 12.8333C13.5219 13.1199 13.3547 13.3738 13.1205 13.5548C12.8864 13.7359 12.5986 13.8339 12.3026 13.8333H2.66927C2.31565 13.8333 1.97651 13.6929 1.72646 13.4428C1.47641 13.1928 1.33594 12.8536 1.33594 12.5V3.83333C1.33594 3.1 1.93594 2.5 2.66927 2.5H5.28927C5.50888 2.50114 5.72481 2.5565 5.91787 2.66117C6.11094 2.76585 6.27515 2.91659 6.39594 3.1L6.9426 3.9C7.06339 4.08341 7.22761 4.23415 7.42067 4.33883C7.61373 4.4435 7.82966 4.49886 8.04927 4.5H12.0026C12.3562 4.5 12.6954 4.64048 12.9454 4.89052C13.1955 5.14057 13.3359 5.47971 13.3359 5.83333V7.16667Z\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const TypCodeIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Code\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M3.33594 2.74969H4.0026C4.53304 2.74969 5.04175 2.96041 5.41682 3.33548C5.79189 3.71055 6.0026 4.21926 6.0026 4.74969C6.0026 4.21926 6.21332 3.71055 6.58839 3.33548C6.96346 2.96041 7.47217 2.74969 8.0026 2.74969H8.66927\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M8.66927 13.4163H8.0026C7.47217 13.4163 6.96346 13.2056 6.58839 12.8305C6.21332 12.4555 6.0026 11.9468 6.0026 11.4163C6.0026 11.9468 5.79189 12.4555 5.41682 12.8305C5.04175 13.2056 4.53304 13.4163 4.0026 13.4163H3.33594\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M3.33594 10.7497H2.66927C2.31565 10.7497 1.97651 10.6092 1.72646 10.3591C1.47641 10.1091 1.33594 9.76994 1.33594 9.41632V6.74965C1.33594 6.39603 1.47641 6.05689 1.72646 5.80685C1.97651 5.5568 2.31565 5.41632 2.66927 5.41632H3.33594\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M8.66406 5.41632H13.3307C13.6844 5.41632 14.0235 5.5568 14.2735 5.80685C14.5236 6.05689 14.6641 6.39603 14.6641 6.74965V9.41632C14.6641 9.76994 14.5236 10.1091 14.2735 10.3591C14.0235 10.6092 13.6844 10.7497 13.3307 10.7497H8.66406\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M6 4.74969V11.4164\"\n\t\t\t\tstroke=\"#717684\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const ReferenceIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Reference\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M10 2.08301H14V6.08301\"\n\t\t\t\tstroke=\"#2278E1\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M6.66406 9.41634L13.9974 2.08301\"\n\t\t\t\tstroke=\"#2278E1\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M12 8.74967V12.7497C12 13.1033 11.8595 13.4424 11.6095 13.6925C11.3594 13.9425 11.0203 14.083 10.6667 14.083H3.33333C2.97971 14.083 2.64057 13.9425 2.39052 13.6925C2.14048 13.4424 2 13.1033 2 12.7497V5.41634C2 5.06272 2.14048 4.72358 2.39052 4.47353C2.64057 4.22348 2.97971 4.08301 3.33333 4.08301H7.33333\"\n\t\t\t\tstroke=\"#2278E1\"\n\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\n\nexport const ComplexTypeIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"ComplexType\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<g clip-path=\"url(#clip0_858_18924)\">\n\t\t\t\t<path\n\t\t\t\t\td=\"M3.91406 5.77679L8.00281 8.08304L12.0793 5.77691\"\n\t\t\t\t\tstroke=\"#717684\"\n\t\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t/>\n\t\t\t\t<path\n\t\t\t\t\td=\"M8 12.6996V8.08301\"\n\t\t\t\t\tstroke=\"#717684\"\n\t\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t/>\n\t\t\t\t<path\n\t\t\t\t\td=\"M14 5.41636C13.9998 5.18254 13.938 4.9529 13.821 4.75047C13.704 4.54803 13.5358 4.37993 13.3333 4.26302L8.66667 1.59636C8.46397 1.47933 8.23405 1.41772 8 1.41772C7.76595 1.41772 7.53603 1.47933 7.33333 1.59636L2.66667 4.26302C2.46418 4.37993 2.29599 4.54803 2.17897 4.75047C2.06196 4.9529 2.00024 5.18254 2 5.41636V10.7497C2.00024 10.9835 2.06196 11.2132 2.17897 11.4156C2.29599 11.618 2.46418 11.7861 2.66667 11.903L7.33333 14.5697C7.53603 14.6867 7.76595 14.7483 8 14.7483C8.23405 14.7483 8.46397 14.6867 8.66667 14.5697L13.3333 11.903C13.5358 11.7861 13.704 11.618 13.821 11.4156C13.938 11.2132 13.9998 10.9835 14 10.7497V5.41636Z\"\n\t\t\t\t\tstroke=\"#717684\"\n\t\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t\t<defs>\n\t\t\t\t<clipPath id=\"clip0_858_18924\">\n\t\t\t\t\t<rect\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\tfill=\"white\"\n\t\t\t\t\t\ttransform=\"translate(0 0.0830078)\"\n\t\t\t\t\t/>\n\t\t\t\t</clipPath>\n\t\t\t</defs>\n\t\t</svg>\n\t);\n};\n\nexport const UnionIcon = () => {\n\treturn (\n\t\t<svg\n\t\t\twidth=\"16\"\n\t\t\theight=\"17\"\n\t\t\tviewBox=\"0 0 16 17\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\taria-label=\"Union\"\n\t\t\trole=\"img\"\n\t\t>\n\t\t\t<g>\n\t\t\t\t<path\n\t\t\t\t\td=\"M1.21109 6.84206C1.04758 7.0054 0.917866 7.19937 0.829365 7.41287C0.740865 7.62638 0.695313 7.85523 0.695312 8.08635C0.695313 8.31747 0.740865 8.54632 0.829365 8.75983C0.917866 8.97333 1.04758 9.1673 1.21109 9.33064L6.7502 14.8698C6.91354 15.0333 7.10751 15.163 7.32101 15.2515C7.53452 15.34 7.76337 15.3855 7.99449 15.3855C8.22561 15.3855 8.45446 15.34 8.66797 15.2515C8.88147 15.163 9.07544 15.0333 9.23878 14.8698L14.7779 9.33064C14.9414 9.1673 15.0711 8.97333 15.1596 8.75983C15.2481 8.54632 15.2937 8.31747 15.2937 8.08635C15.2937 7.85523 15.2481 7.62638 15.1596 7.41287C15.0711 7.19937 14.9414 7.0054 14.7779 6.84206L9.23878 1.30295C9.07544 1.13944 8.88147 1.00972 8.66797 0.921223C8.45446 0.832723 8.22561 0.78717 7.99449 0.78717C7.76337 0.78717 7.53452 0.832723 7.32101 0.921223C7.10751 1.00972 6.91354 1.13944 6.7502 1.30295L1.21109 6.84206Z\"\n\t\t\t\t\tstroke=\"#2278E1\"\n\t\t\t\t\tstroke-width=\"1.25\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t></path>\n\t\t\t\t<path\n\t\t\t\t\tfill-rule=\"evenodd\"\n\t\t\t\t\tclip-rule=\"evenodd\"\n\t\t\t\t\td=\"M8.18179 5.7278C7.86175 5.67291 7.5326 5.73305 7.25265 5.89758C6.9727 6.06211 6.76001 6.32041 6.65225 6.62673C6.53771 6.95235 6.18089 7.12346 5.85527 7.00891C5.52965 6.89437 5.35854 6.53754 5.47309 6.21192C5.6788 5.62713 6.08484 5.13402 6.6193 4.81992C7.15375 4.50581 7.78212 4.391 8.39312 4.4958C9.00411 4.6006 9.5583 4.91826 9.95753 5.39251C10.3567 5.8667 10.5752 6.46684 10.5743 7.08667C10.574 8.08475 9.83365 8.74761 9.29602 9.10602C9.00813 9.29795 8.72468 9.43923 8.51567 9.53213C8.41028 9.57897 8.32158 9.61449 8.25777 9.6388C8.08575 9.70433 8.22306 9.66463 8.14777 9.67866C8.20338 9.66012 8.22643 9.6509 8.14777 9.67866C7.8203 9.78781 7.46556 9.6111 7.35641 9.28364C7.2474 8.9566 7.42377 8.60314 7.75042 8.49349L7.75172 8.49305L7.76242 8.4893C7.77295 8.48555 7.79005 8.47935 7.81278 8.47069C7.85834 8.45333 7.92589 8.42635 8.008 8.38986C8.17399 8.31609 8.39054 8.20737 8.60265 8.06596C9.0649 7.7578 9.32434 7.42087 9.32434 7.08599C9.32482 6.76127 9.21037 6.44593 9.00125 6.19751C8.79213 5.94909 8.50184 5.7827 8.18179 5.7278Z\"\n\t\t\t\t\tfill=\"#2278E1\"\n\t\t\t\t></path>\n\t\t\t\t<path\n\t\t\t\t\tfill-rule=\"evenodd\"\n\t\t\t\t\tclip-rule=\"evenodd\"\n\t\t\t\t\td=\"M7.375 11.7526C7.375 11.4074 7.65482 11.1276 8 11.1276H8.00667C8.35184 11.1276 8.63167 11.4074 8.63167 11.7526C8.63167 12.0978 8.35184 12.3776 8.00667 12.3776H8C7.65482 12.3776 7.375 12.0978 7.375 11.7526Z\"\n\t\t\t\t\tfill=\"#2278E1\"\n\t\t\t\t></path>\n\t\t\t</g>\n\t\t</svg>\n\t);\n};\n"],"names":["PlayIcon","svg","width","height","viewBox","fill","xmlns","aria-label","role","title","path","d","PinIcon","stroke","stroke-width","stroke-linecap","stroke-linejoin","ResourceIcon","BackoneElementIcon","TypCodeIcon","ReferenceIcon","ComplexTypeIcon","g","clip-path","defs","clipPath","id","rect","transform","UnionIcon","fill-rule","clip-rule"],"mappings":";AAAA,OAAO,MAAMA,WAAW;IACvB,qBACC,MAACC;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,KAACC;0BAAM;;0BACP,KAACC;gBACAC,GAAE;gBACFN,MAAK;;;;AAIT,EAAE;AAEF,OAAO,MAAMO,UAAU;IACtB,qBACC,MAACX;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,KAACE;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFN,MAAK;;;;AAIT,EAAE;AAEF,OAAO,MAAMY,eAAe;IAC3B,qBACC,MAAChB;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,KAACE;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;;;AAIpB,EAAE;AAEF,OAAO,MAAME,qBAAqB;IACjC,qBACC,KAACjB;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;kBAEL,cAAA,KAACE;YACAC,GAAE;YACFE,QAAO;YACPC,gBAAa;YACbC,kBAAe;YACfC,mBAAgB;;;AAIpB,EAAE;AAEF,OAAO,MAAMG,cAAc;IAC1B,qBACC,MAAClB;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,KAACE;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;;;AAIpB,EAAE;AAEF,OAAO,MAAMI,gBAAgB;IAC5B,qBACC,MAACnB;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,KAACE;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;0BAEjB,KAACN;gBACAC,GAAE;gBACFE,QAAO;gBACPC,gBAAa;gBACbC,kBAAe;gBACfC,mBAAgB;;;;AAIpB,EAAE;AAEF,OAAO,MAAMK,kBAAkB;IAC9B,qBACC,MAACpB;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;;0BAEL,MAACc;gBAAEC,aAAU;;kCACZ,KAACb;wBACAC,GAAE;wBACFE,QAAO;wBACPC,gBAAa;wBACbC,kBAAe;wBACfC,mBAAgB;;kCAEjB,KAACN;wBACAC,GAAE;wBACFE,QAAO;wBACPC,gBAAa;wBACbC,kBAAe;wBACfC,mBAAgB;;kCAEjB,KAACN;wBACAC,GAAE;wBACFE,QAAO;wBACPC,gBAAa;wBACbC,kBAAe;wBACfC,mBAAgB;;;;0BAGlB,KAACQ;0BACA,cAAA,KAACC;oBAASC,IAAG;8BACZ,cAAA,KAACC;wBACAzB,OAAM;wBACNC,QAAO;wBACPE,MAAK;wBACLuB,WAAU;;;;;;AAMhB,EAAE;AAEF,OAAO,MAAMC,YAAY;IACxB,qBACC,KAAC5B;QACAC,OAAM;QACNC,QAAO;QACPC,SAAQ;QACRC,MAAK;QACLC,OAAM;QACNC,cAAW;QACXC,MAAK;kBAEL,cAAA,MAACc;;8BACA,KAACZ;oBACAC,GAAE;oBACFE,QAAO;oBACPC,gBAAa;oBACbC,kBAAe;oBACfC,mBAAgB;;8BAEjB,KAACN;oBACAoB,aAAU;oBACVC,aAAU;oBACVpB,GAAE;oBACFN,MAAK;;8BAEN,KAACK;oBACAoB,aAAU;oBACVC,aAAU;oBACVpB,GAAE;oBACFN,MAAK;;;;;AAKV,EAAE"}
|
package/dist/src/index.css
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
@import "./tokens.css";
|
|
4
4
|
@import "./typography.css";
|
|
5
5
|
|
|
6
|
+
.lucide {
|
|
7
|
+
/* Change this! */
|
|
8
|
+
stroke-width: 1.5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
@theme {
|
|
7
12
|
--color-selection: var(--color-blue-300);
|
|
8
13
|
--color-ring-red: var(--color-red-200);
|
|
@@ -11,7 +16,7 @@
|
|
|
11
16
|
--color-ring-purple: var(--color-purple-200);
|
|
12
17
|
--color-ring-orange: var(--color-orange-200);
|
|
13
18
|
--color-ring-pink: var(--color-pink-200);
|
|
14
|
-
--color-ring-blue: var(--color-blue-
|
|
19
|
+
--color-ring-blue: var(--color-blue-200);
|
|
15
20
|
--color-ring-red: var(--color-red-200);
|
|
16
21
|
--color-text-primary: var(--color-neutral-900);
|
|
17
22
|
--color-text-secondary: var(--color-neutral-500);
|
|
@@ -19,12 +24,13 @@
|
|
|
19
24
|
--color-text-primary_on-brand: var(--color-neutral-50);
|
|
20
25
|
--color-text-secondary_on-brand: var(--color-neutral-100);
|
|
21
26
|
--color-text-tertiary: var(--color-neutral-400);
|
|
27
|
+
--color-text-tertiary_hover: var(--color-neutral-500);
|
|
22
28
|
--color-text-quternary: var(--color-neutral-400);
|
|
23
29
|
--color-text-quternary_hover: var(--color-neutral-500);
|
|
24
30
|
--color-text-quternary_on-brand: var(--color-neutral-200);
|
|
25
31
|
--color-text-disabled: var(--color-neutral-300);
|
|
26
32
|
--color-text-link: var(--color-blue-500);
|
|
27
|
-
--color-text-link_hover: var(--color-blue-
|
|
33
|
+
--color-text-link_hover: var(--color-blue-700);
|
|
28
34
|
--color-text-link_disabled: var(--color-blue-400);
|
|
29
35
|
--color-text-brand-primary: var(--color-brand-500);
|
|
30
36
|
--color-text-brand-secondary: var(--color-brand-300);
|
|
@@ -39,6 +45,7 @@
|
|
|
39
45
|
--color-border-secondary: var(--color-neutral-200);
|
|
40
46
|
--color-border-separator: var(--color-neutral-200);
|
|
41
47
|
--color-border-disabled: var(--color-neutral-100);
|
|
48
|
+
--color-border-dark: var(--color-neutral-500);
|
|
42
49
|
--color-border-brand: var(--color-brand-500);
|
|
43
50
|
--color-border-link: var(--color-blue-500);
|
|
44
51
|
--color-border-error: var(--color-red-500);
|
|
@@ -90,7 +97,6 @@
|
|
|
90
97
|
--color-fg-success-secondary: var(--color-green-400);
|
|
91
98
|
--color-fg-warning-primary: var(--color-yellow-500);
|
|
92
99
|
--color-fg-warning-secondary: var(--color-yellow-400);
|
|
93
|
-
|
|
94
100
|
--color-utility-green: var(--color-green-500);
|
|
95
101
|
--color-utility-yellow: var(--color-yellow-600);
|
|
96
102
|
--color-utility-blue: var(--color-blue-500);
|
|
@@ -102,3 +108,36 @@
|
|
|
102
108
|
--font-family-sans: "Inter", system-ui, sans-serif;
|
|
103
109
|
--font-family-mono: "JetBrains Mono", monospace;
|
|
104
110
|
}
|
|
111
|
+
|
|
112
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.no-scrollbar {
|
|
117
|
+
-ms-overflow-style: none;
|
|
118
|
+
scrollbar-width: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
body ::-webkit-scrollbar {
|
|
122
|
+
width: 6px;
|
|
123
|
+
height: 6px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
body ::-webkit-scrollbar-track {
|
|
127
|
+
background: transparent;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
body ::-webkit-scrollbar-thumb {
|
|
131
|
+
background-color: var(--color-elements-disabled);
|
|
132
|
+
border-radius: 4px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
body ::-webkit-scrollbar-thumb:hover {
|
|
136
|
+
background-color: var(--color-elements-assistive);
|
|
137
|
+
}
|
|
138
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
139
|
+
body {
|
|
140
|
+
scrollbar-color: var(--color-elements-disabled) rgba(0, 0, 0, 0);
|
|
141
|
+
scrollbar-width: thin;
|
|
142
|
+
}
|
|
143
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { toast } from "sonner";
|
|
2
2
|
export * from "./components/code-editor";
|
|
3
3
|
export * from "./components/copy-icon";
|
|
4
|
+
export * from "./components/data-table";
|
|
5
|
+
export * from "./components/fhir-structure-view";
|
|
4
6
|
export * from "./components/request-line-editor";
|
|
7
|
+
export * from "./components/segment-control";
|
|
8
|
+
export * from "./components/split-button";
|
|
9
|
+
export * from "./components/tree-view";
|
|
10
|
+
export * from "./icons";
|
|
5
11
|
export * from "./shadcn/components/ui/accordion";
|
|
6
12
|
export * from "./shadcn/components/ui/alert";
|
|
7
13
|
export * from "./shadcn/components/ui/alert-dialog";
|
|
@@ -16,6 +22,7 @@ export * from "./shadcn/components/ui/carousel";
|
|
|
16
22
|
export * from "./shadcn/components/ui/chart";
|
|
17
23
|
export * from "./shadcn/components/ui/checkbox";
|
|
18
24
|
export * from "./shadcn/components/ui/collapsible";
|
|
25
|
+
export * from "./shadcn/components/ui/combobox";
|
|
19
26
|
export * from "./shadcn/components/ui/command";
|
|
20
27
|
export * from "./shadcn/components/ui/context-menu";
|
|
21
28
|
export * from "./shadcn/components/ui/dialog";
|
|
@@ -48,5 +55,6 @@ export * from "./shadcn/components/ui/textarea";
|
|
|
48
55
|
export * from "./shadcn/components/ui/toggle";
|
|
49
56
|
export * from "./shadcn/components/ui/toggle-group";
|
|
50
57
|
export * from "./shadcn/components/ui/tooltip";
|
|
58
|
+
export * from "./shadcn/components/ui/tree";
|
|
51
59
|
export * from "./shadcn/hooks/use-mobile";
|
|
52
60
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAG5C,cAAc,2BAA2B,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
// Shadcn Components
|
|
2
|
-
export
|
|
2
|
+
export { toast } from "sonner";
|
|
3
3
|
export * from "./components/code-editor/index.js";
|
|
4
4
|
export * from "./components/copy-icon.js";
|
|
5
|
+
export * from "./components/data-table.js";
|
|
6
|
+
export * from "./components/fhir-structure-view.js";
|
|
5
7
|
export * from "./components/request-line-editor.js";
|
|
8
|
+
export * from "./components/segment-control.js";
|
|
9
|
+
export * from "./components/split-button.js";
|
|
10
|
+
export * from "./components/tree-view.js";
|
|
11
|
+
export * from "./icons.js";
|
|
6
12
|
export * from "./shadcn/components/ui/accordion.js";
|
|
7
13
|
export * from "./shadcn/components/ui/alert.js";
|
|
8
14
|
export * from "./shadcn/components/ui/alert-dialog.js";
|
|
@@ -17,6 +23,7 @@ export * from "./shadcn/components/ui/carousel.js";
|
|
|
17
23
|
export * from "./shadcn/components/ui/chart.js";
|
|
18
24
|
export * from "./shadcn/components/ui/checkbox.js";
|
|
19
25
|
export * from "./shadcn/components/ui/collapsible.js";
|
|
26
|
+
export * from "./shadcn/components/ui/combobox.js";
|
|
20
27
|
export * from "./shadcn/components/ui/command.js";
|
|
21
28
|
export * from "./shadcn/components/ui/context-menu.js";
|
|
22
29
|
export * from "./shadcn/components/ui/dialog.js";
|
|
@@ -49,6 +56,7 @@ export * from "./shadcn/components/ui/textarea.js";
|
|
|
49
56
|
export * from "./shadcn/components/ui/toggle.js";
|
|
50
57
|
export * from "./shadcn/components/ui/toggle-group.js";
|
|
51
58
|
export * from "./shadcn/components/ui/tooltip.js";
|
|
59
|
+
export * from "./shadcn/components/ui/tree.js";
|
|
52
60
|
// Hooks
|
|
53
61
|
export * from "./shadcn/hooks/use-mobile.js";
|
|
54
62
|
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.tsx"],"sourcesContent":["// Shadcn Components\
|
|
1
|
+
{"version":3,"sources":["../../src/index.tsx"],"sourcesContent":["// Shadcn Components\nexport { toast } from \"sonner\";\nexport * from \"./components/code-editor\";\nexport * from \"./components/copy-icon\";\nexport * from \"./components/data-table\";\nexport * from \"./components/fhir-structure-view\";\nexport * from \"./components/request-line-editor\";\nexport * from \"./components/segment-control\";\nexport * from \"./components/split-button\";\nexport * from \"./components/tree-view\";\nexport * from \"./icons\";\nexport * from \"./shadcn/components/ui/accordion\";\nexport * from \"./shadcn/components/ui/alert\";\nexport * from \"./shadcn/components/ui/alert-dialog\";\nexport * from \"./shadcn/components/ui/aspect-ratio\";\nexport * from \"./shadcn/components/ui/avatar\";\nexport * from \"./shadcn/components/ui/badge\";\nexport * from \"./shadcn/components/ui/breadcrumb\";\nexport * from \"./shadcn/components/ui/button\";\nexport * from \"./shadcn/components/ui/calendar\";\nexport * from \"./shadcn/components/ui/card\";\nexport * from \"./shadcn/components/ui/carousel\";\nexport * from \"./shadcn/components/ui/chart\";\nexport * from \"./shadcn/components/ui/checkbox\";\nexport * from \"./shadcn/components/ui/collapsible\";\nexport * from \"./shadcn/components/ui/combobox\";\nexport * from \"./shadcn/components/ui/command\";\nexport * from \"./shadcn/components/ui/context-menu\";\nexport * from \"./shadcn/components/ui/dialog\";\nexport * from \"./shadcn/components/ui/drawer\";\nexport * from \"./shadcn/components/ui/dropdown-menu\";\nexport * from \"./shadcn/components/ui/form\";\nexport * from \"./shadcn/components/ui/hover-card\";\nexport * from \"./shadcn/components/ui/input\";\nexport * from \"./shadcn/components/ui/input-otp\";\nexport * from \"./shadcn/components/ui/label\";\nexport * from \"./shadcn/components/ui/menubar\";\nexport * from \"./shadcn/components/ui/navigation-menu\";\nexport * from \"./shadcn/components/ui/pagination\";\nexport * from \"./shadcn/components/ui/popover\";\nexport * from \"./shadcn/components/ui/progress\";\nexport * from \"./shadcn/components/ui/radio-group\";\nexport * from \"./shadcn/components/ui/resizable\";\nexport * from \"./shadcn/components/ui/scroll-area\";\nexport * from \"./shadcn/components/ui/select\";\nexport * from \"./shadcn/components/ui/separator\";\nexport * from \"./shadcn/components/ui/sheet\";\nexport * from \"./shadcn/components/ui/sidebar\";\nexport * from \"./shadcn/components/ui/skeleton\";\nexport * from \"./shadcn/components/ui/slider\";\nexport * from \"./shadcn/components/ui/sonner\";\nexport * from \"./shadcn/components/ui/switch\";\nexport * from \"./shadcn/components/ui/table\";\nexport * from \"./shadcn/components/ui/tabs\";\nexport * from \"./shadcn/components/ui/textarea\";\nexport * from \"./shadcn/components/ui/toggle\";\nexport * from \"./shadcn/components/ui/toggle-group\";\nexport * from \"./shadcn/components/ui/tooltip\";\nexport * from \"./shadcn/components/ui/tree\";\n\n// Hooks\nexport * from \"./shadcn/hooks/use-mobile\";\n"],"names":["toast"],"mappings":"AAAA,oBAAoB;AACpB,SAASA,KAAK,QAAQ,SAAS;AAC/B,cAAc,oCAA2B;AACzC,cAAc,4BAAyB;AACvC,cAAc,6BAA0B;AACxC,cAAc,sCAAmC;AACjD,cAAc,sCAAmC;AACjD,cAAc,kCAA+B;AAC7C,cAAc,+BAA4B;AAC1C,cAAc,4BAAyB;AACvC,cAAc,aAAU;AACxB,cAAc,sCAAmC;AACjD,cAAc,kCAA+B;AAC7C,cAAc,yCAAsC;AACpD,cAAc,yCAAsC;AACpD,cAAc,mCAAgC;AAC9C,cAAc,kCAA+B;AAC7C,cAAc,uCAAoC;AAClD,cAAc,mCAAgC;AAC9C,cAAc,qCAAkC;AAChD,cAAc,iCAA8B;AAC5C,cAAc,qCAAkC;AAChD,cAAc,kCAA+B;AAC7C,cAAc,qCAAkC;AAChD,cAAc,wCAAqC;AACnD,cAAc,qCAAkC;AAChD,cAAc,oCAAiC;AAC/C,cAAc,yCAAsC;AACpD,cAAc,mCAAgC;AAC9C,cAAc,mCAAgC;AAC9C,cAAc,0CAAuC;AACrD,cAAc,iCAA8B;AAC5C,cAAc,uCAAoC;AAClD,cAAc,kCAA+B;AAC7C,cAAc,sCAAmC;AACjD,cAAc,kCAA+B;AAC7C,cAAc,oCAAiC;AAC/C,cAAc,4CAAyC;AACvD,cAAc,uCAAoC;AAClD,cAAc,oCAAiC;AAC/C,cAAc,qCAAkC;AAChD,cAAc,wCAAqC;AACnD,cAAc,sCAAmC;AACjD,cAAc,wCAAqC;AACnD,cAAc,mCAAgC;AAC9C,cAAc,sCAAmC;AACjD,cAAc,kCAA+B;AAC7C,cAAc,oCAAiC;AAC/C,cAAc,qCAAkC;AAChD,cAAc,mCAAgC;AAC9C,cAAc,mCAAgC;AAC9C,cAAc,mCAAgC;AAC9C,cAAc,kCAA+B;AAC7C,cAAc,iCAA8B;AAC5C,cAAc,qCAAkC;AAChD,cAAc,mCAAgC;AAC9C,cAAc,yCAAsC;AACpD,cAAc,oCAAiC;AAC/C,cAAc,iCAA8B;AAE5C,QAAQ;AACR,cAAc,+BAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../../src/shadcn/components/ui/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../../src/shadcn/components/ui/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AA+DpC,iBAAS,SAAS,CAAC,EAClB,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAEtD;AAED,iBAAS,aAAa,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAQtD;AAED,iBAAS,gBAAgB,CAAC,EACzB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAazD;AAED,iBAAS,gBAAgB,CAAC,EACzB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAYzD;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -2,6 +2,24 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
3
|
import { ChevronDownIcon } from "lucide-react";
|
|
4
4
|
import { cn } from "../../lib/utils.js";
|
|
5
|
+
// Accordion item styles
|
|
6
|
+
const accordionItemStyles = cn("border-b", "border-border-primary", "last:border-b-0");
|
|
7
|
+
// Accordion trigger styles
|
|
8
|
+
const accordionTriggerStyles = cn(// Layout
|
|
9
|
+
"flex", "flex-1", "items-start", "justify-between", "gap-4", // Shape
|
|
10
|
+
"rounded-md", // Spacing
|
|
11
|
+
"py-4", // Typography
|
|
12
|
+
"text-left", "text-sm", "font-medium", // Interaction
|
|
13
|
+
"transition-all", "outline-none", "hover:underline", // Focus
|
|
14
|
+
"focus-visible:ring-2", "focus-visible:ring-utility-blue/70", // Disabled
|
|
15
|
+
"disabled:pointer-events-none", "disabled:opacity-50", // Icon rotation
|
|
16
|
+
"[&[data-state=open]>svg]:rotate-180");
|
|
17
|
+
// Accordion content styles
|
|
18
|
+
const accordionContentStyles = cn("data-[state=closed]:animate-accordion-up", "data-[state=open]:animate-accordion-down", "overflow-hidden", "text-sm");
|
|
19
|
+
// Accordion content inner styles
|
|
20
|
+
const accordionContentInnerStyles = cn("pt-0", "pb-4");
|
|
21
|
+
// Accordion chevron styles
|
|
22
|
+
const accordionChevronStyles = cn("text-text-secondary", "pointer-events-none", "size-4", "shrink-0", "translate-y-0.5", "transition-transform", "duration-200");
|
|
5
23
|
function Accordion({ ...props }) {
|
|
6
24
|
return /*#__PURE__*/ _jsx(AccordionPrimitive.Root, {
|
|
7
25
|
"data-slot": "accordion",
|
|
@@ -11,7 +29,7 @@ function Accordion({ ...props }) {
|
|
|
11
29
|
function AccordionItem({ className, ...props }) {
|
|
12
30
|
return /*#__PURE__*/ _jsx(AccordionPrimitive.Item, {
|
|
13
31
|
"data-slot": "accordion-item",
|
|
14
|
-
className: cn(
|
|
32
|
+
className: cn(accordionItemStyles, className),
|
|
15
33
|
...props
|
|
16
34
|
});
|
|
17
35
|
}
|
|
@@ -20,12 +38,12 @@ function AccordionTrigger({ className, children, ...props }) {
|
|
|
20
38
|
className: "flex",
|
|
21
39
|
children: /*#__PURE__*/ _jsxs(AccordionPrimitive.Trigger, {
|
|
22
40
|
"data-slot": "accordion-trigger",
|
|
23
|
-
className: cn(
|
|
41
|
+
className: cn(accordionTriggerStyles, className),
|
|
24
42
|
...props,
|
|
25
43
|
children: [
|
|
26
44
|
children,
|
|
27
45
|
/*#__PURE__*/ _jsx(ChevronDownIcon, {
|
|
28
|
-
className:
|
|
46
|
+
className: accordionChevronStyles
|
|
29
47
|
})
|
|
30
48
|
]
|
|
31
49
|
})
|
|
@@ -34,10 +52,10 @@ function AccordionTrigger({ className, children, ...props }) {
|
|
|
34
52
|
function AccordionContent({ className, children, ...props }) {
|
|
35
53
|
return /*#__PURE__*/ _jsx(AccordionPrimitive.Content, {
|
|
36
54
|
"data-slot": "accordion-content",
|
|
37
|
-
className:
|
|
55
|
+
className: accordionContentStyles,
|
|
38
56
|
...props,
|
|
39
57
|
children: /*#__PURE__*/ _jsx("div", {
|
|
40
|
-
className: cn(
|
|
58
|
+
className: cn(accordionContentInnerStyles, className),
|
|
41
59
|
children: children
|
|
42
60
|
})
|
|
43
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/shadcn/components/ui/accordion.tsx"],"sourcesContent":["import * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport { ChevronDownIcon } from \"lucide-react\";\nimport type * as React from \"react\";\n\nimport { cn } from \"#shadcn/lib/utils\";\n\nfunction Accordion({\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n\treturn <AccordionPrimitive.Root data-slot=\"accordion\" {...props} />;\n}\n\nfunction AccordionItem({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n\treturn (\n\t\t<AccordionPrimitive.Item\n\t\t\tdata-slot=\"accordion-item\"\n\t\t\tclassName={cn(
|
|
1
|
+
{"version":3,"sources":["../../../../../src/shadcn/components/ui/accordion.tsx"],"sourcesContent":["import * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport { ChevronDownIcon } from \"lucide-react\";\nimport type * as React from \"react\";\n\nimport { cn } from \"#shadcn/lib/utils\";\n\n// Accordion item styles\nconst accordionItemStyles = cn(\n\t\"border-b\",\n\t\"border-border-primary\",\n\t\"last:border-b-0\",\n);\n\n// Accordion trigger styles\nconst accordionTriggerStyles = cn(\n\t// Layout\n\t\"flex\",\n\t\"flex-1\",\n\t\"items-start\",\n\t\"justify-between\",\n\t\"gap-4\",\n\t// Shape\n\t\"rounded-md\",\n\t// Spacing\n\t\"py-4\",\n\t// Typography\n\t\"text-left\",\n\t\"text-sm\",\n\t\"font-medium\",\n\t// Interaction\n\t\"transition-all\",\n\t\"outline-none\",\n\t\"hover:underline\",\n\t// Focus\n\t\"focus-visible:ring-2\",\n\t\"focus-visible:ring-utility-blue/70\",\n\t// Disabled\n\t\"disabled:pointer-events-none\",\n\t\"disabled:opacity-50\",\n\t// Icon rotation\n\t\"[&[data-state=open]>svg]:rotate-180\",\n);\n\n// Accordion content styles\nconst accordionContentStyles = cn(\n\t\"data-[state=closed]:animate-accordion-up\",\n\t\"data-[state=open]:animate-accordion-down\",\n\t\"overflow-hidden\",\n\t\"text-sm\",\n);\n\n// Accordion content inner styles\nconst accordionContentInnerStyles = cn(\"pt-0\", \"pb-4\");\n\n// Accordion chevron styles\nconst accordionChevronStyles = cn(\n\t\"text-text-secondary\",\n\t\"pointer-events-none\",\n\t\"size-4\",\n\t\"shrink-0\",\n\t\"translate-y-0.5\",\n\t\"transition-transform\",\n\t\"duration-200\",\n);\n\nfunction Accordion({\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n\treturn <AccordionPrimitive.Root data-slot=\"accordion\" {...props} />;\n}\n\nfunction AccordionItem({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n\treturn (\n\t\t<AccordionPrimitive.Item\n\t\t\tdata-slot=\"accordion-item\"\n\t\t\tclassName={cn(accordionItemStyles, className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction AccordionTrigger({\n\tclassName,\n\tchildren,\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n\treturn (\n\t\t<AccordionPrimitive.Header className=\"flex\">\n\t\t\t<AccordionPrimitive.Trigger\n\t\t\t\tdata-slot=\"accordion-trigger\"\n\t\t\t\tclassName={cn(accordionTriggerStyles, className)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t<ChevronDownIcon className={accordionChevronStyles} />\n\t\t\t</AccordionPrimitive.Trigger>\n\t\t</AccordionPrimitive.Header>\n\t);\n}\n\nfunction AccordionContent({\n\tclassName,\n\tchildren,\n\t...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n\treturn (\n\t\t<AccordionPrimitive.Content\n\t\t\tdata-slot=\"accordion-content\"\n\t\t\tclassName={accordionContentStyles}\n\t\t\t{...props}\n\t\t>\n\t\t\t<div className={cn(accordionContentInnerStyles, className)}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</AccordionPrimitive.Content>\n\t);\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"names":["AccordionPrimitive","ChevronDownIcon","cn","accordionItemStyles","accordionTriggerStyles","accordionContentStyles","accordionContentInnerStyles","accordionChevronStyles","Accordion","props","Root","data-slot","AccordionItem","className","Item","AccordionTrigger","children","Header","Trigger","AccordionContent","Content","div"],"mappings":";AAAA,YAAYA,wBAAwB,4BAA4B;AAChE,SAASC,eAAe,QAAQ,eAAe;AAG/C,SAASC,EAAE,QAAQ,qBAAoB;AAEvC,wBAAwB;AACxB,MAAMC,sBAAsBD,GAC3B,YACA,yBACA;AAGD,2BAA2B;AAC3B,MAAME,yBAAyBF,GAC9B,SAAS;AACT,QACA,UACA,eACA,mBACA,SACA,QAAQ;AACR,cACA,UAAU;AACV,QACA,aAAa;AACb,aACA,WACA,eACA,cAAc;AACd,kBACA,gBACA,mBACA,QAAQ;AACR,wBACA,sCACA,WAAW;AACX,gCACA,uBACA,gBAAgB;AAChB;AAGD,2BAA2B;AAC3B,MAAMG,yBAAyBH,GAC9B,4CACA,4CACA,mBACA;AAGD,iCAAiC;AACjC,MAAMI,8BAA8BJ,GAAG,QAAQ;AAE/C,2BAA2B;AAC3B,MAAMK,yBAAyBL,GAC9B,uBACA,uBACA,UACA,YACA,mBACA,wBACA;AAGD,SAASM,UAAU,EAClB,GAAGC,OACmD;IACtD,qBAAO,KAACT,mBAAmBU,IAAI;QAACC,aAAU;QAAa,GAAGF,KAAK;;AAChE;AAEA,SAASG,cAAc,EACtBC,SAAS,EACT,GAAGJ,OACmD;IACtD,qBACC,KAACT,mBAAmBc,IAAI;QACvBH,aAAU;QACVE,WAAWX,GAAGC,qBAAqBU;QAClC,GAAGJ,KAAK;;AAGZ;AAEA,SAASM,iBAAiB,EACzBF,SAAS,EACTG,QAAQ,EACR,GAAGP,OACsD;IACzD,qBACC,KAACT,mBAAmBiB,MAAM;QAACJ,WAAU;kBACpC,cAAA,MAACb,mBAAmBkB,OAAO;YAC1BP,aAAU;YACVE,WAAWX,GAAGE,wBAAwBS;YACrC,GAAGJ,KAAK;;gBAERO;8BACD,KAACf;oBAAgBY,WAAWN;;;;;AAIhC;AAEA,SAASY,iBAAiB,EACzBN,SAAS,EACTG,QAAQ,EACR,GAAGP,OACsD;IACzD,qBACC,KAACT,mBAAmBoB,OAAO;QAC1BT,aAAU;QACVE,WAAWR;QACV,GAAGI,KAAK;kBAET,cAAA,KAACY;YAAIR,WAAWX,GAAGI,6BAA6BO;sBAC9CG;;;AAIL;AAEA,SAASR,SAAS,EAAEI,aAAa,EAAEG,gBAAgB,EAAEI,gBAAgB,GAAG"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
2
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
3
|
import type * as React from "react";
|
|
4
|
+
import { buttonVariants } from "#shadcn/components/ui/button";
|
|
3
5
|
declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,7 +11,7 @@ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps
|
|
|
9
11
|
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function AlertDialogAction({ className, variant, danger, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
15
17
|
//# sourceMappingURL=alert-dialog.d.ts.map
|