@pearpages/pulp-react 0.1.0 → 0.2.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 +34 -3
- package/dist/{chunk-F3OFZGGE.js → chunk-7RQQASKS.js} +3 -3
- package/dist/{chunk-F3OFZGGE.js.map → chunk-7RQQASKS.js.map} +1 -1
- package/dist/{chunk-Q6J6BMSB.js → chunk-GUZMLYST.js} +3 -3
- package/dist/{chunk-Q6J6BMSB.js.map → chunk-GUZMLYST.js.map} +1 -1
- package/dist/{chunk-J5S2HVHO.js → chunk-WDWTQKIJ.js} +3 -3
- package/dist/{chunk-J5S2HVHO.js.map → chunk-WDWTQKIJ.js.map} +1 -1
- package/dist/chunk-XUROYTJ7.js +28 -0
- package/dist/chunk-XUROYTJ7.js.map +1 -0
- package/dist/combobox.js +2 -2
- package/dist/component-manifest.json +488 -1
- package/dist/index.css +9 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -11
- package/dist/picker.js +2 -2
- package/dist/sheet.css +71 -0
- package/dist/sheet.css.map +1 -0
- package/dist/sheet.d.ts +58 -0
- package/dist/sheet.js +5 -0
- package/dist/sheet.js.map +1 -0
- package/dist/table.js +2 -2
- package/package.json +10 -5
package/dist/index.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Text } from './chunk-2ZP4ZBI5.js';
|
|
2
2
|
export { Tabs } from './chunk-FH54XQ35.js';
|
|
3
3
|
export { Card } from './chunk-MRQWUCBA.js';
|
|
4
4
|
export { TextField } from './chunk-MXWXJZFS.js';
|
|
5
|
+
export { Checkbox } from './chunk-DWE374JX.js';
|
|
5
6
|
export { Inline } from './chunk-AWQHULJC.js';
|
|
6
7
|
export { Stack } from './chunk-7DS4I7OJ.js';
|
|
7
8
|
export { Heading } from './chunk-3GWESUGD.js';
|
|
8
|
-
export {
|
|
9
|
+
export { ToastProvider, useToast } from './chunk-DXOOW6Q6.js';
|
|
10
|
+
export { Alert } from './chunk-PM4YO67Q.js';
|
|
9
11
|
export { Badge } from './chunk-6I26MMQF.js';
|
|
10
12
|
export { Select } from './chunk-OGIQRHNF.js';
|
|
11
13
|
export { Textarea } from './chunk-TGMDOQCL.js';
|
|
12
14
|
export { Radio, RadioGroup } from './chunk-XDVS7HX7.js';
|
|
13
15
|
export { Switch } from './chunk-OUFAFINB.js';
|
|
14
|
-
export { Checkbox } from './chunk-DWE374JX.js';
|
|
15
16
|
import './chunk-BBV4L5WO.js';
|
|
16
17
|
export { Field, useField } from './chunk-2PXTVZ7H.js';
|
|
17
|
-
export {
|
|
18
|
+
export { Listbox } from './chunk-TVI5AXLE.js';
|
|
19
|
+
export { Combobox } from './chunk-GUZMLYST.js';
|
|
18
20
|
export { Menu } from './chunk-GTTXRDXV.js';
|
|
19
21
|
export { Accordion } from './chunk-O6OBFL3Q.js';
|
|
20
22
|
import './chunk-I5OZ63W7.js';
|
|
@@ -24,25 +26,24 @@ export { Tooltip } from './chunk-Y4TZA77G.js';
|
|
|
24
26
|
import './chunk-U6QRAD73.js';
|
|
25
27
|
export { Skeleton } from './chunk-ASOQ2MVR.js';
|
|
26
28
|
export { Progress } from './chunk-75GTNRBH.js';
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
+
export { Sheet } from './chunk-XUROYTJ7.js';
|
|
30
|
+
export { Dialog, DialogSystem } from './chunk-IDNGNQNV.js';
|
|
29
31
|
export { Pagination, paginationRange } from './chunk-K5QGGQOV.js';
|
|
30
32
|
export { IconButton } from './chunk-FXRSZUDH.js';
|
|
31
33
|
export { Button } from './chunk-KPQGS4PG.js';
|
|
32
34
|
export { Spinner } from './chunk-I4KC4V6A.js';
|
|
33
35
|
import './chunk-ZVDN3GRI.js';
|
|
34
|
-
export { Table } from './chunk-
|
|
36
|
+
export { Table } from './chunk-7RQQASKS.js';
|
|
37
|
+
import './chunk-CZBCGLEM.js';
|
|
35
38
|
export { VisuallyHidden } from './chunk-Z4PN6B2C.js';
|
|
36
39
|
export { Slider } from './chunk-P5C2U5ZF.js';
|
|
37
40
|
export { DatePicker } from './chunk-UX42PQLT.js';
|
|
38
41
|
export { Calendar } from './chunk-5SBKZS56.js';
|
|
39
42
|
import './chunk-OXYP34CG.js';
|
|
40
|
-
export { Picker } from './chunk-
|
|
43
|
+
export { Picker } from './chunk-WDWTQKIJ.js';
|
|
44
|
+
import './chunk-T76YSNTZ.js';
|
|
41
45
|
import './chunk-4HRNRTXI.js';
|
|
42
46
|
import './chunk-YUHS5S5Y.js';
|
|
43
|
-
export { Listbox } from './chunk-TVI5AXLE.js';
|
|
44
|
-
import './chunk-CZBCGLEM.js';
|
|
45
|
-
import './chunk-T76YSNTZ.js';
|
|
46
47
|
export { Icon } from './chunk-ASNTNTJW.js';
|
|
47
48
|
import './chunk-MI4QUKQS.js';
|
|
48
49
|
//# sourceMappingURL=index.js.map
|
package/dist/picker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Picker } from './chunk-
|
|
1
|
+
export { Picker } from './chunk-WDWTQKIJ.js';
|
|
2
|
+
import './chunk-T76YSNTZ.js';
|
|
2
3
|
import './chunk-4HRNRTXI.js';
|
|
3
4
|
import './chunk-YUHS5S5Y.js';
|
|
4
|
-
import './chunk-T76YSNTZ.js';
|
|
5
5
|
import './chunk-ASNTNTJW.js';
|
|
6
6
|
import './chunk-MI4QUKQS.js';
|
|
7
7
|
//# sourceMappingURL=picker.js.map
|
package/dist/sheet.css
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* src/dialog/Dialog.module.css */
|
|
2
|
+
@layer components {
|
|
3
|
+
.Dialog_root {
|
|
4
|
+
--modal-bg: var(--dialog-surface);
|
|
5
|
+
--modal-surface-elevated: var(--dialog-surface);
|
|
6
|
+
--modal-surface-subtle: var(--dialog-surface-subtle);
|
|
7
|
+
--modal-color: var(--dialog-fg);
|
|
8
|
+
--modal-text-secondary: var(--dialog-fg-muted);
|
|
9
|
+
--modal-text-muted: var(--dialog-fg-muted);
|
|
10
|
+
--modal-backdrop-bg: var(--dialog-backdrop);
|
|
11
|
+
--modal-border-primary-color: var(--dialog-border);
|
|
12
|
+
--modal-border-hover-color: var(--dialog-border-hover);
|
|
13
|
+
--modal-border-focus-color: var(--dialog-focus);
|
|
14
|
+
--modal-border-accent-color: var(--dialog-border);
|
|
15
|
+
--modal-radius: var(--dialog-radius);
|
|
16
|
+
--modal-radius-md: var(--dialog-radius);
|
|
17
|
+
--modal-radius-sm: var(--radius-control);
|
|
18
|
+
--modal-button-radius: var(--radius-control);
|
|
19
|
+
--modal-shadow: var(--dialog-shadow);
|
|
20
|
+
--modal-padding: var(--dialog-padding);
|
|
21
|
+
--modal-spacing-xs: var(--space-1);
|
|
22
|
+
--modal-spacing-sm: var(--space-2);
|
|
23
|
+
--modal-spacing-md: var(--dialog-gap);
|
|
24
|
+
--modal-spacing-lg: var(--space-4);
|
|
25
|
+
--modal-spacing-xl: var(--space-5);
|
|
26
|
+
--modal-font-family: var(--dialog-font-family);
|
|
27
|
+
--modal-font-family-mono: var(--font-family-mono);
|
|
28
|
+
--modal-font-size-title: var(--dialog-title-font-size);
|
|
29
|
+
--modal-font-size-title-mobile: var(--dialog-title-font-size);
|
|
30
|
+
--modal-font-weight-title: var(--dialog-title-font-weight);
|
|
31
|
+
--modal-font-size-description: var(--dialog-description-font-size);
|
|
32
|
+
--modal-font-size-description-mobile: var(--dialog-description-font-size);
|
|
33
|
+
--modal-font-size-button: var(--font-size-sm);
|
|
34
|
+
--modal-close-bg: var(--dialog-close-bg);
|
|
35
|
+
--modal-close-hover-bg: var(--dialog-close-bg-hover);
|
|
36
|
+
--modal-close-text: var(--dialog-close-fg);
|
|
37
|
+
--modal-close-hover-text: var(--dialog-close-fg-hover);
|
|
38
|
+
--modal-interactive-hover: var(--color-action-secondary-hover);
|
|
39
|
+
--modal-interactive-active: var(--color-action-secondary-hover);
|
|
40
|
+
--modal-interactive-focus: var(--color-action-primary-quiet);
|
|
41
|
+
--modal-transition-duration: var(--dialog-motion-duration);
|
|
42
|
+
--modal-transition-easing: var(--dialog-motion-easing);
|
|
43
|
+
--modal-outline-width: var(--focus-ring-width);
|
|
44
|
+
--modal-outline-offset: var(--focus-ring-offset);
|
|
45
|
+
--modal-button-focus-color: var(--dialog-focus);
|
|
46
|
+
--modal-button-primary-bg: var(--color-action-primary);
|
|
47
|
+
--modal-button-primary-border: var(--color-action-primary);
|
|
48
|
+
--modal-button-primary-color: var(--color-text-on-action);
|
|
49
|
+
--modal-button-primary-hover-bg: var(--color-action-primary-hover);
|
|
50
|
+
--modal-button-primary-hover-border: var(--color-action-primary-hover);
|
|
51
|
+
--modal-button-primary-active-bg: var(--color-action-primary-active);
|
|
52
|
+
--modal-button-primary-active-border: var(--color-action-primary-active);
|
|
53
|
+
--modal-button-secondary-bg: var(--color-action-secondary);
|
|
54
|
+
--modal-button-secondary-border: var(--color-border-default);
|
|
55
|
+
--modal-button-secondary-color: var(--color-text-default);
|
|
56
|
+
--modal-button-secondary-hover-bg: var(--color-action-secondary-hover);
|
|
57
|
+
--modal-button-secondary-hover-border: var(--color-border-strong);
|
|
58
|
+
--modal-button-secondary-active-bg: var(--color-action-secondary-hover);
|
|
59
|
+
--modal-button-secondary-active-border: var(--color-border-strong);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* src/sheet/Sheet.module.css */
|
|
64
|
+
@layer components {
|
|
65
|
+
.Sheet_content {
|
|
66
|
+
--modal-width-sheet: var(--sheet-width);
|
|
67
|
+
--modal-height-sheet: var(--sheet-height);
|
|
68
|
+
--modal-animation-translate-sheet: var(--sheet-motion-translate);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/*# sourceMappingURL=sheet.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/dialog/Dialog.module.css","../src/sheet/Sheet.module.css"],"sourcesContent":["/*\n * The vendor (@pearpages/modals) reads --modal-* custom properties. This class\n * goes on the portal element pulp owns, so every dialog inherits pulp's\n * --dialog-* tokens and the vendor's :root defaults never apply.\n */\n\n@layer components {\n .root {\n --modal-bg: var(--dialog-surface);\n --modal-surface-elevated: var(--dialog-surface);\n --modal-surface-subtle: var(--dialog-surface-subtle);\n --modal-color: var(--dialog-fg);\n --modal-text-secondary: var(--dialog-fg-muted);\n --modal-text-muted: var(--dialog-fg-muted);\n --modal-backdrop-bg: var(--dialog-backdrop);\n --modal-border-primary-color: var(--dialog-border);\n --modal-border-hover-color: var(--dialog-border-hover);\n --modal-border-focus-color: var(--dialog-focus);\n --modal-border-accent-color: var(--dialog-border);\n --modal-radius: var(--dialog-radius);\n --modal-radius-md: var(--dialog-radius);\n --modal-radius-sm: var(--radius-control);\n --modal-button-radius: var(--radius-control);\n --modal-shadow: var(--dialog-shadow);\n --modal-padding: var(--dialog-padding);\n --modal-spacing-xs: var(--space-1);\n --modal-spacing-sm: var(--space-2);\n --modal-spacing-md: var(--dialog-gap);\n --modal-spacing-lg: var(--space-4);\n --modal-spacing-xl: var(--space-5);\n --modal-font-family: var(--dialog-font-family);\n --modal-font-family-mono: var(--font-family-mono);\n --modal-font-size-title: var(--dialog-title-font-size);\n --modal-font-size-title-mobile: var(--dialog-title-font-size);\n --modal-font-weight-title: var(--dialog-title-font-weight);\n --modal-font-size-description: var(--dialog-description-font-size);\n --modal-font-size-description-mobile: var(--dialog-description-font-size);\n --modal-font-size-button: var(--font-size-sm);\n --modal-close-bg: var(--dialog-close-bg);\n --modal-close-hover-bg: var(--dialog-close-bg-hover);\n --modal-close-text: var(--dialog-close-fg);\n --modal-close-hover-text: var(--dialog-close-fg-hover);\n --modal-interactive-hover: var(--color-action-secondary-hover);\n --modal-interactive-active: var(--color-action-secondary-hover);\n --modal-interactive-focus: var(--color-action-primary-quiet);\n --modal-transition-duration: var(--dialog-motion-duration);\n --modal-transition-easing: var(--dialog-motion-easing);\n --modal-outline-width: var(--focus-ring-width);\n --modal-outline-offset: var(--focus-ring-offset);\n --modal-button-focus-color: var(--dialog-focus);\n --modal-button-primary-bg: var(--color-action-primary);\n --modal-button-primary-border: var(--color-action-primary);\n --modal-button-primary-color: var(--color-text-on-action);\n --modal-button-primary-hover-bg: var(--color-action-primary-hover);\n --modal-button-primary-hover-border: var(--color-action-primary-hover);\n --modal-button-primary-active-bg: var(--color-action-primary-active);\n --modal-button-primary-active-border: var(--color-action-primary-active);\n --modal-button-secondary-bg: var(--color-action-secondary);\n --modal-button-secondary-border: var(--color-border-default);\n --modal-button-secondary-color: var(--color-text-default);\n --modal-button-secondary-hover-bg: var(--color-action-secondary-hover);\n --modal-button-secondary-hover-border: var(--color-border-strong);\n --modal-button-secondary-active-bg: var(--color-action-secondary-hover);\n --modal-button-secondary-active-border: var(--color-border-strong);\n }\n}\n","/*\n * The vendor (@pearpages/modals) docks the dialog and sizes it from three variables it declares on\n * :root. This class sits on the dialog element itself, so its own declarations beat the inherited\n * :root defaults whatever the cascade layer or import order: no specificity fight with the\n * vendor's unlayered rules, which only *read* these. Colour, type and motion timing come from\n * Dialog's mapping on the portal root.\n */\n\n@layer components {\n .content {\n --modal-width-sheet: var(--sheet-width);\n --modal-height-sheet: var(--sheet-height);\n --modal-animation-translate-sheet: var(--sheet-motion-translate);\n }\n}\n"],"mappings":";AAMA;AACE,GAACA;AACC,gBAAY,IAAI;AAChB,8BAA0B,IAAI;AAC9B,4BAAwB,IAAI;AAC5B,mBAAe,IAAI;AACnB,4BAAwB,IAAI;AAC5B,wBAAoB,IAAI;AACxB,yBAAqB,IAAI;AACzB,kCAA8B,IAAI;AAClC,gCAA4B,IAAI;AAChC,gCAA4B,IAAI;AAChC,iCAA6B,IAAI;AACjC,oBAAgB,IAAI;AACpB,uBAAmB,IAAI;AACvB,uBAAmB,IAAI;AACvB,2BAAuB,IAAI;AAC3B,oBAAgB,IAAI;AACpB,qBAAiB,IAAI;AACrB,wBAAoB,IAAI;AACxB,wBAAoB,IAAI;AACxB,wBAAoB,IAAI;AACxB,wBAAoB,IAAI;AACxB,wBAAoB,IAAI;AACxB,yBAAqB,IAAI;AACzB,8BAA0B,IAAI;AAC9B,6BAAyB,IAAI;AAC7B,oCAAgC,IAAI;AACpC,+BAA2B,IAAI;AAC/B,mCAA+B,IAAI;AACnC,0CAAsC,IAAI;AAC1C,8BAA0B,IAAI;AAC9B,sBAAkB,IAAI;AACtB,4BAAwB,IAAI;AAC5B,wBAAoB,IAAI;AACxB,8BAA0B,IAAI;AAC9B,+BAA2B,IAAI;AAC/B,gCAA4B,IAAI;AAChC,+BAA2B,IAAI;AAC/B,iCAA6B,IAAI;AACjC,+BAA2B,IAAI;AAC/B,2BAAuB,IAAI;AAC3B,4BAAwB,IAAI;AAC5B,gCAA4B,IAAI;AAChC,+BAA2B,IAAI;AAC/B,mCAA+B,IAAI;AACnC,kCAA8B,IAAI;AAClC,qCAAiC,IAAI;AACrC,yCAAqC,IAAI;AACzC,sCAAkC,IAAI;AACtC,0CAAsC,IAAI;AAC1C,iCAA6B,IAAI;AACjC,qCAAiC,IAAI;AACrC,oCAAgC,IAAI;AACpC,uCAAmC,IAAI;AACvC,2CAAuC,IAAI;AAC3C,wCAAoC,IAAI;AACxC,4CAAwC,IAAI;AAC9C;AACF;;;ACzDA;AACE,GAACC;AACC,yBAAqB,IAAI;AACzB,0BAAsB,IAAI;AAC1B,uCAAmC,IAAI;AACzC;AACF;","names":["root","content"]}
|
package/dist/sheet.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as _pearpages_modals from '@pearpages/modals';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { DialogProps, Dialog } from './dialog.js';
|
|
5
|
+
|
|
6
|
+
type SheetProps = DialogProps;
|
|
7
|
+
/** The edge a sheet docks to. `start` and `end` follow the writing direction. */
|
|
8
|
+
type SheetPlacement = 'start' | 'end' | 'top' | 'bottom';
|
|
9
|
+
interface SheetContentProps extends Omit<ComponentProps<typeof Dialog.Content>, 'placement'> {
|
|
10
|
+
/**
|
|
11
|
+
* The edge the sheet docks to. `start` and `end` take `--sheet-width` and the full height;
|
|
12
|
+
* `top` and `bottom` take the full width and `--sheet-height`. There is no `center`: a centred
|
|
13
|
+
* sheet is a Dialog.
|
|
14
|
+
* @default 'end'
|
|
15
|
+
*/
|
|
16
|
+
placement?: SheetPlacement;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A dialog docked to an edge of the viewport: a side panel for detail or settings that keeps the
|
|
20
|
+
* page in view, or a bottom sheet on a phone. It is Dialog with a `placement`: the same parts
|
|
21
|
+
* (`Sheet.Trigger`, `Sheet.Content`, `Sheet.Header`, `Sheet.Title`, `Sheet.Description`,
|
|
22
|
+
* `Sheet.Close`, `Sheet.Body`, `Sheet.Footer`), the same focus trap, stacking and dismissal, and
|
|
23
|
+
* the same colours and type, from Dialog's tokens. Only the size is Sheet's: `--sheet-width`,
|
|
24
|
+
* `--sheet-height` and `--sheet-motion-translate`, the distance it slides in from its edge.
|
|
25
|
+
*
|
|
26
|
+
* It needs what Dialog needs: `DialogSystem` mounted once near the app root, and
|
|
27
|
+
* `@pearpages/modals/styles.css` imported into the `vendor` layer.
|
|
28
|
+
*
|
|
29
|
+
* @status experimental
|
|
30
|
+
* @category Overlays
|
|
31
|
+
* @accessibility Dialog's: `role="dialog"` with `aria-modal`, named by `Sheet.Title` and described by `Sheet.Description`; focus moves in on open, is trapped, and returns to the trigger on close; Escape and the backdrop dismiss it; the page behind is inert. Docking changes the layout only, never the semantics.
|
|
32
|
+
* @do Always render a `Sheet.Title`.
|
|
33
|
+
* @do Dock to `end` for detail and settings beside the page, and to `bottom` for choices on a narrow screen.
|
|
34
|
+
* @dont Use it for a short confirmation; a centred Dialog reads as more urgent and takes less room.
|
|
35
|
+
* @dont Put the page's primary content in a sheet: it is modal, so everything behind it is out of reach.
|
|
36
|
+
*/
|
|
37
|
+
declare function Sheet(props: SheetProps): react.JSX.Element;
|
|
38
|
+
declare namespace Sheet {
|
|
39
|
+
var displayName: string;
|
|
40
|
+
var Trigger: react.FC<_pearpages_modals.ModalTriggerProps>;
|
|
41
|
+
var Content: typeof SheetContent;
|
|
42
|
+
var Header: react.FC<_pearpages_modals.ModalHeaderProps>;
|
|
43
|
+
var Title: react.FC<_pearpages_modals.ModalTitleProps>;
|
|
44
|
+
var Description: react.FC<_pearpages_modals.ModalDescriptionProps>;
|
|
45
|
+
var Close: react.FC<_pearpages_modals.ModalCloseProps>;
|
|
46
|
+
var Body: react.FC<_pearpages_modals.ModalBodyProps>;
|
|
47
|
+
var Footer: react.FC<_pearpages_modals.ModalFooterProps>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The docked dialog element. Dialog's `Content`, with `placement` and the class that maps pulp's
|
|
51
|
+
* `--sheet-*` tokens onto the vendor's sheet variables.
|
|
52
|
+
*/
|
|
53
|
+
declare function SheetContent({ placement, className, ...rest }: SheetContentProps): react.JSX.Element;
|
|
54
|
+
declare namespace SheetContent {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { Sheet, type SheetContentProps, type SheetPlacement, type SheetProps };
|
package/dist/sheet.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"sheet.js"}
|
package/dist/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Table } from './chunk-
|
|
2
|
-
import './chunk-Z4PN6B2C.js';
|
|
1
|
+
export { Table } from './chunk-7RQQASKS.js';
|
|
3
2
|
import './chunk-CZBCGLEM.js';
|
|
3
|
+
import './chunk-Z4PN6B2C.js';
|
|
4
4
|
import './chunk-MI4QUKQS.js';
|
|
5
5
|
//# sourceMappingURL=table.js.map
|
|
6
6
|
//# sourceMappingURL=table.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pearpages/pulp-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "pulp React components. Accessible, token-driven, CSS modules, one entry per component.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Pere Pages <hello@pearpages.com> (https://pearpages.com)",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
24
|
"import": "./dist/index.js"
|
|
25
25
|
},
|
|
26
|
+
"./sheet": {
|
|
27
|
+
"types": "./dist/sheet.d.ts",
|
|
28
|
+
"import": "./dist/sheet.js"
|
|
29
|
+
},
|
|
26
30
|
"./pagination": {
|
|
27
31
|
"types": "./dist/pagination.d.ts",
|
|
28
32
|
"import": "./dist/pagination.js"
|
|
@@ -168,6 +172,7 @@
|
|
|
168
172
|
"import": "./dist/button.js"
|
|
169
173
|
},
|
|
170
174
|
"./styles.css": "./dist/index.css",
|
|
175
|
+
"./sheet.css": "./dist/sheet.css",
|
|
171
176
|
"./pagination.css": "./dist/pagination.css",
|
|
172
177
|
"./table.css": "./dist/table.css",
|
|
173
178
|
"./slider.css": "./dist/slider.css",
|
|
@@ -210,7 +215,7 @@
|
|
|
210
215
|
"peerDependencies": {
|
|
211
216
|
"react": "^19.0.0",
|
|
212
217
|
"react-dom": "^19.0.0",
|
|
213
|
-
"@pearpages/pulp-tokens": "^0.
|
|
218
|
+
"@pearpages/pulp-tokens": "^0.2.0"
|
|
214
219
|
},
|
|
215
220
|
"devDependencies": {
|
|
216
221
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -232,7 +237,7 @@
|
|
|
232
237
|
"typescript": "^5.9.3",
|
|
233
238
|
"vitest": "^4.1.11",
|
|
234
239
|
"vitest-axe": "^0.1.0",
|
|
235
|
-
"@pearpages/pulp-tokens": "0.
|
|
240
|
+
"@pearpages/pulp-tokens": "0.2.0"
|
|
236
241
|
},
|
|
237
242
|
"peerDependenciesMeta": {
|
|
238
243
|
"@pearpages/pulp-tokens": {
|
|
@@ -242,7 +247,7 @@
|
|
|
242
247
|
"dependencies": {
|
|
243
248
|
"@floating-ui/react-dom": "^2.1.9",
|
|
244
249
|
"@internationalized/date": "^3.12.4",
|
|
245
|
-
"@pearpages/modals": "^0.
|
|
250
|
+
"@pearpages/modals": "^0.3.0",
|
|
246
251
|
"react-aria-components": "^1.21.1",
|
|
247
252
|
"@pearpages/pulp-icons": "^0.1.0"
|
|
248
253
|
},
|
|
@@ -255,7 +260,7 @@
|
|
|
255
260
|
"test:dist": "vitest run --config vitest.dist.config.ts",
|
|
256
261
|
"manifest": "node scripts/manifest.mjs",
|
|
257
262
|
"scaffold": "node scripts/scaffold-component.mjs",
|
|
258
|
-
"check:package": "publint && attw --pack . --profile esm-only --exclude-entrypoints styles.css button.css text-field.css card.css tabs.css dialog.css text.css heading.css icon.css visually-hidden.css stack.css inline.css field.css icon-button.css checkbox.css switch.css radio.css textarea.css select.css spinner.css badge.css alert.css toast.css progress.css skeleton.css tooltip.css popover.css accordion.css menu.css combobox.css listbox.css picker.css calendar.css date-picker.css slider.css table.css pagination.css component-manifest.json",
|
|
263
|
+
"check:package": "publint && attw --pack . --profile esm-only --exclude-entrypoints styles.css button.css text-field.css card.css tabs.css dialog.css text.css heading.css icon.css visually-hidden.css stack.css inline.css field.css icon-button.css checkbox.css switch.css radio.css textarea.css select.css spinner.css badge.css alert.css toast.css progress.css skeleton.css tooltip.css popover.css accordion.css menu.css combobox.css listbox.css picker.css calendar.css date-picker.css slider.css table.css pagination.css sheet.css component-manifest.json",
|
|
259
264
|
"check:size": "size-limit"
|
|
260
265
|
}
|
|
261
266
|
}
|