@grantbii/design-system 1.24.5 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/archive/RadioButtons.d.ts +1 -1
- package/core/archive/TallyModal.d.ts +1 -1
- package/core/archive/YesNoOptions.d.ts +1 -1
- package/core/atoms/BrandLogo.d.ts +1 -1
- package/core/atoms/Spacing.d.ts +2 -0
- package/core/atoms/Spacing.js +2 -0
- package/core/atoms/Spacing.js.map +1 -1
- package/core/integrations/registry.d.ts +1 -1
- package/core/molecules/Badge.d.ts +2 -2
- package/core/molecules/Button.d.ts +2 -2
- package/core/molecules/Checkbox.d.ts +1 -1
- package/core/molecules/Input.d.ts +1 -1
- package/core/molecules/PageLoader.d.ts +1 -1
- package/core/molecules/RadioButton.d.ts +1 -1
- package/core/organisms/Dropdown.d.ts +1 -1
- package/core/organisms/FileDrop.d.ts +1 -1
- package/core/organisms/SearchBar.d.ts +8 -7
- package/core/organisms/SearchBar.js +17 -28
- package/core/organisms/SearchBar.js.map +1 -1
- package/core/templates/ErrorFallback.d.ts +1 -1
- package/core/templates/GrantMatch/ActiveQueryFiles.d.ts +1 -1
- package/core/templates/GrantMatch/GrantMatchModal.d.ts +1 -1
- package/core/templates/GrantMatch/OpenModalButton.d.ts +1 -1
- package/core/templates/GrantMatch/index.d.ts +1 -1
- package/core/templates/GrantMatch/index.js +16 -8
- package/core/templates/GrantMatch/index.js.map +1 -1
- package/package.json +22 -22
- package/stories/archive/RadioButtons.stories.d.ts +1 -1
- package/stories/archive/TallyModal.stories.d.ts +1 -1
- package/stories/organisms/Dropdown.stories.d.ts +1 -1
- package/stories/organisms/FileDrop.stories.d.ts +1 -1
- package/stories/organisms/Modal.stories.d.ts +1 -1
- package/stories/organisms/SearchBar.stories.js +6 -8
- package/stories/organisms/SearchBar.stories.js.map +1 -1
- package/stories/templates/GrantMatch.stories.d.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.stories.js","sourceRoot":"","sources":["../../../stories/organisms/SearchBar.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchBar.stories.js","sourceRoot":"","sources":["../../../stories/organisms/SearchBar.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAMjC,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAyB,EAAE,EAAE;IAC3D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE/C,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,IAAI,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAC5B,KAAK,CAAC,iBAAiB,SAAS,EAAE,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,SAAS,IACR,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAC9D,gBAAgB,EAAE,GAAG,EAAE,CAAC,aAAa,EAAE,EACvC,aAAa,EAAE,GAAG,EAAE,CAAC,aAAa,EAAE,EACpC,YAAY,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,EACpC,IAAI,EAAE,IAAI,GACV,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,IAAI,GAA2B;IACnC,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,gBAAgB;IAC3B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACzB,CAAC","sourcesContent":["import { SearchBar } from \"@/.\";\nimport type { Meta, StoryObj } from \"@storybook/nextjs-vite\";\nimport { useState } from \"react\";\n\ntype SearchBarExampleProps = {\n size?: \"small\" | \"medium\";\n};\n\nconst SearchBarExample = ({ size }: SearchBarExampleProps) => {\n const [queryText, setQueryText] = useState(\"\");\n\n const performSearch = () => {\n if (queryText.trim() !== \"\") {\n alert(`Searching for ${queryText}`);\n }\n };\n\n return (\n <SearchBar\n queryText={queryText}\n onChangeQueryText={(event) => setQueryText(event.target.value)}\n handlePressEnter={() => performSearch()}\n onClickSearch={() => performSearch()}\n onClickReset={() => setQueryText(\"\")}\n size={size}\n />\n );\n};\n\nconst meta: Meta<typeof SearchBar> = {\n title: \"Organisms/SearchBar\",\n component: SearchBarExample,\n tags: [\"autodocs\"],\n parameters: {\n layout: \"fullscreen\",\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Small: Story = {\n args: { size: \"small\" },\n};\n\nexport const Medium: Story = {\n args: { size: \"medium\" },\n};\n"]}
|
|
@@ -5,7 +5,7 @@ type Callbacks = {
|
|
|
5
5
|
closeModalCallback?: () => void;
|
|
6
6
|
openModalCallback?: () => void;
|
|
7
7
|
};
|
|
8
|
-
declare const GrantMatchExample: (callbacks: Callbacks) => import("react
|
|
8
|
+
declare const GrantMatchExample: (callbacks: Callbacks) => import("react").JSX.Element;
|
|
9
9
|
declare const meta: Meta<typeof GrantMatchExample>;
|
|
10
10
|
export default meta;
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|