@pittorica/quote-react 0.8.2 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @pittorica/quote-react
2
+
3
+ The `Quote` component.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @pittorica/quote-react
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```jsx
14
+ import { Quote } from '@pittorica/quote-react';
15
+ // TODO: Add usage example
16
+ ```
17
+
18
+ ## License
19
+
20
+ This project is licensed under the MIT License.
21
+
22
+ **Copyright (c) 2025 Davide Di Criscito**
23
+
24
+ For the full details, see the [LICENSE](LICENSE) file.
package/dist/Quote.d.ts CHANGED
@@ -1,8 +1,6 @@
1
- import { default as React, QuoteHTMLAttributes } from 'react';
2
- import { BoxProps } from '@pittorica/box-react';
3
- export interface QuoteProps extends Omit<BoxProps & QuoteHTMLAttributes<HTMLQuoteElement>, 'as' | 'children' | 'cite'> {
4
- cite: string;
5
- children: React.ReactNode;
6
- }
7
- export declare const Quote: React.FC<QuoteProps>;
1
+ import { type TextProps } from '@pittorica/text-react';
2
+ /**
3
+ * Quote component for short inline quotations.
4
+ */
5
+ export declare const Quote: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
8
6
  //# sourceMappingURL=Quote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../src/Quote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAI1D,MAAM,WAAW,UAAW,SAAQ,IAAI,CACtC,QAAQ,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,EAChD,IAAI,GAAG,UAAU,GAAG,MAAM,CAC3B;IACC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAatC,CAAC"}
1
+ {"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../src/Quote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,4CAA+B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Quote } from './Quote';
3
+ declare const meta: Meta<typeof Quote>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Quote>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=Quote.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Quote.stories.d.ts","sourceRoot":"","sources":["../src/Quote.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAK5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAGpC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @vitest-environment jsdom
3
+ */
4
+ import '@testing-library/jest-dom';
5
+ //# sourceMappingURL=Quote.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Quote.test.d.ts","sourceRoot":"","sources":["../src/Quote.test.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,2BAA2B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from './quote.css.js';
2
- export * from './Quote.js';
1
+ export { Quote } from './Quote.js';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC"}