stargazer-ui 1.5.11 → 1.5.13
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/.babelrc.json +10 -0
- package/.eslintrc.cjs +18 -0
- package/.gitattributes +2 -0
- package/LICENSE +21 -0
- package/dev/index.html +12 -0
- package/dev/index.jsx +46 -0
- package/dev/index.scss +74 -0
- package/dev/pages/ButtonPage.jsx +44 -0
- package/dev/pages/CardPage.jsx +81 -0
- package/dev/pages/DropdownPage.jsx +32 -0
- package/dev/pages/FormPage.jsx +155 -0
- package/dev/pages/ListPage.jsx +52 -0
- package/dev/pages/ModalPage.jsx +38 -0
- package/dev/pages/OverlayPage.jsx +39 -0
- package/dev/pages/components.jsx +19 -0
- package/dev/stargazerui.css +3762 -0
- package/dev/stargazerui.css.map +1 -0
- package/dev/test.jsx +87 -0
- package/package.json +79 -1
- package/rollup.config.js +140 -0
- package/scripts/writePackageJsons.js +42 -0
- package/src/Bar/Bar.tsx +0 -0
- package/src/Bar/Bar.type.ts +9 -0
- package/src/Bar/index.ts +0 -0
- package/src/Button/Button.tsx +20 -0
- package/src/Button/Button.types.ts +8 -0
- package/src/Button/index.ts +3 -0
- package/src/ButtonGroup/ButtonGroup.tsx +14 -0
- package/src/ButtonGroup/ButtonGroup.types.ts +8 -0
- package/src/ButtonGroup/index.ts +3 -0
- package/src/Card/Card.tsx +70 -0
- package/src/Card/Card.types.ts +33 -0
- package/src/Card/index.ts +3 -0
- package/src/CloseButton/CloseButton.tsx +14 -0
- package/src/CloseButton/CloseButton.types.ts +6 -0
- package/src/CloseButton/index.ts +3 -0
- package/src/Dropdown/Dropdown.tsx +440 -0
- package/src/Dropdown/Dropdown.types.ts +60 -0
- package/src/Dropdown/DropdownOld.tsx +409 -0
- package/src/Dropdown/index.ts +4 -0
- package/src/FileUploadButton/FileUploadButton.tsx +27 -0
- package/src/FileUploadButton/FileUploadButton.types.ts +9 -0
- package/src/FileUploadButton/index.ts +3 -0
- package/src/FloatingLabel/FloatingLabel.tsx +22 -0
- package/src/FloatingLabel/FloatingLabel.types.ts +11 -0
- package/src/FloatingLabel/index.ts +3 -0
- package/src/Form/Form.tsx +398 -0
- package/src/Form/Form.types.ts +169 -0
- package/src/Form/FormSelect.tsx +527 -0
- package/src/Form/index.ts +4 -0
- package/src/InputGroup/InputGroup.tsx +46 -0
- package/src/InputGroup/InputGroup.types.ts +22 -0
- package/src/InputGroup/index.ts +4 -0
- package/src/List/List.tsx +112 -0
- package/src/List/List.types.ts +34 -0
- package/src/List/index.ts +4 -0
- package/src/Modal/Modal.tsx +229 -0
- package/src/Modal/Modal.types.ts +49 -0
- package/src/Modal/index.ts +4 -0
- package/src/Nav/Nav.tsx +43 -0
- package/src/Nav/Nav.types.ts +21 -0
- package/src/Nav/index.ts +4 -0
- package/src/NavBar/Navbar.tsx +57 -0
- package/src/NavBar/Navbar.types.ts +24 -0
- package/src/NavBar/index.ts +4 -0
- package/src/NavDropdown/NavDropdown.tsx +93 -0
- package/src/NavDropdown/NavDropdown.types.ts +6 -0
- package/src/NavDropdown/index.ts +3 -0
- package/src/Overlay/Overlay.tsx +309 -0
- package/src/Overlay/Overlay.types.ts +24 -0
- package/{Overlay/index.d.ts → src/Overlay/index.ts} +3 -3
- package/src/Popout/Popout.tsx +155 -0
- package/src/Popout/Popout.types.ts +42 -0
- package/src/Popout/index.ts +3 -0
- package/src/Spinner/Spinner.tsx +15 -0
- package/src/Spinner/Spinner.types.ts +7 -0
- package/src/Spinner/index.ts +3 -0
- package/src/Table/Table.tsx +16 -0
- package/src/Table/Table.types.ts +9 -0
- package/src/Table/index.ts +3 -0
- package/src/Tabs/Tabs.tsx +233 -0
- package/src/Tabs/Tabs.types.ts +52 -0
- package/src/Tabs/index.ts +3 -0
- package/src/ToggleButton/ToggleButton.tsx +21 -0
- package/src/ToggleButton/ToggleButton.types.ts +8 -0
- package/src/ToggleButton/index.ts +3 -0
- package/src/assets/tooltip-pointer.svg +3 -0
- package/src/assets/warning.svg +39 -0
- package/{hooks/index.d.ts → src/hooks/index.ts} +7 -6
- package/src/hooks/useClassname.ts +5 -0
- package/src/hooks/useDraggable.ts +186 -0
- package/src/hooks/useKeepElementFocused.ts +37 -0
- package/src/hooks/useQueryParams.ts +12 -0
- package/src/hooks/useScreenSize.ts +24 -0
- package/src/index.ts +21 -0
- package/src/styles/_Card.scss +166 -0
- package/src/styles/_CloseButton.scss +51 -0
- package/src/styles/_CustomButton.scss +134 -0
- package/src/styles/_Dropdown.scss +127 -0
- package/src/styles/_FloatingLabel.scss +56 -0
- package/src/styles/_Forms.scss +7 -0
- package/src/styles/_Grid.scss +178 -0
- package/src/styles/_InputGroup.scss +71 -0
- package/src/styles/_List.scss +62 -0
- package/src/styles/_Modal.scss +234 -0
- package/src/styles/_ModalOld.scss +242 -0
- package/src/styles/_Nav.scss +36 -0
- package/src/styles/_NavBar.scss +116 -0
- package/src/styles/_NavDropdown.scss +33 -0
- package/src/styles/_OffCanvas.scss +260 -0
- package/src/styles/_OverLay.scss +64 -0
- package/src/styles/_Popout.scss +75 -0
- package/src/styles/_Spinner.scss +19 -0
- package/src/styles/_Table.scss +34 -0
- package/src/styles/_Tabs.scss +129 -0
- package/src/styles/_colors.scss +510 -0
- package/src/styles/_components.scss +40 -0
- package/src/styles/_functions.scss +134 -0
- package/src/styles/_mixins.scss +26 -0
- package/src/styles/_reset.scss +237 -0
- package/src/styles/_utilities.scss +2480 -0
- package/src/styles/_variables.scss +164 -0
- package/src/styles/forms/_FormCheck.scss +270 -0
- package/src/styles/forms/_FormControl.scss +135 -0
- package/src/styles/forms/_FormGroup.scss +26 -0
- package/src/styles/forms/_FormLabel.scss +3 -0
- package/src/styles/forms/_FormSelect.scss +196 -0
- package/src/styles/forms/_FormSlider.scss +116 -0
- package/src/styles/forms/_FormText.scss +6 -0
- package/{utils/BaseTypes.d.ts → src/utils/BaseTypes.ts} +32 -25
- package/src/utils/ContrastingColor.ts +25 -0
- package/src/utils/CreateSyntheticEvent.ts +30 -0
- package/src/utils/FileImportExport.js +50 -0
- package/src/utils/IsInputKey.ts +18 -0
- package/src/utils/MergeClassnames.ts +5 -0
- package/src/utils/MergeRefs.ts +12 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig-build.json +4 -0
- package/tsconfig.json +79 -0
- package/tsconfig.node.json +10 -0
- package/types/BaseTypes.d.ts +19 -0
- package/{Button → types/components/Button}/Button.types.d.ts +2 -1
- package/types/components/Button/index.d.ts +1 -0
- package/{Card → types/components/Card}/Card.types.d.ts +1 -3
- package/types/components/Card/index.d.ts +1 -0
- package/{CloseButton → types/components/CloseButton}/CloseButton.types.d.ts +1 -1
- package/types/components/CloseButton/index.d.ts +1 -0
- package/{Dropdown/DropdownOld.d.ts → types/components/Dropdown/Dropdown.d.ts} +3 -61
- package/{Dropdown → types/components/Dropdown}/Dropdown.types.d.ts +11 -10
- package/types/components/Dropdown/index.d.ts +1 -0
- package/{FloatingLabel → types/components/FloatingLabel}/FloatingLabel.types.d.ts +1 -1
- package/types/components/FloatingLabel/index.d.ts +1 -0
- package/types/components/Form/Form.d.ts +17 -0
- package/types/components/Form/Form.types.d.ts +50 -0
- package/types/components/Form/index.d.ts +1 -0
- package/types/components/InputGroup/InputGroup.d.ts +6 -0
- package/types/components/InputGroup/InputGroup.types.d.ts +10 -0
- package/types/components/InputGroup/index.d.ts +1 -0
- package/{Modal → types/components/Modal}/Modal.d.ts +1 -1
- package/{Modal → types/components/Modal}/Modal.types.d.ts +2 -3
- package/types/components/Modal/index.d.ts +1 -0
- package/{Nav → types/components/Nav}/Nav.types.d.ts +1 -1
- package/types/components/Nav/index.d.ts +1 -0
- package/{NavBar → types/components/NavBar}/Navbar.d.ts +2 -1
- package/{NavBar → types/components/NavBar}/Navbar.types.d.ts +1 -2
- package/types/components/NavBar/index.d.ts +1 -0
- package/types/components/NavDropdown/NavDropdown.d.ts +35 -0
- package/types/components/NavDropdown/index.d.ts +1 -0
- package/{Popout → types/components/Popout}/Popout.types.d.ts +1 -1
- package/types/components/Popout/index.d.ts +1 -0
- package/types/components/Spinner/index.d.ts +1 -0
- package/{Table → types/components/Table}/Table.types.d.ts +1 -1
- package/types/components/Table/index.d.ts +1 -0
- package/{Tabs → types/components/Tabs}/Tabs.types.d.ts +1 -12
- package/types/components/Tabs/index.d.ts +1 -0
- package/types/components/ToggleButton/ToggleButton.d.ts +9 -0
- package/types/components/ToggleButton/ToggleButton.types.d.ts +0 -0
- package/types/components/ToggleButton/index.d.ts +1 -0
- package/types/components/index.d.ts +16 -0
- package/types/index.d.ts +1 -0
- package/vite.config.js +57 -0
- package/vite.config.js.timestamp-1708777378490-e94428ceb2bf9.mjs +42 -0
- package/Bar/Bar.type.d.ts +0 -6
- package/Bar/index.js +0 -2
- package/Bar/index.js.map +0 -1
- package/Bar/package.json +0 -1
- package/Button/Button.js +0 -15
- package/Button/Button.js.map +0 -1
- package/Button/index.d.ts +0 -3
- package/Button/index.js +0 -7
- package/Button/index.js.map +0 -1
- package/Button/package.json +0 -1
- package/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/ButtonGroup/ButtonGroup.js +0 -11
- package/ButtonGroup/ButtonGroup.js.map +0 -1
- package/ButtonGroup/ButtonGroup.types.d.ts +0 -7
- package/ButtonGroup/index.d.ts +0 -3
- package/ButtonGroup/index.js +0 -7
- package/ButtonGroup/index.js.map +0 -1
- package/ButtonGroup/package.json +0 -1
- package/Card/Card.js +0 -42
- package/Card/Card.js.map +0 -1
- package/Card/index.d.ts +0 -3
- package/Card/index.js +0 -7
- package/Card/index.js.map +0 -1
- package/Card/package.json +0 -1
- package/CloseButton/CloseButton.js +0 -11
- package/CloseButton/CloseButton.js.map +0 -1
- package/CloseButton/index.d.ts +0 -3
- package/CloseButton/index.js +0 -7
- package/CloseButton/index.js.map +0 -1
- package/CloseButton/package.json +0 -1
- package/Dropdown/Dropdown.d.ts +0 -129
- package/Dropdown/Dropdown.js +0 -378
- package/Dropdown/Dropdown.js.map +0 -1
- package/Dropdown/index.d.ts +0 -4
- package/Dropdown/index.js +0 -8
- package/Dropdown/index.js.map +0 -1
- package/Dropdown/package.json +0 -1
- package/FileUploadButton/FileUploadButton.d.ts +0 -4
- package/FileUploadButton/FileUploadButton.js +0 -20
- package/FileUploadButton/FileUploadButton.js.map +0 -1
- package/FileUploadButton/FileUploadButton.types.d.ts +0 -7
- package/FileUploadButton/index.d.ts +0 -3
- package/FileUploadButton/index.js +0 -7
- package/FileUploadButton/index.js.map +0 -1
- package/FileUploadButton/package.json +0 -1
- package/FloatingLabel/FloatingLabel.js +0 -15
- package/FloatingLabel/FloatingLabel.js.map +0 -1
- package/FloatingLabel/index.d.ts +0 -3
- package/FloatingLabel/index.js +0 -7
- package/FloatingLabel/index.js.map +0 -1
- package/FloatingLabel/package.json +0 -1
- package/Form/Form.d.ts +0 -38
- package/Form/Form.js +0 -227
- package/Form/Form.js.map +0 -1
- package/Form/Form.types.d.ts +0 -159
- package/Form/FormSelect.d.ts +0 -15
- package/Form/FormSelect.js +0 -436
- package/Form/FormSelect.js.map +0 -1
- package/Form/index.d.ts +0 -4
- package/Form/index.js +0 -8
- package/Form/index.js.map +0 -1
- package/Form/package.json +0 -1
- package/InputGroup/InputGroup.d.ts +0 -7
- package/InputGroup/InputGroup.js +0 -31
- package/InputGroup/InputGroup.js.map +0 -1
- package/InputGroup/InputGroup.types.d.ts +0 -17
- package/InputGroup/index.d.ts +0 -4
- package/InputGroup/index.js +0 -7
- package/InputGroup/index.js.map +0 -1
- package/InputGroup/package.json +0 -1
- package/List/List.d.ts +0 -14
- package/List/List.js +0 -77
- package/List/List.js.map +0 -1
- package/List/List.types.d.ts +0 -28
- package/List/index.d.ts +0 -3
- package/List/index.js +0 -7
- package/List/index.js.map +0 -1
- package/List/package.json +0 -1
- package/Modal/Modal.js +0 -157
- package/Modal/Modal.js.map +0 -1
- package/Modal/index.d.ts +0 -3
- package/Modal/index.js +0 -7
- package/Modal/index.js.map +0 -1
- package/Modal/package.json +0 -1
- package/Nav/Nav.js +0 -29
- package/Nav/Nav.js.map +0 -1
- package/Nav/index.d.ts +0 -4
- package/Nav/index.js +0 -7
- package/Nav/index.js.map +0 -1
- package/Nav/package.json +0 -1
- package/NavBar/Navbar.js +0 -36
- package/NavBar/Navbar.js.map +0 -1
- package/NavBar/index.d.ts +0 -4
- package/NavBar/index.js +0 -8
- package/NavBar/index.js.map +0 -1
- package/NavBar/package.json +0 -1
- package/NavDropdown/NavDropdown.d.ts +0 -93
- package/NavDropdown/NavDropdown.js +0 -75
- package/NavDropdown/NavDropdown.js.map +0 -1
- package/NavDropdown/index.d.ts +0 -3
- package/NavDropdown/index.js +0 -7
- package/NavDropdown/index.js.map +0 -1
- package/NavDropdown/package.json +0 -1
- package/Overlay/Overlay.d.ts +0 -4
- package/Overlay/Overlay.js +0 -242
- package/Overlay/Overlay.js.map +0 -1
- package/Overlay/Overlay.types.d.ts +0 -22
- package/Overlay/index.js +0 -7
- package/Overlay/index.js.map +0 -1
- package/Overlay/package.json +0 -1
- package/Popout/Popout.js +0 -111
- package/Popout/Popout.js.map +0 -1
- package/Popout/index.d.ts +0 -3
- package/Popout/index.js +0 -7
- package/Popout/index.js.map +0 -1
- package/Popout/package.json +0 -1
- package/Spinner/Spinner.js +0 -11
- package/Spinner/Spinner.js.map +0 -1
- package/Spinner/index.d.ts +0 -3
- package/Spinner/index.js +0 -7
- package/Spinner/index.js.map +0 -1
- package/Spinner/package.json +0 -1
- package/Table/Table.js +0 -12
- package/Table/Table.js.map +0 -1
- package/Table/index.d.ts +0 -3
- package/Table/index.js +0 -7
- package/Table/index.js.map +0 -1
- package/Table/package.json +0 -1
- package/Tabs/Tabs.js +0 -162
- package/Tabs/Tabs.js.map +0 -1
- package/Tabs/index.d.ts +0 -3
- package/Tabs/index.js +0 -7
- package/Tabs/index.js.map +0 -1
- package/Tabs/package.json +0 -1
- package/ToggleButton/ToggleButton.d.ts +0 -4
- package/ToggleButton/ToggleButton.js +0 -18
- package/ToggleButton/ToggleButton.js.map +0 -1
- package/ToggleButton/ToggleButton.types.d.ts +0 -7
- package/ToggleButton/index.d.ts +0 -3
- package/ToggleButton/index.js +0 -7
- package/ToggleButton/index.js.map +0 -1
- package/ToggleButton/package.json +0 -1
- package/hooks/index.js +0 -7
- package/hooks/index.js.map +0 -1
- package/hooks/package.json +0 -1
- package/hooks/useClassname.d.ts +0 -2
- package/hooks/useClassname.js +0 -7
- package/hooks/useClassname.js.map +0 -1
- package/hooks/useDraggable.d.ts +0 -23
- package/hooks/useDraggable.js +0 -147
- package/hooks/useDraggable.js.map +0 -1
- package/hooks/useKeepElementFocused.d.ts +0 -2
- package/hooks/useKeepElementFocused.js +0 -37
- package/hooks/useKeepElementFocused.js.map +0 -1
- package/hooks/useQueryParams.d.ts +0 -2
- package/hooks/useQueryParams.js +0 -13
- package/hooks/useQueryParams.js.map +0 -1
- package/hooks/useScreenSize.d.ts +0 -5
- package/hooks/useScreenSize.js +0 -21
- package/hooks/useScreenSize.js.map +0 -1
- package/index.d.ts +0 -18
- package/index.js +0 -19
- package/index.js.map +0 -1
- package/styles/stargazerui.css +0 -6552
- package/styles/stargazerui.css.map +0 -1
- package/utils/ContrastingColor.d.ts +0 -1
- package/utils/CreateSyntheticEvent.d.ts +0 -3
- package/utils/CreateSyntheticEvent.js +0 -33
- package/utils/CreateSyntheticEvent.js.map +0 -1
- package/utils/IsInputKey.d.ts +0 -7
- package/utils/IsInputKey.js +0 -20
- package/utils/IsInputKey.js.map +0 -1
- package/utils/MergeClassnames.d.ts +0 -2
- package/utils/MergeClassnames.js +0 -7
- package/utils/MergeClassnames.js.map +0 -1
- package/utils/MergeRefs.d.ts +0 -2
- package/utils/MergeRefs.js +0 -16
- package/utils/MergeRefs.js.map +0 -1
- /package/{Button → types/components/Button}/Button.d.ts +0 -0
- /package/{Card → types/components/Card}/Card.d.ts +0 -0
- /package/{CloseButton → types/components/CloseButton}/CloseButton.d.ts +0 -0
- /package/{FloatingLabel → types/components/FloatingLabel}/FloatingLabel.d.ts +0 -0
- /package/{Nav → types/components/Nav}/Nav.d.ts +0 -0
- /package/{NavDropdown → types/components/NavDropdown}/NavDropdown.types.d.ts +0 -0
- /package/{Popout → types/components/Popout}/Popout.d.ts +0 -0
- /package/{Spinner → types/components/Spinner}/Spinner.d.ts +0 -0
- /package/{Spinner → types/components/Spinner}/Spinner.types.d.ts +0 -0
- /package/{Table → types/components/Table}/Table.d.ts +0 -0
- /package/{Tabs → types/components/Tabs}/Tabs.d.ts +0 -0
package/Bar/Bar.type.d.ts
DELETED
package/Bar/index.js
DELETED
package/Bar/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/Bar/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"stargazer-ui/Bar","private":false,"module":"./index.js","types":"./index.d.ts","peerDependencies":{"lodash":"^4.17.21","react":">=17.0.0","react-dom":">=17.0.0"}}
|
package/Button/Button.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import mergeClassnames from '../utils/MergeClassnames.js';
|
|
5
|
-
|
|
6
|
-
const Button = forwardRef(({ children, variant = "primary", className, ...rest }, ref) => {
|
|
7
|
-
const variants = ["primary", "secondary", "success", "info", "warning", "danger", "dark", "light", "custom"]; //["red", "blue", "yellow", "green", "purple"]
|
|
8
|
-
const variantTest = variants.find(variantTest => variantTest === variant) ? variant : "primary";
|
|
9
|
-
const computedClassnames = mergeClassnames("sg-button", `sg-button-${variantTest}`, className);
|
|
10
|
-
return (jsx("button", { ref: ref, type: "button", className: computedClassnames, ...rest, children: children }));
|
|
11
|
-
});
|
|
12
|
-
Button.displayName = "Button";
|
|
13
|
-
|
|
14
|
-
export { Button as default };
|
|
15
|
-
//# sourceMappingURL=Button.js.map
|
package/Button/Button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../src/Button/Button.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAMM,MAAA,MAAM,GAAG,UAAU,CAAiC,CAAC,EAAC,QAAQ,EAAE,OAAO,GAAC,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAC,EAAE,GAAG,KAAI;IACjH,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAC5G,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,IAAI,WAAW,KAAK,OAAO,CAAC,GAAG,OAAO,GAAG,SAAS,CAAA;AAC/F,IAAA,MAAM,kBAAkB,GAAG,eAAe,CAAC,WAAW,EAAE,CAAa,UAAA,EAAA,WAAW,CAAE,CAAA,EAAE,SAAS,CAAC,CAAA;AAC9F,IAAA,QACIA,GAAQ,CAAA,QAAA,EAAA,EAAA,GAAG,EAAE,GAAG,EAAE,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,kBAAkB,EAAM,GAAA,IAAI,YAClE,QAAQ,EAAA,CACJ,EACZ;AACL,CAAC,EAAE;AAEH,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
|
package/Button/index.d.ts
DELETED
package/Button/index.js
DELETED
package/Button/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/Button/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"stargazer-ui/Button","private":false,"module":"./index.js","types":"./index.d.ts","peerDependencies":{"lodash":"^4.17.21","react":">=17.0.0","react-dom":">=17.0.0"}}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
|
|
5
|
-
const ButtonGroup = forwardRef(({ children, className, vertical = false, ...restProps }, ref) => {
|
|
6
|
-
return (jsx("div", { ref: ref, role: "group", className: `sg-button-group${vertical ? "-vertical" : ""}${className ? " " + className : ""}`, ...restProps, children: children }));
|
|
7
|
-
});
|
|
8
|
-
ButtonGroup.displayName = "ButtonGroup";
|
|
9
|
-
|
|
10
|
-
export { ButtonGroup as default };
|
|
11
|
-
//# sourceMappingURL=ButtonGroup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.js","sources":["../../src/ButtonGroup/ButtonGroup.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAGM,MAAA,WAAW,GAAG,UAAU,CAAmC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,GAAC,KAAK,EAAE,GAAG,SAAS,EAAC,EAAE,GAAG,KAAI;AAC3H,IAAA,QACIA,GAAK,CAAA,KAAA,EAAA,EAAA,GAAG,EAAE,GAAG,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,CAAkB,eAAA,EAAA,QAAQ,GAAG,WAAW,GAAG,EAAE,GAAG,SAAS,GAAG,GAAG,GAAC,SAAS,GAAG,EAAE,EAAE,EAAM,GAAA,SAAS,YACjI,QAAQ,EAAA,CACP,EACT;AACL,CAAC,EAAC;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa;;;;"}
|
package/ButtonGroup/index.d.ts
DELETED
package/ButtonGroup/index.js
DELETED
package/ButtonGroup/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/ButtonGroup/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"stargazer-ui/ButtonGroup","private":false,"module":"./index.js","types":"./index.d.ts","peerDependencies":{"lodash":"^4.17.21","react":">=17.0.0","react-dom":">=17.0.0"}}
|
package/Card/Card.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
|
|
5
|
-
const Card = forwardRef(({ children, className, variant, inverted = false, ...restProps }, ref) => {
|
|
6
|
-
return (jsx("div", { ref: ref, className: `sg-card${className ? " " + className : ""}${variant ? " " + variant : ""}${inverted ? " inverted" : ""}`, ...restProps, children: children }));
|
|
7
|
-
});
|
|
8
|
-
Card.displayName = "Card";
|
|
9
|
-
const Header = forwardRef(({ as = "div", className, children, ...restProps }, ref) => {
|
|
10
|
-
let validAs = ["div", "span", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
11
|
-
let Component = validAs.find(valid => valid === as) ? as : "div";
|
|
12
|
-
return (jsx(Component, { ref: ref, className: `sg-card-header ${className}`, ...restProps, children: children }));
|
|
13
|
-
});
|
|
14
|
-
Header.displayName = "CardHeader";
|
|
15
|
-
const Title = forwardRef(({ as = "h5", className, children, ...restProps }, ref) => {
|
|
16
|
-
let validAs = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
17
|
-
let Component = validAs.find(valid => valid === as) ? as : "h5";
|
|
18
|
-
return (jsx(Component, { ref: ref, className: `sg-card-title${className ? " " + className : ""}`, ...restProps, children: children }));
|
|
19
|
-
});
|
|
20
|
-
Title.displayName = "CardTitle";
|
|
21
|
-
const Body = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
22
|
-
return (jsx("div", { ref: ref, className: `sg-card-body ${className}`, ...restProps, children: children }));
|
|
23
|
-
});
|
|
24
|
-
Body.displayName = "CardBody";
|
|
25
|
-
const Text = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
26
|
-
return (jsx("p", { ref: ref, className: `sg-card-text ${className}`, ...restProps, children: children }));
|
|
27
|
-
});
|
|
28
|
-
Text.displayName = "CardText";
|
|
29
|
-
const Footer = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
30
|
-
return (jsx("div", { ref: ref, className: `sg-card-footer ${className}`, ...restProps, children: children }));
|
|
31
|
-
});
|
|
32
|
-
Footer.displayName = "CardFooter";
|
|
33
|
-
var Card$1 = Object.assign(Card, {
|
|
34
|
-
Header: Header,
|
|
35
|
-
Body: Body,
|
|
36
|
-
Title: Title,
|
|
37
|
-
Text: Text,
|
|
38
|
-
Footer: Footer
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export { Card$1 as default };
|
|
42
|
-
//# sourceMappingURL=Card.js.map
|
package/Card/Card.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../src/Card/Card.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"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"}
|
package/Card/index.d.ts
DELETED
package/Card/index.js
DELETED
package/Card/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/Card/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"stargazer-ui/Card","private":false,"module":"./index.js","types":"./index.d.ts","peerDependencies":{"lodash":"^4.17.21","react":">=17.0.0","react-dom":">=17.0.0"}}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
|
|
5
|
-
const CloseButton = forwardRef(({ className, variant = false, ...restProps }, ref) => {
|
|
6
|
-
return (jsx("button", { ref: ref, className: `sg-button-close${variant ? " sg-button-close-white" : ""} ${className}`, ...restProps, children: jsx("span", { className: "sg-close-visually-hidden-label", children: "Close" }) }));
|
|
7
|
-
});
|
|
8
|
-
CloseButton.displayName = "CloseButton";
|
|
9
|
-
|
|
10
|
-
export { CloseButton as default };
|
|
11
|
-
//# sourceMappingURL=CloseButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.js","sources":["../../src/CloseButton/CloseButton.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,WAAW,GAAG,UAAU,CAAsC,CAAC,EAAC,SAAS,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,SAAS,EAAC,EAAE,GAAG,KAAI;AACpH,IAAA,QACIA,GAAA,CAAA,QAAA,EAAA,EAAQ,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,CAAkB,eAAA,EAAA,OAAO,GAAG,wBAAwB,GAAG,EAAE,CAAA,CAAA,EAAI,SAAS,CAAA,CAAE,KAAM,SAAS,EAAA,QAAA,EAChHA,GAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAC,gCAAgC,EAAa,QAAA,EAAA,OAAA,EAAA,CAAA,EAAA,CACxD,EACZ;AACL,CAAC,EAAC;AACF,WAAW,CAAC,WAAW,GAAG,aAAa;;;;"}
|
package/CloseButton/index.d.ts
DELETED
package/CloseButton/index.js
DELETED
package/CloseButton/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/CloseButton/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"stargazer-ui/CloseButton","private":false,"module":"./index.js","types":"./index.d.ts","peerDependencies":{"lodash":"^4.17.21","react":">=17.0.0","react-dom":">=17.0.0"}}
|
package/Dropdown/Dropdown.d.ts
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DropdownContextType, DropdownDividerType, DropdownMenuType } from "./Dropdown.types";
|
|
3
|
-
export declare const DropdownContext: React.Context<DropdownContextType | null>;
|
|
4
|
-
export declare const DropdownContextProvider: ({ children, value }: {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
value: DropdownContextType;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const useDropdownContext: () => DropdownContextType;
|
|
9
|
-
export declare const Toggle: React.ForwardRefExoticComponent<(Omit<{
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
13
|
-
navDropdown?: boolean | undefined;
|
|
14
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
15
|
-
variant?: string | undefined;
|
|
16
|
-
label: string;
|
|
17
|
-
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
18
|
-
children: React.ReactNode;
|
|
19
|
-
className?: string | undefined;
|
|
20
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
21
|
-
navDropdown?: boolean | undefined;
|
|
22
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
23
|
-
variant?: string | undefined;
|
|
24
|
-
label: string;
|
|
25
|
-
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> | Omit<{
|
|
26
|
-
children: React.ReactNode;
|
|
27
|
-
className?: string | undefined;
|
|
28
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
29
|
-
navDropdown?: boolean | undefined;
|
|
30
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
31
|
-
variant?: string | undefined;
|
|
32
|
-
label: string;
|
|
33
|
-
} & React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
34
|
-
export declare const Menu: React.ForwardRefExoticComponent<Omit<DropdownMenuType, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
35
|
-
export declare const Item: React.ForwardRefExoticComponent<(Omit<{
|
|
36
|
-
children: React.ReactNode;
|
|
37
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
38
|
-
className?: string | undefined;
|
|
39
|
-
liProps: import("../utils/BaseTypes").BaseLItemType;
|
|
40
|
-
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
41
|
-
children: React.ReactNode;
|
|
42
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
43
|
-
className?: string | undefined;
|
|
44
|
-
liProps: import("../utils/BaseTypes").BaseLItemType;
|
|
45
|
-
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
46
|
-
export declare const Divider: React.ForwardRefExoticComponent<Omit<DropdownDividerType, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
47
|
-
declare const _default: React.ForwardRefExoticComponent<(Omit<{
|
|
48
|
-
children: React.ReactNode;
|
|
49
|
-
className?: string | undefined;
|
|
50
|
-
navDropdown?: boolean | undefined;
|
|
51
|
-
onSelect?: Function | undefined;
|
|
52
|
-
onToggle?: Function | undefined;
|
|
53
|
-
controlId: string;
|
|
54
|
-
drop?: string | undefined;
|
|
55
|
-
align?: string | undefined;
|
|
56
|
-
autoClose?: boolean | undefined;
|
|
57
|
-
show?: boolean | undefined;
|
|
58
|
-
label: string;
|
|
59
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
60
|
-
variant?: string | undefined;
|
|
61
|
-
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
62
|
-
children: React.ReactNode;
|
|
63
|
-
className?: string | undefined;
|
|
64
|
-
navDropdown?: boolean | undefined;
|
|
65
|
-
onSelect?: Function | undefined;
|
|
66
|
-
onToggle?: Function | undefined;
|
|
67
|
-
controlId: string;
|
|
68
|
-
drop?: string | undefined;
|
|
69
|
-
align?: string | undefined;
|
|
70
|
-
autoClose?: boolean | undefined;
|
|
71
|
-
show?: boolean | undefined;
|
|
72
|
-
label: string;
|
|
73
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
74
|
-
variant?: string | undefined;
|
|
75
|
-
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> | Omit<{
|
|
76
|
-
children: React.ReactNode;
|
|
77
|
-
className?: string | undefined;
|
|
78
|
-
navDropdown?: boolean | undefined;
|
|
79
|
-
onSelect?: Function | undefined;
|
|
80
|
-
onToggle?: Function | undefined;
|
|
81
|
-
controlId: string;
|
|
82
|
-
drop?: string | undefined;
|
|
83
|
-
align?: string | undefined;
|
|
84
|
-
autoClose?: boolean | undefined;
|
|
85
|
-
show?: boolean | undefined;
|
|
86
|
-
label: string;
|
|
87
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
88
|
-
variant?: string | undefined;
|
|
89
|
-
} & React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
|
90
|
-
Toggle: React.ForwardRefExoticComponent<(Omit<{
|
|
91
|
-
children: React.ReactNode;
|
|
92
|
-
className?: string | undefined;
|
|
93
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
94
|
-
navDropdown?: boolean | undefined;
|
|
95
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
96
|
-
variant?: string | undefined;
|
|
97
|
-
label: string;
|
|
98
|
-
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
99
|
-
children: React.ReactNode;
|
|
100
|
-
className?: string | undefined;
|
|
101
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
102
|
-
navDropdown?: boolean | undefined;
|
|
103
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
104
|
-
variant?: string | undefined;
|
|
105
|
-
label: string;
|
|
106
|
-
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> | Omit<{
|
|
107
|
-
children: React.ReactNode;
|
|
108
|
-
className?: string | undefined;
|
|
109
|
-
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
110
|
-
navDropdown?: boolean | undefined;
|
|
111
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
112
|
-
variant?: string | undefined;
|
|
113
|
-
label: string;
|
|
114
|
-
} & React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
115
|
-
Menu: React.ForwardRefExoticComponent<Omit<DropdownMenuType, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
116
|
-
Item: React.ForwardRefExoticComponent<(Omit<{
|
|
117
|
-
children: React.ReactNode;
|
|
118
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
119
|
-
className?: string | undefined;
|
|
120
|
-
liProps: import("../utils/BaseTypes").BaseLItemType;
|
|
121
|
-
} & React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>, "ref"> | Omit<{
|
|
122
|
-
children: React.ReactNode;
|
|
123
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
124
|
-
className?: string | undefined;
|
|
125
|
-
liProps: import("../utils/BaseTypes").BaseLItemType;
|
|
126
|
-
} & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
127
|
-
Divider: React.ForwardRefExoticComponent<Omit<DropdownDividerType, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
128
|
-
};
|
|
129
|
-
export default _default;
|